DashScope
Maven Dependency
note
Since 1.0.0-alpha1
, langchain4j-dashscope
has migrated to langchain4j-community
and is renamed to langchain4j-community-dashscope
.
0.36.2
and previous:
<dependency>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-dashscope</artifactId>
<version>1.0.0-alpha1</version>
</dependency>
1.0.0-alpha1
and later:
<dependency>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-community-dashscope</artifactId>
<version>1.0.0-alpha1</version>
</dependency>
Or, you can use BOM to manage dependencies consistently:
<dependencyManagement>
<dependency>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-community-bom</artifactId>
<version>1.0.0-alpha1</version>
<typ>pom</typ>
<scope>import</scope>
</dependency>
</dependencyManagement>
APIs
QwenEmbeddingModel