Skip to content

Commit

Permalink
released 0.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
deep-learning-dynamo committed Jul 15, 2023
1 parent 8609ce9 commit 120c6a0
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.12.0
- LangChain4j version: e.g. 0.13.0
- Java version: e.g. 11
- Spring Boot version (if applicable): e.g. 2.7.13

Expand Down
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@ This can be achieved thanks to:
- **Auto-moderation** to ensure that all inputs and outputs to/from the LLM are not harmful.

## News

15 July:
- Added EmbeddingStoreIngestor
- Redesigned document loaders (see FileSystemDocumentLoader)
- Simplified ConversationalRetrievalChain
- Renamed DocumentSegment into TextSegment
- Added output parsers for numeric types
- Added @UserName for AI Services
- Fixed [23](https://github.com/langchain4j/langchain4j/issues/23) and [24](https://github.com/langchain4j/langchain4j/issues/24)

11 July:

- Added ["Dynamic Tools"](https://github.com/langchain4j/langchain4j-examples/blob/main/other-examples/src/main/java/ServiceWithDynamicToolsExample.java):
Expand Down Expand Up @@ -148,12 +158,12 @@ See example [here](https://github.com/langchain4j/langchain4j-examples/blob/main
<dependency>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j</artifactId>
<version>0.12.0</version>
<version>0.13.0</version>
</dependency>
```
- Gradle:
```
implementation 'dev.langchain4j:langchain4j:0.12.0'
implementation 'dev.langchain4j:langchain4j:0.13.0'
```
2. Import your OpenAI/HuggingFace API key:
Expand Down
2 changes: 1 addition & 1 deletion langchain4j-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.12.0</version>
<version>0.13.0</version>
<relativePath>../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion langchain4j-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.12.0</version>
<version>0.13.0</version>
<packaging>pom</packaging>

<name>langchain4j parent POM</name>
Expand Down
4 changes: 2 additions & 2 deletions langchain4j-pinecone/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.12.0</version>
<version>0.13.0</version>
<relativePath>../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand All @@ -23,7 +23,7 @@
<dependency>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-core</artifactId>
<version>0.12.0</version>
<version>0.13.0</version>
</dependency>

<dependency>
Expand Down
4 changes: 2 additions & 2 deletions langchain4j-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.12.0</version>
<version>0.13.0</version>
<relativePath>../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand All @@ -22,7 +22,7 @@
<dependency>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j</artifactId>
<version>0.12.0</version>
<version>0.13.0</version>
</dependency>

<dependency>
Expand Down
6 changes: 3 additions & 3 deletions langchain4j/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.12.0</version>
<version>0.13.0</version>
<relativePath>../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand All @@ -24,7 +24,7 @@
<dependency>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-core</artifactId>
<version>0.12.0</version>
<version>0.13.0</version>
</dependency>

<dependency>
Expand All @@ -40,7 +40,7 @@
<dependency>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-pinecone</artifactId>
<version>0.12.0</version>
<version>0.13.0</version>
<optional>true</optional>
</dependency>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ private static String getMessage() {
+ "<dependency>\n" +
" <groupId>dev.langchain4j</groupId>\n" +
" <artifactId>langchain4j-pinecone</artifactId>\n" +
" <version>0.12.0</version>\n" +
" <version>0.13.0</version>\n" +
"</dependency>\n\n"
+ "Gradle:\n"
+ "implementation 'dev.langchain4j:langchain4j-pinecone:0.12.0'\n";
+ "implementation 'dev.langchain4j:langchain4j-pinecone:0.13.0'\n";
}

private static EmbeddingStore<TextSegment> loadDynamically(String implementationClassName, String apiKey, String environment, String projectName, String index, String nameSpace) throws ClassNotFoundException, NoSuchMethodException, InstantiationException, IllegalAccessException, InvocationTargetException {
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-aggregator</artifactId>
<version>0.12.0</version>
<version>0.13.0</version>
<packaging>pom</packaging>

<modules>
Expand Down

0 comments on commit 120c6a0

Please sign in to comment.