Skip to content

Commit

Permalink
fix error message version (langchain4j#167)
Browse files Browse the repository at this point in the history
sorry I make a mistake, I forgot change the version in Error Message
when no `langchain4j-elasticsearch` dependency was found.
  • Loading branch information
Martin7-1 authored Sep 14, 2023
1 parent 70c6965 commit cb6bc14
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ private static String getMessage() {
+ "<dependency>\n" +
" <groupId>dev.langchain4j</groupId>\n" +
" <artifactId>langchain4j-elasticsearch</artifactId>\n" +
" <version>0.20.0</version>\n" +
" <version>0.22.0</version>\n" +
"</dependency>\n\n"
+ "Gradle:\n"
+ "implementation 'dev.langchain4j:langchain4j-elasticsearch:0.20.0'\n";
+ "implementation 'dev.langchain4j:langchain4j-elasticsearch:0.22.0'\n";
}

private static EmbeddingStore<TextSegment> loadDynamically(String implementationClassName, String serverUrl, String username, String password, String apiKey, String indexName) throws ClassNotFoundException, NoSuchMethodException, InstantiationException, IllegalAccessException, InvocationTargetException {
Expand Down

0 comments on commit cb6bc14

Please sign in to comment.