released 0.9.0

This commit is contained in:
deep-learning-dynamo 2023-07-03 15:12:43 +02:00
parent 4c9cac6844
commit 721a330228
7 changed files with 19 additions and 12 deletions

View File

@ -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:
<dependency>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j</artifactId>
<version>0.8.0</version>
<version>0.9.0</version>
</dependency>
```
Gradle:
```
implementation 'dev.langchain4j:langchain4j:0.8.0'
implementation 'dev.langchain4j:langchain4j:0.9.0'
```
## Request features

View File

@ -6,7 +6,7 @@
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-core</artifactId>
<version>0.8.0</version>
<version>0.9.0</version>
<packaging>jar</packaging>
<name>langchain4j-core</name>

View File

@ -6,7 +6,7 @@
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-pinecone</artifactId>
<version>0.8.0</version>
<version>0.9.0</version>
<packaging>jar</packaging>
<name>langchain4j-pinecone</name>

View File

@ -6,7 +6,7 @@
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-spring-boot-starter</artifactId>
<version>0.8.0</version>
<version>0.9.0</version>
<packaging>jar</packaging>
<name>langchain4j-spring-boot-starter</name>

View File

@ -6,7 +6,7 @@
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j</artifactId>
<version>0.8.0</version>
<version>0.9.0</version>
<packaging>jar</packaging>
<name>langchain4j</name>
@ -55,7 +55,7 @@
<dependency>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-core</artifactId>
<version>0.8.0</version>
<version>0.9.0</version>
</dependency>
<dependency>

View File

@ -29,10 +29,10 @@ public class PineconeEmbeddingStore implements EmbeddingStore<DocumentSegment> {
+ "<dependency>\n" +
" <groupId>dev.langchain4j</groupId>\n" +
" <artifactId>langchain4j-pinecone</artifactId>\n" +
" <version>0.8.0</version>\n" +
" <version>0.9.0</version>\n" +
"</dependency>\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<DocumentSegment> loadDynamically(String implementationClassName, String apiKey, String environment, String projectName, String index, String nameSpace) throws ClassNotFoundException, NoSuchMethodException, InstantiationException, IllegalAccessException, InvocationTargetException {

View File

@ -6,7 +6,7 @@
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.8.0</version>
<version>0.9.0</version>
<packaging>pom</packaging>
<modules>