-
- $Encoder.bodyEscape($ResourceBundle.getString('llm.endPointToUse')) |
- $Encoder.bodyEscape($ENDPOINT) |
-
-
- $Encoder.bodyEscape($ResourceBundle.getString('llm.typeOfLlm')) |
- $Encoder.bodyEscape($LLMTYPE) |
-
-
-
- $Encoder.bodyEscape($ResourceBundle.getString('llm.embeddingsModelToUse')) |
- $Encoder.bodyEscape($EMBEDDINGMODEL) |
-
-
- $Encoder.bodyEscape($ResourceBundle.getString('llm.llmToUse')) |
- $Encoder.bodyEscape($LLM) |
-
-
- $Encoder.bodyEscape($ResourceBundle.getString('llm.apiKey')) |
- $Encoder.bodyEscape($APIKEY) |
-
-
- $Encoder.bodyEscape($ResourceBundle.getString('llm.vectorDimensions')) |
- $Encoder.bodyEscape($DIMENSIONS) |
-
-
diff --git a/datafari-llm-connector/src/main/resources/com/francelabs/datafari/transformation/llm/viewSpecification.html b/datafari-llm-connector/src/main/resources/com/francelabs/datafari/transformation/llm/viewSpecification.html
deleted file mode 100644
index 1864c47b5..000000000
--- a/datafari-llm-connector/src/main/resources/com/francelabs/datafari/transformation/llm/viewSpecification.html
+++ /dev/null
@@ -1,54 +0,0 @@
-
-
-
-
diff --git a/datafari-llm-connector/src/test/java/com/francelabs/datafari/transformation/llm/connectors/OpenAiLlmServiceTest.java b/datafari-llm-connector/src/test/java/com/francelabs/datafari/transformation/llm/connectors/OpenAiLlmServiceTest.java
deleted file mode 100644
index 416beb054..000000000
--- a/datafari-llm-connector/src/test/java/com/francelabs/datafari/transformation/llm/connectors/OpenAiLlmServiceTest.java
+++ /dev/null
@@ -1,38 +0,0 @@
-package com.francelabs.datafari.transformation.llm.connectors;
-
-import com.francelabs.datafari.transformation.llm.model.LlmSpecification;
-import org.junit.jupiter.api.Assertions;
-
-
-import static org.junit.jupiter.api.Assertions.*;
-class OpenAiLlmServiceTest {
-
- @org.junit.jupiter.api.Test
- void embeddings() {
-
- LlmSpecification spec = new LlmSpecification();
- spec.setEnableVectorEmbedding(true);
- String apikey = "sk-xxxxxxxxxxxxxxxxxxxxxxx";
- spec.setApiKey(apikey);
- spec.setLlmEndpoint("https://api.openai.com/v1/");
- spec.setEmbeddingsModel("text-embedding-3-small");
- spec.setVectorDimension(124);
- LlmService service = new OpenAiLlmService(spec);
-
- try {
- float[] vector = service.embeddings("« Canard » est un terme générique qui désigne des oiseaux aquatiques ansériformes, au cou court, au large bec jaune aplati, aux très courtes pattes palmées et aux longues ailes pointues, domestiqués ou non");
- System.out.println(vector);
- Assertions.assertTrue(vector.length > 100);
- } catch (Exception e) {
- System.out.println("Error in OpenAiLlmServiceTest.embeddings()" + e.getLocalizedMessage());
- }
- }
-
- @org.junit.jupiter.api.Test
- void summarize() {
- }
-
- @org.junit.jupiter.api.Test
- void categorize() {
- }
-}
\ No newline at end of file
diff --git a/datafari-mcf-connectors-dependencies/pom.xml b/datafari-mcf-connectors-dependencies/pom.xml
index 2b5464688..1f0817c92 100644
--- a/datafari-mcf-connectors-dependencies/pom.xml
+++ b/datafari-mcf-connectors-dependencies/pom.xml
@@ -4,7 +4,7 @@