ML in SE: move embeddings to a separate module

GitOrigin-RevId: aa8384f0b5a5aa68eb131c31358bed3be45b6155
This commit is contained in:
Svetlana.Zemlyanskaya
2023-10-03 18:01:17 +00:00
committed by intellij-monorepo-bot
parent a033d45d31
commit dabb191a75
29 changed files with 480 additions and 427 deletions
+1
View File
@@ -937,6 +937,7 @@
<module fileurl="file://$PROJECT_DIR$/platform/platform-main/intellij.platform.main.iml" filepath="$PROJECT_DIR$/platform/platform-main/intellij.platform.main.iml" />
<module fileurl="file://$PROJECT_DIR$/platform/markdown-utils/intellij.platform.markdown.utils.iml" filepath="$PROJECT_DIR$/platform/markdown-utils/intellij.platform.markdown.utils.iml" />
<module fileurl="file://$PROJECT_DIR$/platform/ml-api/intellij.platform.ml.iml" filepath="$PROJECT_DIR$/platform/ml-api/intellij.platform.ml.iml" />
<module fileurl="file://$PROJECT_DIR$/platform/ml-embeddings/intellij.platform.ml.embeddings.iml" filepath="$PROJECT_DIR$/platform/ml-embeddings/intellij.platform.ml.embeddings.iml" />
<module fileurl="file://$PROJECT_DIR$/platform/ml-impl/intellij.platform.ml.impl.iml" filepath="$PROJECT_DIR$/platform/ml-impl/intellij.platform.ml.impl.iml" />
<module fileurl="file://$PROJECT_DIR$/platform/object-serializer/intellij.platform.objectSerializer.iml" filepath="$PROJECT_DIR$/platform/object-serializer/intellij.platform.objectSerializer.iml" />
<module fileurl="file://$PROJECT_DIR$/platform/object-serializer/intellij.platform.objectSerializer.annotations.iml" filepath="$PROJECT_DIR$/platform/object-serializer/intellij.platform.objectSerializer.annotations.iml" />
@@ -13,6 +13,7 @@
<module name="intellij.platform.images.copyright"/>
<module name="intellij.xml.xmlbeans"/>
<module name="intellij.platform.ide.newUiOnboarding"/>
<module name="intellij.platform.ml.embeddings"/>
</content>
<extensions defaultExtensionNs="com.intellij">
@@ -0,0 +1,411 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="kotlin-stdlib" level="project" />
<orderEntry type="library" name="jackson" level="project" />
<orderEntry type="library" name="jackson-databind" level="project" />
<orderEntry type="library" name="jackson-module-kotlin" level="project" />
<orderEntry type="module-library">
<library name="ai.grazie.utils.common" type="repository">
<properties include-transitive-deps="false" jar-repository-id="GraziePlatform" maven-id="ai.grazie.utils:utils-common-jvm:0.2.193">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/ai/grazie/utils/utils-common-jvm/0.2.193/utils-common-jvm-0.2.193.jar">
<sha256sum>e79840bf4b88615335b93d7985d072d0509f204630acc747fb4d5f72276fb033</sha256sum>
</artifact>
</verification>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/ai/grazie/utils/utils-common-jvm/0.2.193/utils-common-jvm-0.2.193.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/ai/grazie/utils/utils-common-jvm/0.2.193/utils-common-jvm-0.2.193-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="ai.grazie.utils.ki" type="repository">
<properties include-transitive-deps="false" jar-repository-id="GraziePlatform" maven-id="ai.grazie.utils:utils-ki-jvm:0.2.193">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/ai/grazie/utils/utils-ki-jvm/0.2.193/utils-ki-jvm-0.2.193.jar">
<sha256sum>319198acfc325cd1bd58c86f2e29101089e5acd01fbe5a77ef5f0b5dc9aaed0f</sha256sum>
</artifact>
</verification>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/ai/grazie/utils/utils-ki-jvm/0.2.193/utils-ki-jvm-0.2.193.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/ai/grazie/utils/utils-ki-jvm/0.2.193/utils-ki-jvm-0.2.193-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="ai.grazie.model.nlp.encoder" type="repository">
<properties include-transitive-deps="false" jar-repository-id="GraziePlatform" maven-id="ai.grazie.model:model-nlp-jvm:0.2.193">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/ai/grazie/model/model-nlp-jvm/0.2.193/model-nlp-jvm-0.2.193.jar">
<sha256sum>12b25338d86edb40206b0f8e7ccd2af5b3a732a7d45d87484da51492b966e8ea</sha256sum>
</artifact>
</verification>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/ai/grazie/model/model-nlp-jvm/0.2.193/model-nlp-jvm-0.2.193.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/ai/grazie/model/model-nlp-jvm/0.2.193/model-nlp-jvm-0.2.193-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library" exported="">
<library name="ai.grazie.emb" type="repository">
<properties include-transitive-deps="false" jar-repository-id="GraziePlatform" maven-id="ai.grazie.model:model-emb-jvm:0.2.193">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/ai/grazie/model/model-emb-jvm/0.2.193/model-emb-jvm-0.2.193.jar">
<sha256sum>6ab9ed92053651a77c80e33e2308791858c20908f3008499c288ddb8c2aea4c8</sha256sum>
</artifact>
</verification>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/ai/grazie/model/model-emb-jvm/0.2.193/model-emb-jvm-0.2.193.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/ai/grazie/model/model-emb-jvm/0.2.193/model-emb-jvm-0.2.193-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="ai.grazie.nlp.encoder" type="repository">
<properties include-transitive-deps="false" jar-repository-id="GraziePlatform" maven-id="ai.grazie.nlp:nlp-encoder-engine-jvm:0.2.193">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/ai/grazie/nlp/nlp-encoder-engine-jvm/0.2.193/nlp-encoder-engine-jvm-0.2.193.jar">
<sha256sum>189ce05d2f1180b77c34a0e96af8ab17fe31786584397d39927baedd63e5fa91</sha256sum>
</artifact>
</verification>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/ai/grazie/nlp/nlp-encoder-engine-jvm/0.2.193/nlp-encoder-engine-jvm-0.2.193.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/ai/grazie/nlp/nlp-encoder-engine-jvm/0.2.193/nlp-encoder-engine-jvm-0.2.193-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="ai.grazie.nlp.encoder.bert.uncased" type="repository">
<properties include-transitive-deps="false" jar-repository-id="GraziePlatform" maven-id="ai.grazie.nlp:nlp-encoder-bert-base-uncased-jvm:0.2.193">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/ai/grazie/nlp/nlp-encoder-bert-base-uncased-jvm/0.2.193/nlp-encoder-bert-base-uncased-jvm-0.2.193.jar">
<sha256sum>25bc178c5ac2ff702378f568835d2eb5debc158a75a69316fb979112e77fb36e</sha256sum>
</artifact>
</verification>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/ai/grazie/nlp/nlp-encoder-bert-base-uncased-jvm/0.2.193/nlp-encoder-bert-base-uncased-jvm-0.2.193.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/ai/grazie/nlp/nlp-encoder-bert-base-uncased-jvm/0.2.193/nlp-encoder-bert-base-uncased-jvm-0.2.193-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="kinference.api.jvm" type="repository">
<properties include-transitive-deps="false" maven-id="io.kinference:inference-api-jvm:0.2.15">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/io/kinference/inference-api-jvm/0.2.15/inference-api-jvm-0.2.15.jar">
<sha256sum>34f83ed0bf75767fb6f0dc75511eb3a432735aa4928f97f33d605383e9c810f5</sha256sum>
</artifact>
</verification>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/inference-api-jvm/0.2.15/inference-api-jvm-0.2.15.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/inference-api-jvm/0.2.15/inference-api-jvm-0.2.15-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="kinference.core.jvm" type="repository">
<properties include-transitive-deps="false" maven-id="io.kinference:inference-core-jvm:0.2.15">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/io/kinference/inference-core-jvm/0.2.15/inference-core-jvm-0.2.15.jar">
<sha256sum>6f4aa8bbd638c4b13683998ad75f7b668e8b9c884f409a9d4b4c3fb41fa1b17f</sha256sum>
</artifact>
</verification>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/inference-core-jvm/0.2.15/inference-core-jvm-0.2.15.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/inference-core-jvm/0.2.15/inference-core-jvm-0.2.15-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="kinference.ndarray.api.jvm" type="repository">
<properties include-transitive-deps="false" maven-id="io.kinference:ndarray-api-jvm:0.2.15">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/io/kinference/ndarray-api-jvm/0.2.15/ndarray-api-jvm-0.2.15.jar">
<sha256sum>735b3b100405d24a2a7fdb16e604f313fe1f34e2f846f98d44e0f3b1a8475cb4</sha256sum>
</artifact>
</verification>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/ndarray-api-jvm/0.2.15/ndarray-api-jvm-0.2.15.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/ndarray-api-jvm/0.2.15/ndarray-api-jvm-0.2.15-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="kinference.ndarray.core.jvm" type="repository">
<properties include-transitive-deps="false" maven-id="io.kinference:ndarray-core-jvm:0.2.15">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/io/kinference/ndarray-core-jvm/0.2.15/ndarray-core-jvm-0.2.15.jar">
<sha256sum>8a07c2b12df5d29ea516cffe749c652296b7191304058088abd4f8e7c083a8a2</sha256sum>
</artifact>
</verification>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/ndarray-core-jvm/0.2.15/ndarray-core-jvm-0.2.15.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/ndarray-core-jvm/0.2.15/ndarray-core-jvm-0.2.15-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="kinference.ir.jvm" type="repository">
<properties include-transitive-deps="false" maven-id="io.kinference:inference-ir-jvm:0.2.15">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/io/kinference/inference-ir-jvm/0.2.15/inference-ir-jvm-0.2.15.jar">
<sha256sum>b7897167e5988673d584fc2c0638b631d38078e91dea6b9870c758e6b5c3e64d</sha256sum>
</artifact>
</verification>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/inference-ir-jvm/0.2.15/inference-ir-jvm-0.2.15.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/inference-ir-jvm/0.2.15/inference-ir-jvm-0.2.15-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="kinference.utils" type="repository">
<properties include-transitive-deps="false" maven-id="io.kinference:utils-common-jvm:0.2.15">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/io/kinference/utils-common-jvm/0.2.15/utils-common-jvm-0.2.15.jar">
<sha256sum>a9f01384eedab229bd22e52bfe922141af8f543d8df64c5a526871c25424992a</sha256sum>
</artifact>
</verification>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/utils-common-jvm/0.2.15/utils-common-jvm-0.2.15.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/utils-common-jvm/0.2.15/utils-common-jvm-0.2.15-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="kinference.serializer.protobuf.jvm" type="repository">
<properties include-transitive-deps="false" maven-id="io.kinference:serializer-protobuf-jvm:0.2.15">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/io/kinference/serializer-protobuf-jvm/0.2.15/serializer-protobuf-jvm-0.2.15.jar">
<sha256sum>8e9c7990b2120946da37adf24434fe3692c29919a11144fb20186c0d7169d451</sha256sum>
</artifact>
</verification>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/serializer-protobuf-jvm/0.2.15/serializer-protobuf-jvm-0.2.15.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/serializer-protobuf-jvm/0.2.15/serializer-protobuf-jvm-0.2.15-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="kinference.model.profiler.jvm" type="repository">
<properties include-transitive-deps="false" maven-id="io.kinference:model-profiler-jvm:0.2.9">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/io/kinference/model-profiler-jvm/0.2.9/model-profiler-jvm-0.2.9.jar">
<sha256sum>94d1b65da91b55b60a8c9fa5552cafe02f3cf9378f0625cf5fb726b828dc093a</sha256sum>
</artifact>
</verification>
<exclude>
<dependency maven-id="org.jetbrains.kotlin:kotlin-stdlib-jdk8" />
<dependency maven-id="org.jetbrains.kotlin:kotlin-stdlib-common" />
<dependency maven-id="org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm" />
</exclude>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/model-profiler-jvm/0.2.9/model-profiler-jvm-0.2.9.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/model-profiler-jvm/0.2.9/model-profiler-jvm-0.2.9-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="kinference.common.utils.jvm" type="repository">
<properties include-transitive-deps="false" maven-id="io.kinference:common-utils-jvm:0.2.9">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/io/kinference/common-utils-jvm/0.2.9/common-utils-jvm-0.2.9.jar">
<sha256sum>c0ae81b5992ba0a1f300c26420cfa68104f98a880b6b2b5e464ce99e366943fb</sha256sum>
</artifact>
</verification>
<exclude>
<dependency maven-id="org.jetbrains.kotlin:kotlin-stdlib-jdk8" />
<dependency maven-id="org.jetbrains.kotlin:kotlin-stdlib-common" />
<dependency maven-id="org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm" />
</exclude>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/common-utils-jvm/0.2.9/common-utils-jvm-0.2.9.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/common-utils-jvm/0.2.9/common-utils-jvm-0.2.9-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="kinference.serializer.tiled.jvm" type="repository">
<properties include-transitive-deps="false" maven-id="io.kinference:serializer-tiled-jvm:0.2.15">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/io/kinference/serializer-tiled-jvm/0.2.15/serializer-tiled-jvm-0.2.15.jar">
<sha256sum>4f98ae11fded2a81a3b27a1490b9cefdbfd673d244f37b02c2704bdb440d4782</sha256sum>
</artifact>
</verification>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/serializer-tiled-jvm/0.2.15/serializer-tiled-jvm-0.2.15.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/serializer-tiled-jvm/0.2.15/serializer-tiled-jvm-0.2.15-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="kinference.logger.jvm" type="repository">
<properties include-transitive-deps="false" maven-id="io.kinference:logger-jvm:0.2.9">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/io/kinference/logger-jvm/0.2.9/logger-jvm-0.2.9.jar">
<sha256sum>ae2ea06418f9d57f867f53ef8a4102f54f1f6a71c8309e4ebe89d2d71d682d0f</sha256sum>
</artifact>
</verification>
<exclude>
<dependency maven-id="org.jetbrains.kotlin:kotlin-stdlib-jdk8" />
<dependency maven-id="org.jetbrains.kotlin:kotlin-stdlib-common" />
<dependency maven-id="org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm" />
</exclude>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/logger-jvm/0.2.9/logger-jvm-0.2.9.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/logger-jvm/0.2.9/logger-jvm-0.2.9-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="kinference.primitives.annotations.jvm" type="repository">
<properties include-transitive-deps="false" maven-id="io.kinference.primitives:primitives-annotations-jvm:0.1.24">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/io/kinference/primitives/primitives-annotations-jvm/0.1.24/primitives-annotations-jvm-0.1.24.jar">
<sha256sum>2c5d67bd29a9082f07522643d728d887f2f93012467e05c45a2079d4e3eea8bf</sha256sum>
</artifact>
</verification>
<exclude>
<dependency maven-id="org.jetbrains.kotlin:kotlin-stdlib-jdk8" />
<dependency maven-id="org.jetbrains.kotlin:kotlin-stdlib-common" />
<dependency maven-id="org.jetbrains.kotlin:kotlin-stdlib" />
<dependency maven-id="org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm" />
</exclude>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/primitives/primitives-annotations-jvm/0.1.24/primitives-annotations-jvm-0.1.24.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/primitives/primitives-annotations-jvm/0.1.24/primitives-annotations-jvm-0.1.24-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="squareup.okio.jvm" type="repository">
<properties include-transitive-deps="false" maven-id="com.squareup.okio:okio-jvm:3.0.0">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/com/squareup/okio/okio-jvm/3.0.0/okio-jvm-3.0.0.jar">
<sha256sum>be64a0cc1f28ea9cd5c970dd7e7557af72c808d738c495b397bf897c9921e907</sha256sum>
</artifact>
</verification>
<exclude>
<dependency maven-id="org.jetbrains.kotlin:kotlin-stdlib-jdk8" />
<dependency maven-id="org.jetbrains.kotlin:kotlin-stdlib-common" />
<dependency maven-id="org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm" />
</exclude>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/com/squareup/okio/okio-jvm/3.0.0/okio-jvm-3.0.0.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/com/squareup/okio/okio-jvm/3.0.0/okio-jvm-3.0.0-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="squareup.wire.runtime.jvm" type="repository">
<properties include-transitive-deps="false" maven-id="com.squareup.wire:wire-runtime-jvm:4.3.0">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/com/squareup/wire/wire-runtime-jvm/4.3.0/wire-runtime-jvm-4.3.0.jar">
<sha256sum>821ebfe4817c132ea830ac2598953ef19e3579d53aab15018bf00b432d03aa45</sha256sum>
</artifact>
</verification>
<exclude>
<dependency maven-id="org.jetbrains.kotlin:kotlin-stdlib-jdk8" />
<dependency maven-id="org.jetbrains.kotlin:kotlin-stdlib-common" />
<dependency maven-id="org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm" />
</exclude>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/com/squareup/wire/wire-runtime-jvm/4.3.0/wire-runtime-jvm-4.3.0.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/com/squareup/wire/wire-runtime-jvm/4.3.0/wire-runtime-jvm-4.3.0-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module" module-name="intellij.platform.core" />
<orderEntry type="module" module-name="intellij.platform.projectModel.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.core" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
</component>
</module>
@@ -0,0 +1,14 @@
<idea-plugin package="com.intellij.platform.ml.embeddings">
<resource-bundle>messages.EmbeddingsBundle</resource-bundle>
<extensions defaultExtensionNs="com.intellij">
<notificationGroup id="Semantic search" displayType="STICKY_BALLOON"
bundle="messages.EmbeddingsBundle"
key="search.everywhere.ml.semantic.notification.group.name"/>
<registryKey defaultValue="0.0.3"
description="Embeddings model version"
key="search.everywhere.ml.semantic.model.version"/>
</extensions>
</idea-plugin>
@@ -0,0 +1,5 @@
ml.embeddings.artifacts.download.name=Downloading semantic search artifacts
ml.embeddings.notification.model.downloading.failed.title=Failed to download semantic search model
ml.embeddings.notification.model.downloading.failed.content=Check your internet connection
search.everywhere.ml.semantic.notification.group.name=Semantic search notifications
@@ -0,0 +1,6 @@
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.platform.ml.embeddings
import com.intellij.DynamicBundle
object EmbeddingsBundle : DynamicBundle("messages.EmbeddingsBundle")
@@ -1,4 +1,5 @@
package com.intellij.searchEverywhereMl.semantics.models
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.platform.ml.embeddings.models
import io.kinference.core.CoreBackend
import io.kinference.core.KIEngine
@@ -1,4 +1,5 @@
package com.intellij.searchEverywhereMl.semantics.models
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.platform.ml.embeddings.models
import ai.grazie.emb.FloatTextEmbedding
import ai.grazie.emb.SuspendableTextEmbeddingsService
@@ -1,4 +1,5 @@
package com.intellij.searchEverywhereMl.semantics.models
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.platform.ml.embeddings.models
import ai.grazie.nlp.encoder.PreTrainedTextEncoder
import ai.grazie.nlp.encoder.bert.uncased.BertBaseUncasedTextEncoder
@@ -1,4 +1,5 @@
package com.intellij.searchEverywhereMl.semantics.models
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.platform.ml.embeddings.models
import com.fasterxml.jackson.annotation.JsonSetter
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
@@ -1,4 +1,5 @@
package com.intellij.searchEverywhereMl.semantics.services
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.platform.ml.embeddings.services
import ai.grazie.utils.mpp.DataLoader
import ai.grazie.utils.mpp.RootDataLoader
@@ -1,5 +1,7 @@
package com.intellij.searchEverywhereMl.semantics.services
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.platform.ml.embeddings.services
import com.intellij.platform.ml.embeddings.EmbeddingsBundle
import com.intellij.notification.NotificationGroupManager
import com.intellij.notification.NotificationType
import com.intellij.openapi.application.ApplicationManager
@@ -12,7 +14,6 @@ import com.intellij.openapi.progress.*
import com.intellij.openapi.progress.impl.BackgroundableProcessIndicator
import com.intellij.openapi.util.Disposer
import com.intellij.openapi.util.registry.Registry
import com.intellij.searchEverywhereMl.semantics.SemanticSearchBundle
import com.intellij.util.concurrency.annotations.RequiresBackgroundThread
import com.intellij.util.download.DownloadableFileService
import com.intellij.util.io.Decompressor
@@ -87,7 +88,7 @@ class LocalArtifactsManager {
companion object {
const val SEMANTIC_SEARCH_RESOURCES_DIR = "semantic-search"
private val ARTIFACTS_DOWNLOAD_TASK_NAME = SemanticSearchBundle.getMessage("search.everywhere.ml.semantic.artifacts.download.name")
private val ARTIFACTS_DOWNLOAD_TASK_NAME = EmbeddingsBundle.getMessage("ml.embeddings.artifacts.download.name")
private val MODEL_VERSION = Registry.stringValue("search.everywhere.ml.semantic.model.version")
private val MAVEN_ROOT = "https://packages.jetbrains.team/maven/p/ml-search-everywhere/local-models/org/jetbrains/intellij/" +
@@ -104,8 +105,8 @@ class LocalArtifactsManager {
private fun showDownloadErrorNotification() {
NotificationGroupManager.getInstance().getNotificationGroup(NOTIFICATION_GROUP_ID)
.createNotification(
SemanticSearchBundle.getMessage("search.everywhere.ml.semantic.notification.model.downloading.failed.title"),
SemanticSearchBundle.getMessage("search.everywhere.ml.semantic.notification.model.downloading.failed.content"),
EmbeddingsBundle.getMessage("ml.embeddings.notification.model.downloading.failed.title"),
EmbeddingsBundle.getMessage("ml.embeddings.notification.model.downloading.failed.content"),
NotificationType.WARNING
)
.notify(null)
@@ -1,10 +1,11 @@
package com.intellij.searchEverywhereMl.semantics.services
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.platform.ml.embeddings.services
import com.intellij.openapi.components.Service
import com.intellij.openapi.components.service
import com.intellij.openapi.progress.runBlockingCancellable
import com.intellij.searchEverywhereMl.semantics.models.LocalEmbeddingService
import com.intellij.searchEverywhereMl.semantics.models.LocalEmbeddingServiceLoader
import com.intellij.platform.ml.embeddings.models.LocalEmbeddingService
import com.intellij.platform.ml.embeddings.models.LocalEmbeddingServiceLoader
import kotlinx.coroutines.sync.Mutex
import kotlinx.coroutines.sync.withLock
import java.lang.ref.SoftReference
@@ -15,327 +15,6 @@
<orderEntry type="library" name="caffeine" level="project" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.platform.core.ui" />
<orderEntry type="module-library">
<library name="ai.grazie.utils.common" type="repository">
<properties include-transitive-deps="false" jar-repository-id="GraziePlatform" maven-id="ai.grazie.utils:utils-common-jvm:0.2.193">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/ai/grazie/utils/utils-common-jvm/0.2.193/utils-common-jvm-0.2.193.jar">
<sha256sum>e79840bf4b88615335b93d7985d072d0509f204630acc747fb4d5f72276fb033</sha256sum>
</artifact>
</verification>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/ai/grazie/utils/utils-common-jvm/0.2.193/utils-common-jvm-0.2.193.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/ai/grazie/utils/utils-common-jvm/0.2.193/utils-common-jvm-0.2.193-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="ai.grazie.utils.ki" type="repository">
<properties include-transitive-deps="false" jar-repository-id="GraziePlatform" maven-id="ai.grazie.utils:utils-ki-jvm:0.2.193">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/ai/grazie/utils/utils-ki-jvm/0.2.193/utils-ki-jvm-0.2.193.jar">
<sha256sum>319198acfc325cd1bd58c86f2e29101089e5acd01fbe5a77ef5f0b5dc9aaed0f</sha256sum>
</artifact>
</verification>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/ai/grazie/utils/utils-ki-jvm/0.2.193/utils-ki-jvm-0.2.193.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/ai/grazie/utils/utils-ki-jvm/0.2.193/utils-ki-jvm-0.2.193-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="ai.grazie.model.nlp.encoder" type="repository">
<properties include-transitive-deps="false" jar-repository-id="GraziePlatform" maven-id="ai.grazie.model:model-nlp-jvm:0.2.193">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/ai/grazie/model/model-nlp-jvm/0.2.193/model-nlp-jvm-0.2.193.jar">
<sha256sum>12b25338d86edb40206b0f8e7ccd2af5b3a732a7d45d87484da51492b966e8ea</sha256sum>
</artifact>
</verification>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/ai/grazie/model/model-nlp-jvm/0.2.193/model-nlp-jvm-0.2.193.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/ai/grazie/model/model-nlp-jvm/0.2.193/model-nlp-jvm-0.2.193-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="ai.grazie.emb" type="repository">
<properties include-transitive-deps="false" jar-repository-id="GraziePlatform" maven-id="ai.grazie.model:model-emb-jvm:0.2.193">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/ai/grazie/model/model-emb-jvm/0.2.193/model-emb-jvm-0.2.193.jar">
<sha256sum>6ab9ed92053651a77c80e33e2308791858c20908f3008499c288ddb8c2aea4c8</sha256sum>
</artifact>
</verification>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/ai/grazie/model/model-emb-jvm/0.2.193/model-emb-jvm-0.2.193.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/ai/grazie/model/model-emb-jvm/0.2.193/model-emb-jvm-0.2.193-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="ai.grazie.nlp.encoder" type="repository">
<properties include-transitive-deps="false" jar-repository-id="GraziePlatform" maven-id="ai.grazie.nlp:nlp-encoder-engine-jvm:0.2.193">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/ai/grazie/nlp/nlp-encoder-engine-jvm/0.2.193/nlp-encoder-engine-jvm-0.2.193.jar">
<sha256sum>189ce05d2f1180b77c34a0e96af8ab17fe31786584397d39927baedd63e5fa91</sha256sum>
</artifact>
</verification>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/ai/grazie/nlp/nlp-encoder-engine-jvm/0.2.193/nlp-encoder-engine-jvm-0.2.193.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/ai/grazie/nlp/nlp-encoder-engine-jvm/0.2.193/nlp-encoder-engine-jvm-0.2.193-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="ai.grazie.nlp.encoder.bert.uncased" type="repository">
<properties include-transitive-deps="false" jar-repository-id="GraziePlatform" maven-id="ai.grazie.nlp:nlp-encoder-bert-base-uncased-jvm:0.2.193">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/ai/grazie/nlp/nlp-encoder-bert-base-uncased-jvm/0.2.193/nlp-encoder-bert-base-uncased-jvm-0.2.193.jar">
<sha256sum>25bc178c5ac2ff702378f568835d2eb5debc158a75a69316fb979112e77fb36e</sha256sum>
</artifact>
</verification>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/ai/grazie/nlp/nlp-encoder-bert-base-uncased-jvm/0.2.193/nlp-encoder-bert-base-uncased-jvm-0.2.193.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/ai/grazie/nlp/nlp-encoder-bert-base-uncased-jvm/0.2.193/nlp-encoder-bert-base-uncased-jvm-0.2.193-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="kinference.api.jvm" type="repository">
<properties include-transitive-deps="false" maven-id="io.kinference:inference-api-jvm:0.2.15">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/io/kinference/inference-api-jvm/0.2.15/inference-api-jvm-0.2.15.jar">
<sha256sum>34f83ed0bf75767fb6f0dc75511eb3a432735aa4928f97f33d605383e9c810f5</sha256sum>
</artifact>
</verification>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/inference-api-jvm/0.2.15/inference-api-jvm-0.2.15.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/inference-api-jvm/0.2.15/inference-api-jvm-0.2.15-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="kinference.core.jvm" type="repository">
<properties include-transitive-deps="false" maven-id="io.kinference:inference-core-jvm:0.2.15">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/io/kinference/inference-core-jvm/0.2.15/inference-core-jvm-0.2.15.jar">
<sha256sum>6f4aa8bbd638c4b13683998ad75f7b668e8b9c884f409a9d4b4c3fb41fa1b17f</sha256sum>
</artifact>
</verification>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/inference-core-jvm/0.2.15/inference-core-jvm-0.2.15.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/inference-core-jvm/0.2.15/inference-core-jvm-0.2.15-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="kinference.ndarray.api.jvm" type="repository">
<properties include-transitive-deps="false" maven-id="io.kinference:ndarray-api-jvm:0.2.15">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/io/kinference/ndarray-api-jvm/0.2.15/ndarray-api-jvm-0.2.15.jar">
<sha256sum>735b3b100405d24a2a7fdb16e604f313fe1f34e2f846f98d44e0f3b1a8475cb4</sha256sum>
</artifact>
</verification>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/ndarray-api-jvm/0.2.15/ndarray-api-jvm-0.2.15.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/ndarray-api-jvm/0.2.15/ndarray-api-jvm-0.2.15-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="kinference.ndarray.core.jvm" type="repository">
<properties include-transitive-deps="false" maven-id="io.kinference:ndarray-core-jvm:0.2.15">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/io/kinference/ndarray-core-jvm/0.2.15/ndarray-core-jvm-0.2.15.jar">
<sha256sum>8a07c2b12df5d29ea516cffe749c652296b7191304058088abd4f8e7c083a8a2</sha256sum>
</artifact>
</verification>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/ndarray-core-jvm/0.2.15/ndarray-core-jvm-0.2.15.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/ndarray-core-jvm/0.2.15/ndarray-core-jvm-0.2.15-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="kinference.ir.jvm" type="repository">
<properties include-transitive-deps="false" maven-id="io.kinference:inference-ir-jvm:0.2.15">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/io/kinference/inference-ir-jvm/0.2.15/inference-ir-jvm-0.2.15.jar">
<sha256sum>b7897167e5988673d584fc2c0638b631d38078e91dea6b9870c758e6b5c3e64d</sha256sum>
</artifact>
</verification>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/inference-ir-jvm/0.2.15/inference-ir-jvm-0.2.15.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/inference-ir-jvm/0.2.15/inference-ir-jvm-0.2.15-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="kinference.utils" type="repository">
<properties include-transitive-deps="false" maven-id="io.kinference:utils-common-jvm:0.2.15">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/io/kinference/utils-common-jvm/0.2.15/utils-common-jvm-0.2.15.jar">
<sha256sum>a9f01384eedab229bd22e52bfe922141af8f543d8df64c5a526871c25424992a</sha256sum>
</artifact>
</verification>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/utils-common-jvm/0.2.15/utils-common-jvm-0.2.15.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/utils-common-jvm/0.2.15/utils-common-jvm-0.2.15-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="kinference.serializer.protobuf.jvm" type="repository">
<properties include-transitive-deps="false" maven-id="io.kinference:serializer-protobuf-jvm:0.2.15">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/io/kinference/serializer-protobuf-jvm/0.2.15/serializer-protobuf-jvm-0.2.15.jar">
<sha256sum>8e9c7990b2120946da37adf24434fe3692c29919a11144fb20186c0d7169d451</sha256sum>
</artifact>
</verification>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/serializer-protobuf-jvm/0.2.15/serializer-protobuf-jvm-0.2.15.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/serializer-protobuf-jvm/0.2.15/serializer-protobuf-jvm-0.2.15-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="kinference.model.profiler.jvm" type="repository">
<properties include-transitive-deps="false" maven-id="io.kinference:model-profiler-jvm:0.2.9">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/io/kinference/model-profiler-jvm/0.2.9/model-profiler-jvm-0.2.9.jar">
<sha256sum>94d1b65da91b55b60a8c9fa5552cafe02f3cf9378f0625cf5fb726b828dc093a</sha256sum>
</artifact>
</verification>
<exclude>
<dependency maven-id="org.jetbrains.kotlin:kotlin-stdlib-jdk8" />
<dependency maven-id="org.jetbrains.kotlin:kotlin-stdlib-common" />
<dependency maven-id="org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm" />
</exclude>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/model-profiler-jvm/0.2.9/model-profiler-jvm-0.2.9.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/model-profiler-jvm/0.2.9/model-profiler-jvm-0.2.9-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="kinference.common.utils.jvm" type="repository">
<properties include-transitive-deps="false" maven-id="io.kinference:common-utils-jvm:0.2.9">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/io/kinference/common-utils-jvm/0.2.9/common-utils-jvm-0.2.9.jar">
<sha256sum>c0ae81b5992ba0a1f300c26420cfa68104f98a880b6b2b5e464ce99e366943fb</sha256sum>
</artifact>
</verification>
<exclude>
<dependency maven-id="org.jetbrains.kotlin:kotlin-stdlib-jdk8" />
<dependency maven-id="org.jetbrains.kotlin:kotlin-stdlib-common" />
<dependency maven-id="org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm" />
</exclude>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/common-utils-jvm/0.2.9/common-utils-jvm-0.2.9.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/common-utils-jvm/0.2.9/common-utils-jvm-0.2.9-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="kinference.serializer.tiled.jvm" type="repository">
<properties include-transitive-deps="false" maven-id="io.kinference:serializer-tiled-jvm:0.2.15">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/io/kinference/serializer-tiled-jvm/0.2.15/serializer-tiled-jvm-0.2.15.jar">
<sha256sum>4f98ae11fded2a81a3b27a1490b9cefdbfd673d244f37b02c2704bdb440d4782</sha256sum>
</artifact>
</verification>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/serializer-tiled-jvm/0.2.15/serializer-tiled-jvm-0.2.15.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/serializer-tiled-jvm/0.2.15/serializer-tiled-jvm-0.2.15-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="kinference.logger.jvm" type="repository">
<properties include-transitive-deps="false" maven-id="io.kinference:logger-jvm:0.2.9">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/io/kinference/logger-jvm/0.2.9/logger-jvm-0.2.9.jar">
<sha256sum>ae2ea06418f9d57f867f53ef8a4102f54f1f6a71c8309e4ebe89d2d71d682d0f</sha256sum>
</artifact>
</verification>
<exclude>
<dependency maven-id="org.jetbrains.kotlin:kotlin-stdlib-jdk8" />
<dependency maven-id="org.jetbrains.kotlin:kotlin-stdlib-common" />
<dependency maven-id="org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm" />
</exclude>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/logger-jvm/0.2.9/logger-jvm-0.2.9.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/logger-jvm/0.2.9/logger-jvm-0.2.9-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library" scope="TEST">
<library name="commons-math3" type="repository">
<properties include-transitive-deps="false" maven-id="org.apache.commons:commons-math3:3.6.1">
@@ -354,79 +33,10 @@
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="squareup.wire.runtime.jvm" type="repository">
<properties include-transitive-deps="false" maven-id="com.squareup.wire:wire-runtime-jvm:4.3.0">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/com/squareup/wire/wire-runtime-jvm/4.3.0/wire-runtime-jvm-4.3.0.jar">
<sha256sum>821ebfe4817c132ea830ac2598953ef19e3579d53aab15018bf00b432d03aa45</sha256sum>
</artifact>
</verification>
<exclude>
<dependency maven-id="org.jetbrains.kotlin:kotlin-stdlib-jdk8" />
<dependency maven-id="org.jetbrains.kotlin:kotlin-stdlib-common" />
<dependency maven-id="org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm" />
</exclude>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/com/squareup/wire/wire-runtime-jvm/4.3.0/wire-runtime-jvm-4.3.0.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/com/squareup/wire/wire-runtime-jvm/4.3.0/wire-runtime-jvm-4.3.0-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="squareup.okio.jvm" type="repository">
<properties include-transitive-deps="false" maven-id="com.squareup.okio:okio-jvm:3.0.0">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/com/squareup/okio/okio-jvm/3.0.0/okio-jvm-3.0.0.jar">
<sha256sum>be64a0cc1f28ea9cd5c970dd7e7557af72c808d738c495b397bf897c9921e907</sha256sum>
</artifact>
</verification>
<exclude>
<dependency maven-id="org.jetbrains.kotlin:kotlin-stdlib-jdk8" />
<dependency maven-id="org.jetbrains.kotlin:kotlin-stdlib-common" />
<dependency maven-id="org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm" />
</exclude>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/com/squareup/okio/okio-jvm/3.0.0/okio-jvm-3.0.0.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/com/squareup/okio/okio-jvm/3.0.0/okio-jvm-3.0.0-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="kinference.primitives.annotations.jvm" type="repository">
<properties include-transitive-deps="false" maven-id="io.kinference.primitives:primitives-annotations-jvm:0.1.24">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/io/kinference/primitives/primitives-annotations-jvm/0.1.24/primitives-annotations-jvm-0.1.24.jar">
<sha256sum>2c5d67bd29a9082f07522643d728d887f2f93012467e05c45a2079d4e3eea8bf</sha256sum>
</artifact>
</verification>
<exclude>
<dependency maven-id="org.jetbrains.kotlin:kotlin-stdlib-jdk8" />
<dependency maven-id="org.jetbrains.kotlin:kotlin-stdlib-common" />
<dependency maven-id="org.jetbrains.kotlin:kotlin-stdlib" />
<dependency maven-id="org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm" />
</exclude>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/primitives/primitives-annotations-jvm/0.1.24/primitives-annotations-jvm-0.1.24.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/io/kinference/primitives/primitives-annotations-jvm/0.1.24/primitives-annotations-jvm-0.1.24-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module" module-name="intellij.searchEverywhereMl" />
<orderEntry type="module" module-name="intellij.platform.statistics" />
<orderEntry type="module" module-name="intellij.platform.diagnostic.telemetry" />
<orderEntry type="library" name="opentelemetry" level="project" />
<orderEntry type="module" module-name="intellij.platform.ml.embeddings" />
</component>
</module>
@@ -1,6 +1,10 @@
<idea-plugin package="com.intellij.searchEverywhereMl.semantics">
<resource-bundle>messages.searchEverywhereMlSemanticsBundle</resource-bundle>
<dependencies>
<module name="intellij.platform.ml.embeddings"/>
</dependencies>
<extensions defaultExtensionNs="com.intellij">
<searchEverywhereMlContributorReplacementService
implementation="com.intellij.searchEverywhereMl.semantics.contributors.SearchEverywhereMlContributorReplacementServiceImpl"/>
@@ -63,10 +67,6 @@
description="Highlight semantic items in Search Everywhere"
key="search.everywhere.ml.semantic.highlight.items"/>
<registryKey defaultValue="0.0.3"
description="Semantic text search model version"
key="search.everywhere.ml.semantic.model.version"/>
<registryKey defaultValue="true"
description="Show embedding indexing progress indicator"
key="search.everywhere.ml.semantic.indexing.show.progress"/>
@@ -86,10 +86,6 @@
<registryKey defaultValue="true"
description="Restrict memory usage of semantic search indexing"
key="search.everywhere.ml.semantic.indexing.restrict.memory.usage"/>
<notificationGroup id="Semantic search" displayType="STICKY_BALLOON"
bundle="messages.searchEverywhereMlSemanticsBundle"
key="search.everywhere.ml.semantic.notification.group.name"/>
</extensions>
<extensionPoints>
@@ -11,13 +11,8 @@ search.everywhere.ml.semantic.classes.generation.label=Generating semantic searc
search.everywhere.ml.semantic.classes.scanning.label=Scanning classes for semantic indexing...
advanced.setting.search.everywhere.ml.semantic.classes.enable=Enable semantic search in the Classes tab
search.everywhere.ml.semantic.notification.group.name=Semantic search notifications
search.everywhere.ml.semantic.actions.api.authentication.failed=Remote semantic actions API authorization failed
search.everywhere.ml.semantic.open.registry=Open semantic search settings
search.everywhere.ml.semantic.indexing.low.memory=Semantic search is limited due to large project size
search.everywhere.ml.semantic.artifacts.download.name=Downloading semantic search artifacts
search.everywhere.ml.semantic.notification.model.downloading.failed.title=Failed to download semantic search model
search.everywhere.ml.semantic.notification.model.downloading.failed.content=Check your internet connection
advanced.setting.search.everywhere.ml.name=Search Everywhere
@@ -1,6 +1,8 @@
package com.intellij.searchEverywhereMl.semantics.services
import com.intellij.ide.actions.searcheverywhere.ActionSearchEverywhereContributor
import com.intellij.platform.ml.embeddings.services.LocalArtifactsManager
import com.intellij.platform.ml.embeddings.services.LocalArtifactsManager.Companion.SEMANTIC_SEARCH_RESOURCES_DIR
import com.intellij.openapi.actionSystem.ActionGroup
import com.intellij.openapi.actionSystem.ActionManager
import com.intellij.openapi.actionSystem.AnAction
@@ -19,7 +21,6 @@ import com.intellij.openapi.util.registry.Registry
import com.intellij.searchEverywhereMl.semantics.experiments.SearchEverywhereSemanticExperiments
import com.intellij.searchEverywhereMl.semantics.experiments.SearchEverywhereSemanticExperiments.SemanticSearchFeature
import com.intellij.searchEverywhereMl.semantics.indices.InMemoryEmbeddingSearchIndex
import com.intellij.searchEverywhereMl.semantics.services.LocalArtifactsManager.Companion.SEMANTIC_SEARCH_RESOURCES_DIR
import com.intellij.searchEverywhereMl.semantics.settings.SemanticSearchSettings
import com.intellij.searchEverywhereMl.semantics.utils.ScoredText
import com.intellij.searchEverywhereMl.semantics.utils.generateEmbedding
@@ -1,5 +1,6 @@
package com.intellij.searchEverywhereMl.semantics.services
import com.intellij.platform.ml.embeddings.services.LocalEmbeddingServiceProvider
import com.intellij.openapi.actionSystem.ActionManager
import com.intellij.openapi.actionSystem.impl.ActionManagerImpl
import com.intellij.openapi.application.ApplicationManager
@@ -1,5 +1,7 @@
package com.intellij.searchEverywhereMl.semantics.services
import com.intellij.platform.ml.embeddings.services.LocalArtifactsManager
import com.intellij.platform.ml.embeddings.services.LocalArtifactsManager.Companion.SEMANTIC_SEARCH_RESOURCES_DIR
import com.intellij.openapi.components.Service
import com.intellij.openapi.components.service
import com.intellij.openapi.project.Project
@@ -12,7 +14,6 @@ import com.intellij.searchEverywhereMl.semantics.SemanticSearchBundle
import com.intellij.searchEverywhereMl.semantics.indices.DiskSynchronizedEmbeddingSearchIndex
import com.intellij.searchEverywhereMl.semantics.indices.FileIndexableEntitiesProvider
import com.intellij.searchEverywhereMl.semantics.indices.IndexableEntity
import com.intellij.searchEverywhereMl.semantics.services.LocalArtifactsManager.Companion.SEMANTIC_SEARCH_RESOURCES_DIR
import com.intellij.searchEverywhereMl.semantics.settings.SemanticSearchSettings
import com.intellij.searchEverywhereMl.semantics.utils.splitIdentifierIntoTokens
import com.intellij.util.concurrency.annotations.RequiresBackgroundThread
@@ -1,5 +1,6 @@
package com.intellij.searchEverywhereMl.semantics.services
import com.intellij.platform.ml.embeddings.services.LocalArtifactsManager
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.diagnostic.Logger
import com.intellij.openapi.diagnostic.debug
@@ -9,14 +9,14 @@ import com.intellij.openapi.project.getProjectCachePath
import com.intellij.openapi.roots.ProjectFileIndex
import com.intellij.openapi.startup.ProjectActivity
import com.intellij.openapi.util.registry.Registry
import com.intellij.openapi.vfs.VfsUtilCore
import com.intellij.openapi.vfs.VirtualFile
import com.intellij.openapi.vfs.VirtualFileManager
import com.intellij.openapi.vfs.isFile
import com.intellij.platform.ml.embeddings.services.LocalArtifactsManager
import com.intellij.platform.ml.embeddings.services.LocalArtifactsManager.Companion.SEMANTIC_SEARCH_RESOURCES_DIR
import com.intellij.searchEverywhereMl.semantics.SemanticSearchBundle
import com.intellij.searchEverywhereMl.semantics.indices.DiskSynchronizedEmbeddingSearchIndex
import com.intellij.searchEverywhereMl.semantics.indices.IndexableEntity
import com.intellij.searchEverywhereMl.semantics.services.LocalArtifactsManager.Companion.SEMANTIC_SEARCH_RESOURCES_DIR
import com.intellij.searchEverywhereMl.semantics.settings.SemanticSearchSettings
import com.intellij.searchEverywhereMl.semantics.utils.splitIdentifierIntoTokens
import com.intellij.util.concurrency.annotations.RequiresBackgroundThread
@@ -1,5 +1,7 @@
package com.intellij.searchEverywhereMl.semantics.services
import com.intellij.platform.ml.embeddings.services.LocalArtifactsManager
import com.intellij.platform.ml.embeddings.services.LocalArtifactsManager.Companion.SEMANTIC_SEARCH_RESOURCES_DIR
import com.intellij.openapi.components.Service
import com.intellij.openapi.components.service
import com.intellij.openapi.project.Project
@@ -12,7 +14,6 @@ import com.intellij.searchEverywhereMl.semantics.SemanticSearchBundle
import com.intellij.searchEverywhereMl.semantics.indices.DiskSynchronizedEmbeddingSearchIndex
import com.intellij.searchEverywhereMl.semantics.indices.FileIndexableEntitiesProvider
import com.intellij.searchEverywhereMl.semantics.indices.IndexableEntity
import com.intellij.searchEverywhereMl.semantics.services.LocalArtifactsManager.Companion.SEMANTIC_SEARCH_RESOURCES_DIR
import com.intellij.searchEverywhereMl.semantics.settings.SemanticSearchSettings
import com.intellij.searchEverywhereMl.semantics.utils.splitIdentifierIntoTokens
import com.intellij.util.concurrency.annotations.RequiresBackgroundThread
@@ -1,10 +1,10 @@
package com.intellij.searchEverywhereMl.semantics.utils
import ai.grazie.emb.FloatTextEmbedding
import com.intellij.platform.ml.embeddings.services.LocalEmbeddingServiceProvider
import com.intellij.openapi.progress.EmptyProgressIndicator
import com.intellij.openapi.progress.ProgressManager
import com.intellij.openapi.progress.runBlockingCancellable
import com.intellij.searchEverywhereMl.semantics.services.LocalEmbeddingServiceProvider
import kotlin.math.sqrt
private const val SEPARATOR = "~"
@@ -16,5 +16,6 @@
<orderEntry type="module" module-name="intellij.searchEverywhereMl.semantics.kotlin" scope="TEST" />
<orderEntry type="module" module-name="intellij.kotlin.plugin.community.main" scope="TEST" />
<orderEntry type="module" module-name="intellij.searchEverywhereMl" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.ml.embeddings" />
</component>
</module>
@@ -3,9 +3,9 @@ package com.intellij.searchEverywhereMl.semantics.tests
import com.intellij.ide.actions.searcheverywhere.ActionSearchEverywhereContributor
import com.intellij.ide.actions.searcheverywhere.SearchEverywhereUI
import com.intellij.ide.util.gotoByName.GotoActionModel
import com.intellij.platform.ml.embeddings.services.LocalArtifactsManager
import com.intellij.searchEverywhereMl.semantics.contributors.SemanticActionSearchEverywhereContributor
import com.intellij.searchEverywhereMl.semantics.services.ActionEmbeddingsStorage
import com.intellij.searchEverywhereMl.semantics.services.LocalArtifactsManager
import com.intellij.searchEverywhereMl.semantics.settings.SemanticSearchSettings
import com.intellij.testFramework.PlatformTestUtil
@@ -2,13 +2,13 @@ package com.intellij.searchEverywhereMl.semantics.tests
import com.intellij.ide.actions.searcheverywhere.PsiItemWithSimilarity
import com.intellij.ide.actions.searcheverywhere.SearchEverywhereUI
import com.intellij.platform.ml.embeddings.services.LocalArtifactsManager
import com.intellij.openapi.command.WriteCommandAction
import com.intellij.psi.PsiClass
import com.intellij.psi.PsiElement
import com.intellij.searchEverywhereMl.semantics.contributors.SemanticClassSearchEverywhereContributor
import com.intellij.searchEverywhereMl.semantics.services.ClassEmbeddingsStorage
import com.intellij.searchEverywhereMl.semantics.services.IndexableClass
import com.intellij.searchEverywhereMl.semantics.services.LocalArtifactsManager
import com.intellij.searchEverywhereMl.semantics.settings.SemanticSearchSettings
import com.intellij.testFramework.PlatformTestUtil
import com.intellij.testFramework.utils.editor.saveToDisk
@@ -2,13 +2,13 @@ package com.intellij.searchEverywhereMl.semantics.tests
import com.intellij.ide.actions.searcheverywhere.PsiItemWithSimilarity
import com.intellij.ide.actions.searcheverywhere.SearchEverywhereUI
import com.intellij.platform.ml.embeddings.services.LocalArtifactsManager
import com.intellij.openapi.command.WriteCommandAction
import com.intellij.psi.PsiElement
import com.intellij.psi.PsiFile
import com.intellij.searchEverywhereMl.semantics.contributors.SemanticFileSearchEverywhereContributor
import com.intellij.searchEverywhereMl.semantics.services.FileEmbeddingsStorage
import com.intellij.searchEverywhereMl.semantics.services.IndexableClass
import com.intellij.searchEverywhereMl.semantics.services.LocalArtifactsManager
import com.intellij.searchEverywhereMl.semantics.settings.SemanticSearchSettings
import com.intellij.testFramework.PlatformTestUtil
import com.intellij.testFramework.utils.vfs.deleteRecursively
@@ -2,13 +2,13 @@ package com.intellij.searchEverywhereMl.semantics.tests
import com.intellij.ide.actions.searcheverywhere.PsiItemWithSimilarity
import com.intellij.ide.actions.searcheverywhere.SearchEverywhereUI
import com.intellij.platform.ml.embeddings.services.LocalArtifactsManager
import com.intellij.openapi.command.WriteCommandAction
import com.intellij.psi.PsiClass
import com.intellij.psi.PsiElement
import com.intellij.psi.PsiMethod
import com.intellij.searchEverywhereMl.semantics.contributors.SemanticSymbolSearchEverywhereContributor
import com.intellij.searchEverywhereMl.semantics.services.IndexableClass
import com.intellij.searchEverywhereMl.semantics.services.LocalArtifactsManager
import com.intellij.searchEverywhereMl.semantics.services.SymbolEmbeddingStorage
import com.intellij.searchEverywhereMl.semantics.settings.SemanticSearchSettings
import com.intellij.testFramework.PlatformTestUtil
@@ -8,6 +8,7 @@
<module name="intellij.notebooks.ui"/>
<module name="intellij.platform.images.copyright"/>
<module name="intellij.platform.ide.newUiOnboarding"/>
<module name="intellij.platform.ml.embeddings"/>
</content>
<xi:include href="/META-INF/pycharm-core.xml" xpointer="xpointer(/idea-plugin/*)"/>