From 1541f214c1f3e63fe0f7d0ec20a18e7e7c4c1f80 Mon Sep 17 00:00:00 2001 From: deep-learning-dynamo Date: Thu, 10 Aug 2023 14:34:21 +0200 Subject: [PATCH] released 0.19.0 --- .github/ISSUE_TEMPLATE/bug_report.md | 2 +- README.md | 4 ++-- langchain4j-core/pom.xml | 2 +- langchain4j-parent/pom.xml | 2 +- langchain4j-pinecone/pom.xml | 4 ++-- langchain4j-spring-boot-starter/pom.xml | 4 ++-- langchain4j-weaviate/pom.xml | 4 ++-- langchain4j/pom.xml | 4 ++-- .../model/inprocess/InProcessEmbeddingModel.java | 8 ++++---- .../store/embedding/pinecone/PineconeEmbeddingStore.java | 4 ++-- .../store/embedding/weaviate/WeaviateEmbeddingStore.java | 4 ++-- pom.xml | 2 +- 12 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 9e66c908252..90088228829 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -23,7 +23,7 @@ Please provide a relevant code snippets to reproduce this bug. A clear and concise description of what you expected to happen. **Please complete the following information:** -- LangChain4j version: e.g. 0.18.0 +- LangChain4j version: e.g. 0.19.0 - Java version: e.g. 11 - Spring Boot version (if applicable): e.g. 2.7.13 diff --git a/README.md b/README.md index 5f2766a7a10..dba2200f79e 100644 --- a/README.md +++ b/README.md @@ -168,12 +168,12 @@ See example [here](https://github.com/langchain4j/langchain4j-examples/blob/main dev.langchain4j langchain4j - 0.18.0 + 0.19.0 ``` - Gradle: ``` - implementation 'dev.langchain4j:langchain4j:0.18.0' + implementation 'dev.langchain4j:langchain4j:0.19.0' ``` 2. Import your OpenAI/HuggingFace API key: diff --git a/langchain4j-core/pom.xml b/langchain4j-core/pom.xml index a34fa7eccdf..a8008a064b3 100644 --- a/langchain4j-core/pom.xml +++ b/langchain4j-core/pom.xml @@ -7,7 +7,7 @@ dev.langchain4j langchain4j-parent - 0.18.0 + 0.19.0 ../langchain4j-parent/pom.xml diff --git a/langchain4j-parent/pom.xml b/langchain4j-parent/pom.xml index 3166cca4294..62a40ef0883 100644 --- a/langchain4j-parent/pom.xml +++ b/langchain4j-parent/pom.xml @@ -6,7 +6,7 @@ dev.langchain4j langchain4j-parent - 0.18.0 + 0.19.0 pom langchain4j parent POM diff --git a/langchain4j-pinecone/pom.xml b/langchain4j-pinecone/pom.xml index eefacafe88a..f118d3b9dcb 100644 --- a/langchain4j-pinecone/pom.xml +++ b/langchain4j-pinecone/pom.xml @@ -7,7 +7,7 @@ dev.langchain4j langchain4j-parent - 0.18.0 + 0.19.0 ../langchain4j-parent/pom.xml @@ -23,7 +23,7 @@ dev.langchain4j langchain4j-core - 0.18.0 + 0.19.0 diff --git a/langchain4j-spring-boot-starter/pom.xml b/langchain4j-spring-boot-starter/pom.xml index 138ef680f7b..1631428c856 100644 --- a/langchain4j-spring-boot-starter/pom.xml +++ b/langchain4j-spring-boot-starter/pom.xml @@ -7,7 +7,7 @@ dev.langchain4j langchain4j-parent - 0.18.0 + 0.19.0 ../langchain4j-parent/pom.xml @@ -22,7 +22,7 @@ dev.langchain4j langchain4j - 0.18.0 + 0.19.0 diff --git a/langchain4j-weaviate/pom.xml b/langchain4j-weaviate/pom.xml index a3d50c7b57e..69c794fe186 100644 --- a/langchain4j-weaviate/pom.xml +++ b/langchain4j-weaviate/pom.xml @@ -7,7 +7,7 @@ dev.langchain4j langchain4j-parent - 0.18.0 + 0.19.0 ../langchain4j-parent/pom.xml @@ -25,7 +25,7 @@ dev.langchain4j langchain4j-core - 0.18.0 + 0.19.0 diff --git a/langchain4j/pom.xml b/langchain4j/pom.xml index c2f9af92089..b4ebd4110ea 100644 --- a/langchain4j/pom.xml +++ b/langchain4j/pom.xml @@ -7,7 +7,7 @@ dev.langchain4j langchain4j-parent - 0.18.0 + 0.19.0 ../langchain4j-parent/pom.xml @@ -24,7 +24,7 @@ dev.langchain4j langchain4j-core - 0.18.0 + 0.19.0 diff --git a/langchain4j/src/main/java/dev/langchain4j/model/inprocess/InProcessEmbeddingModel.java b/langchain4j/src/main/java/dev/langchain4j/model/inprocess/InProcessEmbeddingModel.java index e947401a6b1..6a4bea3f5d6 100644 --- a/langchain4j/src/main/java/dev/langchain4j/model/inprocess/InProcessEmbeddingModel.java +++ b/langchain4j/src/main/java/dev/langchain4j/model/inprocess/InProcessEmbeddingModel.java @@ -89,11 +89,11 @@ private static String errorMessageForPrePackagedModel(InProcessEmbeddingModelTyp + "\n" + " dev.langchain4j\n" + " langchain4j-embeddings-%s\n" + - " 0.18.0\n" + + " 0.19.0\n" + "\n" + "\n" + "Gradle:\n" - + "implementation 'dev.langchain4j:langchain4j-embeddings-%s:0.18.0'\n", + + "implementation 'dev.langchain4j:langchain4j-embeddings-%s:0.19.0'\n", type.name(), type.name().replace("_", "-").toLowerCase(), type.name().replace("_", "-").toLowerCase() @@ -107,11 +107,11 @@ private static String errorMessageForCustomModel() { + "\n" + " dev.langchain4j\n" + " langchain4j-embeddings\n" + - " 0.18.0\n" + + " 0.19.0\n" + "\n" + "\n" + "Gradle:\n" - + "implementation 'dev.langchain4j:langchain4j-embeddings:0.18.0'\n"; + + "implementation 'dev.langchain4j:langchain4j-embeddings:0.19.0'\n"; } @Override diff --git a/langchain4j/src/main/java/dev/langchain4j/store/embedding/pinecone/PineconeEmbeddingStore.java b/langchain4j/src/main/java/dev/langchain4j/store/embedding/pinecone/PineconeEmbeddingStore.java index a74eefb4762..bada25c7413 100644 --- a/langchain4j/src/main/java/dev/langchain4j/store/embedding/pinecone/PineconeEmbeddingStore.java +++ b/langchain4j/src/main/java/dev/langchain4j/store/embedding/pinecone/PineconeEmbeddingStore.java @@ -51,10 +51,10 @@ private static String getMessage() { + "\n" + " dev.langchain4j\n" + " langchain4j-pinecone\n" + - " 0.18.0\n" + + " 0.19.0\n" + "\n\n" + "Gradle:\n" - + "implementation 'dev.langchain4j:langchain4j-pinecone:0.18.0'\n"; + + "implementation 'dev.langchain4j:langchain4j-pinecone:0.19.0'\n"; } private static EmbeddingStore loadDynamically(String implementationClassName, String apiKey, String environment, String project, String index, String nameSpace) throws ClassNotFoundException, NoSuchMethodException, InstantiationException, IllegalAccessException, InvocationTargetException { diff --git a/langchain4j/src/main/java/dev/langchain4j/store/embedding/weaviate/WeaviateEmbeddingStore.java b/langchain4j/src/main/java/dev/langchain4j/store/embedding/weaviate/WeaviateEmbeddingStore.java index 60396d5bf9b..5e7e6d0ebe0 100644 --- a/langchain4j/src/main/java/dev/langchain4j/store/embedding/weaviate/WeaviateEmbeddingStore.java +++ b/langchain4j/src/main/java/dev/langchain4j/store/embedding/weaviate/WeaviateEmbeddingStore.java @@ -66,10 +66,10 @@ private static String getMessage() { "\n" + " dev.langchain4j\n" + " langchain4j-weaviate\n" + - " 0.18.0\n" + + " 0.19.0\n" + "\n\n" + "Gradle:\n" + - "implementation 'dev.langchain4j:langchain4j-weaviate:0.18.0'\n" + "implementation 'dev.langchain4j:langchain4j-weaviate:0.19.0'\n" ); } diff --git a/pom.xml b/pom.xml index 5fe26b9fe74..4aad638b8db 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ dev.langchain4j langchain4j-aggregator - 0.18.0 + 0.19.0 pom