Skip to main content

Xinference

Maven Dependency

0.37.0 and later:

<dependency>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-community-xinference</artifactId>
<version>0.37.0</version>
</dependency>

Or, you can use BOM to manage dependencies consistently:

<dependencyManagement>
<dependency>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-community-bom</artifactId>
<version>0.37.0</version>
<typ>pom</typ>
<scope>import</scope>
</dependency>
</dependencyManagement>

APIs

  • XinferenceScoringModel

Examples