Skip to content

Commit

Permalink
released a hotfix for langchain4j#23
Browse files Browse the repository at this point in the history
  • Loading branch information
deep-learning-dynamo committed Jul 14, 2023
1 parent 88710c5 commit 52b7c3b
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,12 @@ See example [here](https://github.com/langchain4j/langchain4j-examples/blob/main
<dependency>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j</artifactId>
<version>0.11.0</version>
<version>0.12.0</version>
</dependency>
```
- Gradle:
```
implementation 'dev.langchain4j:langchain4j:0.11.0'
implementation 'dev.langchain4j:langchain4j:0.12.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.11.0</version>
<version>0.12.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.11.0</version>
<version>0.12.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.11.0</version>
<version>0.12.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.11.0</version>
<version>0.12.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.11.0</version>
<version>0.12.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.11.0</version>
<version>0.12.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.11.0</version>
<version>0.12.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.11.0</version>
<version>0.12.0</version>
</dependency>

<dependency>
Expand All @@ -40,7 +40,7 @@
<dependency>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-pinecone</artifactId>
<version>0.11.0</version>
<version>0.12.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.11.0</version>\n" +
" <version>0.12.0</version>\n" +
"</dependency>\n\n"
+ "Gradle:\n"
+ "implementation 'dev.langchain4j:langchain4j-pinecone:0.11.0'\n";
+ "implementation 'dev.langchain4j:langchain4j-pinecone:0.12.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 {
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.11.0</version>
<version>0.12.0</version>
<packaging>pom</packaging>

<modules>
Expand Down

0 comments on commit 52b7c3b

Please sign in to comment.