From 721a3302280805f526b853ed6bdeb07d2a95da61 Mon Sep 17 00:00:00 2001 From: deep-learning-dynamo Date: Mon, 3 Jul 2023 15:12:43 +0200 Subject: [PATCH] released 0.9.0 --- README.md | 15 +++++++++++---- langchain4j-core/pom.xml | 2 +- langchain4j-pinecone/pom.xml | 2 +- langchain4j-spring-boot-starter/pom.xml | 2 +- langchain4j/pom.xml | 4 ++-- .../store/embedding/PineconeEmbeddingStore.java | 4 ++-- pom.xml | 2 +- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index ca0805cfe..927fc8126 100644 --- a/README.md +++ b/README.md @@ -7,11 +7,14 @@ Did you hear about [LangChain](https://github.com/hwchase17/langchain) and want This library might be what you need. ## News -02.07.2023: +03.07.2023 (0.9.0): +- Added support for Spring Boot 3 + +02.07.2023 (0.8.0): - [Added Spring Boot Starter](https://github.com/langchain4j/langchain4j-examples/blob/main/spring-boot-example/src/test/java/dev/example/CustomerSupportApplicationTest.java) - Added support for HuggingFace models -01.07.2023: +01.07.2023 (0.7.0): - [Added support for OpenAI functions](https://github.com/langchain4j/langchain4j-examples/blob/main/other-examples/src/main/java/ServiceWithToolsExample.java) ## Highlights @@ -101,6 +104,10 @@ See example [here](https://github.com/langchain4j/langchain4j-examples/blob/main ## Code examples Please see more examples of how LangChain4j can be used [here](https://github.com/langchain4j/langchain4j-examples/tree/main/src/main/java). +## Compatibility +- Java: 8 or higher +- Spring Boot: 2 and 3 + ## Project goals The goal of this project is to simplify the integration of AI capabilities into your Java application. This can be achieved thanks to: @@ -199,14 +206,14 @@ Maven: dev.langchain4j langchain4j - 0.8.0 + 0.9.0 ``` Gradle: ``` -implementation 'dev.langchain4j:langchain4j:0.8.0' +implementation 'dev.langchain4j:langchain4j:0.9.0' ``` ## Request features diff --git a/langchain4j-core/pom.xml b/langchain4j-core/pom.xml index 06c89c7be..ed7fb43cf 100644 --- a/langchain4j-core/pom.xml +++ b/langchain4j-core/pom.xml @@ -6,7 +6,7 @@ dev.langchain4j langchain4j-core - 0.8.0 + 0.9.0 jar langchain4j-core diff --git a/langchain4j-pinecone/pom.xml b/langchain4j-pinecone/pom.xml index e943de326..9ce42e8cb 100644 --- a/langchain4j-pinecone/pom.xml +++ b/langchain4j-pinecone/pom.xml @@ -6,7 +6,7 @@ dev.langchain4j langchain4j-pinecone - 0.8.0 + 0.9.0 jar langchain4j-pinecone diff --git a/langchain4j-spring-boot-starter/pom.xml b/langchain4j-spring-boot-starter/pom.xml index e93e824c1..24e7a1ab7 100644 --- a/langchain4j-spring-boot-starter/pom.xml +++ b/langchain4j-spring-boot-starter/pom.xml @@ -6,7 +6,7 @@ dev.langchain4j langchain4j-spring-boot-starter - 0.8.0 + 0.9.0 jar langchain4j-spring-boot-starter diff --git a/langchain4j/pom.xml b/langchain4j/pom.xml index 1c1e5e85e..8a32b86f0 100644 --- a/langchain4j/pom.xml +++ b/langchain4j/pom.xml @@ -6,7 +6,7 @@ dev.langchain4j langchain4j - 0.8.0 + 0.9.0 jar langchain4j @@ -55,7 +55,7 @@ dev.langchain4j langchain4j-core - 0.8.0 + 0.9.0 diff --git a/langchain4j/src/main/java/dev/langchain4j/store/embedding/PineconeEmbeddingStore.java b/langchain4j/src/main/java/dev/langchain4j/store/embedding/PineconeEmbeddingStore.java index 15ff7baab..3abe064e2 100644 --- a/langchain4j/src/main/java/dev/langchain4j/store/embedding/PineconeEmbeddingStore.java +++ b/langchain4j/src/main/java/dev/langchain4j/store/embedding/PineconeEmbeddingStore.java @@ -29,10 +29,10 @@ public class PineconeEmbeddingStore implements EmbeddingStore { + "\n" + " dev.langchain4j\n" + " langchain4j-pinecone\n" + - " 0.8.0\n" + + " 0.9.0\n" + "\n\n" + "Gradle:\n" - + "implementation 'dev.langchain4j:langchain4j-pinecone:0.8.0'\n"; + + "implementation 'dev.langchain4j:langchain4j-pinecone:0.9.0'\n"; } private static EmbeddingStore loadDynamically(String implementationClassName, String apiKey, String environment, String projectName, String index, String nameSpace) throws ClassNotFoundException, NoSuchMethodException, InstantiationException, IllegalAccessException, InvocationTargetException { diff --git a/pom.xml b/pom.xml index 8aad9e02f..4d3a06fa6 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ dev.langchain4j langchain4j-parent - 0.8.0 + 0.9.0 pom