Skip to content

Commit

Permalink
Release 0.29.0 (#830)
Browse files Browse the repository at this point in the history
  • Loading branch information
langchain4j committed Mar 26, 2024
1 parent d6b5a79 commit d1e3cc1
Show file tree
Hide file tree
Showing 54 changed files with 65 additions and 59 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Expand Up @@ -35,7 +35,7 @@ jobs:
token: ${{ secrets.TC_CLOUD_TOKEN }}

- name: release
run: mvn -B -U --fail-at-end -DskipTests -DskipAnthropicITs -DskipLocalAiITs -DskipMilvusITs -DskipMongoDbAtlasITs -DskipOllamaITs -DskipVearchITs -DskipVertexAiGeminiITs -pl !langchain4j-core,!langchain4j-core -Psign clean deploy
run: mvn -B -U --fail-at-end -DskipTests -DskipAnthropicITs -DskipLocalAiITs -DskipMilvusITs -DskipMongoDbAtlasITs -DskipOllamaITs -DskipVearchITs -DskipVertexAiGeminiITs -pl !langchain4j-core,!langchain4j-parent -Psign clean deploy
env:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
AZURE_OPENAI_ENDPOINT: ${{ secrets.AZURE_OPENAI_ENDPOINT }}
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -270,12 +270,12 @@ See example [here](https://github.com/langchain4j/langchain4j-examples/blob/main
<dependency>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-open-ai</artifactId>
<version>0.28.0</version>
<version>0.29.0</version>
</dependency>
```
- Gradle:
```groovy
implementation 'dev.langchain4j:langchain4j-open-ai:0.28.0'
implementation 'dev.langchain4j:langchain4j-open-ai:0.29.0'
```

2. Import your OpenAI API key:
Expand Down
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.29.0-SNAPSHOT</version>
<version>0.29.0</version>
<relativePath>../../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/get-started.md
Expand Up @@ -24,13 +24,13 @@ In this case, we should add the OpenAI dependency:
<dependency>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-open-ai</artifactId>
<version>0.28.0</version>
<version>0.29.0</version>
</dependency>
```

- For Gradle in `build.gradle`:
```groovy
implementation 'dev.langchain4j:langchain4j-open-ai:0.28.0'
implementation 'dev.langchain4j:langchain4j-open-ai:0.29.0'
```

Then, import your OpenAI API key.
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/integrations/language-models/anthropic.md
Expand Up @@ -10,7 +10,7 @@ sidebar_position: 5
<dependency>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-anthropic</artifactId>
<version>0.28.0</version>
<version>0.29.0</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/tutorials/spring-boot-integration.md
Expand Up @@ -13,7 +13,7 @@ To use one of the Spring Boot starters, first import the corresponding dependenc
<dependency>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-open-ai-spring-boot-starter</artifactId>
<version>0.28.0</version>
<version>0.29.0</version>
</dependency>
```

Expand Down
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.29.0-SNAPSHOT</version>
<version>0.29.0</version>
<relativePath>../../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.29.0-SNAPSHOT</version>
<version>0.29.0</version>
<relativePath>../../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.29.0-SNAPSHOT</version>
<version>0.29.0</version>
<relativePath>../../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.29.0-SNAPSHOT</version>
<version>0.29.0</version>
<relativePath>../../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.29.0-SNAPSHOT</version>
<version>0.29.0</version>
<relativePath>../../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.29.0-SNAPSHOT</version>
<version>0.29.0</version>
<relativePath>../../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.29.0-SNAPSHOT</version>
<version>0.29.0</version>
<relativePath>../../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.29.0-SNAPSHOT</version>
<version>0.29.0</version>
<relativePath>../../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion langchain4j-anthropic/pom.xml
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.29.0-SNAPSHOT</version>
<version>0.29.0</version>
<relativePath>../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion langchain4j-azure-ai-search/pom.xml
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.29.0-SNAPSHOT</version>
<version>0.29.0</version>
<relativePath>../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion langchain4j-azure-cosmos-mongo-vcore/pom.xml
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.29.0-SNAPSHOT</version>
<version>0.29.0</version>
<relativePath>../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion langchain4j-azure-open-ai/pom.xml
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.29.0-SNAPSHOT</version>
<version>0.29.0</version>
<relativePath>../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion langchain4j-bedrock/pom.xml
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.29.0-SNAPSHOT</version>
<version>0.29.0</version>
<relativePath>../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion langchain4j-bom/pom.xml
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.29.0-SNAPSHOT</version>
<version>0.29.0</version>
<relativePath>../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion langchain4j-cassandra/pom.xml
Expand Up @@ -10,7 +10,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.29.0-SNAPSHOT</version>
<version>0.29.0</version>
<relativePath>../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion langchain4j-chatglm/pom.xml
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.29.0-SNAPSHOT</version>
<version>0.29.0</version>
<relativePath>../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion langchain4j-chroma/pom.xml
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.29.0-SNAPSHOT</version>
<version>0.29.0</version>
<relativePath>../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion langchain4j-cohere/pom.xml
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.29.0-SNAPSHOT</version>
<version>0.29.0</version>
<relativePath>../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion langchain4j-core/pom.xml
Expand Up @@ -12,7 +12,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.29.0-SNAPSHOT</version>
<version>0.29.0</version>
<relativePath>../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion langchain4j-dashscope/pom.xml
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.29.0-SNAPSHOT</version>
<version>0.29.0</version>
<relativePath>../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
8 changes: 7 additions & 1 deletion langchain4j-easy-rag/pom.xml
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.29.0-SNAPSHOT</version>
<version>0.29.0</version>
<relativePath>../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand All @@ -17,6 +17,12 @@

<dependencies>

<dependency>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-document-parser-apache-tika</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion langchain4j-elasticsearch/pom.xml
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.29.0-SNAPSHOT</version>
<version>0.29.0</version>
<relativePath>../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion langchain4j-hugging-face/pom.xml
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.29.0-SNAPSHOT</version>
<version>0.29.0</version>
<relativePath>../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion langchain4j-infinispan/pom.xml
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.29.0-SNAPSHOT</version>
<version>0.29.0</version>
<relativePath>../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion langchain4j-local-ai/pom.xml
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.29.0-SNAPSHOT</version>
<version>0.29.0</version>
<relativePath>../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion langchain4j-milvus/pom.xml
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.29.0-SNAPSHOT</version>
<version>0.29.0</version>
<relativePath>../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion langchain4j-mistral-ai/pom.xml
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.29.0-SNAPSHOT</version>
<version>0.29.0</version>
<relativePath>../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
Expand Up @@ -26,23 +26,23 @@ public enum MistralAiChatModelName {
OPEN_MISTRAL_7B("open-mistral-7b"), // aka mistral-tiny-2312

/**
* @deprecated As of release 0.28.0, replaced by {@link #OPEN_MISTRAL_7B}
* @deprecated As of release 0.29.0, replaced by {@link #OPEN_MISTRAL_7B}
*/
@Deprecated
MISTRAL_TINY("mistral-tiny"),

OPEN_MIXTRAL_8x7B("open-mixtral-8x7b"), // aka mistral-small-2312

/**
* @deprecated As of release 0.28.0, replaced by {@link #MISTRAL_SMALL_LATEST}
* @deprecated As of release 0.29.0, replaced by {@link #MISTRAL_SMALL_LATEST}
*/
@Deprecated
MISTRAL_SMALL("mistral-small"), // aka mistral-small-2312

MISTRAL_SMALL_LATEST("mistral-small-latest"), // aka mistral-small-2402

/**
* @deprecated As of release 0.28.0, replaced by {@link #MISTRAL_MEDIUM_LATEST}
* @deprecated As of release 0.29.0, replaced by {@link #MISTRAL_MEDIUM_LATEST}
*/
@Deprecated
MISTRAL_MEDIUM("mistral-medium"),
Expand Down
2 changes: 1 addition & 1 deletion langchain4j-mongodb-atlas/pom.xml
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.29.0-SNAPSHOT</version>
<version>0.29.0</version>
<relativePath>../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion langchain4j-neo4j/pom.xml
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.29.0-SNAPSHOT</version>
<version>0.29.0</version>
<relativePath>../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion langchain4j-nomic/pom.xml
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.29.0-SNAPSHOT</version>
<version>0.29.0</version>
<relativePath>../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion langchain4j-ollama/pom.xml
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.29.0-SNAPSHOT</version>
<version>0.29.0</version>
<relativePath>../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion langchain4j-open-ai/pom.xml
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.29.0-SNAPSHOT</version>
<version>0.29.0</version>
<relativePath>../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down

0 comments on commit d1e3cc1

Please sign in to comment.