forked from langchain4j/langchain4j
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
1,465 additions
and
939 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
--- | ||
sidebar_position: 20 | ||
--- | ||
|
||
# Xinference | ||
|
||
- https://inference.readthedocs.io/ | ||
|
||
|
||
## Maven Dependency | ||
|
||
`0.37.0` and later: | ||
|
||
```xml | ||
<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: | ||
|
||
```xml | ||
<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 | ||
|
||
- `XinferenceEmbeddingModel` | ||
|
||
|
||
## Examples | ||
|
||
- [XinferenceEmbeddingModelIT](https://github.com/langchain4j/langchain4j-community/blob/main/models/langchain4j-community-xinference/src/test/java/dev/langchain4j/community/model/xinference/XinferenceEmbeddingModelIT.java) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
--- | ||
sidebar_position: 6 | ||
--- | ||
|
||
# Xinference | ||
|
||
- https://inference.readthedocs.io/ | ||
|
||
|
||
## Maven Dependency | ||
|
||
`0.37.0` and later: | ||
|
||
```xml | ||
<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: | ||
|
||
```xml | ||
<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 | ||
|
||
- `XinferenceImageModel` | ||
|
||
|
||
## Examples | ||
|
||
- [XinferenceImageModelIT](https://github.com/langchain4j/langchain4j-community/blob/main/models/langchain4j-community-xinference/src/test/java/dev/langchain4j/community/model/xinference/XinferenceImageModelIT.java) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
sidebar_position: 19 | ||
--- | ||
|
||
# Xinference | ||
|
||
- https://inference.readthedocs.io/ | ||
|
||
|
||
## Maven Dependency | ||
|
||
`0.37.0` and later: | ||
|
||
```xml | ||
<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: | ||
|
||
```xml | ||
<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 | ||
|
||
- `XinferenceChatModel` | ||
- `XinferenceStreamingChatModel` | ||
|
||
|
||
## Examples | ||
|
||
- [XinferenceChatModelIT](https://github.com/langchain4j/langchain4j-community/blob/main/models/langchain4j-community-xinference/src/test/java/dev/langchain4j/community/model/xinference/XinferenceChatModelIT.java) | ||
- [XinferenceStreamingChatModelIT](https://github.com/langchain4j/langchain4j-community/blob/main/models/langchain4j-community-xinference/src/test/java/dev/langchain4j/community/model/xinference/XinferenceStreamingChatModelIT.java) |
43 changes: 43 additions & 0 deletions
43
docs/docs/integrations/scoring-reranking-models/xinference.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
--- | ||
sidebar_position: 6 | ||
--- | ||
|
||
# Xinference | ||
|
||
- https://inference.readthedocs.io/ | ||
|
||
|
||
## Maven Dependency | ||
|
||
`0.37.0` and later: | ||
|
||
```xml | ||
<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: | ||
|
||
```xml | ||
<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 | ||
|
||
- [XinferenceScoringModelIT](https://github.com/langchain4j/langchain4j-community/blob/main/models/langchain4j-community-xinference/src/test/java/dev/langchain4j/community/model/xinference/XinferenceScoringModelIT.java) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
sidebar_position: 33 | ||
--- | ||
|
||
# Testing and Evaluation | ||
|
||
## Examples | ||
|
||
[Here](https://github.com/langchain4j/langchain4j-examples/blob/main/customer-support-agent-example/src/test/java/dev/langchain4j/example/CustomerSupportAgentIT.java) | ||
is an example of an integration testing for a Customer Support Agent. | ||
This corresponds to [Level 1: Unit Tests](https://hamel.dev/blog/posts/evals/#level-1-unit-tests). | ||
|
||
## Recommended Reading | ||
|
||
- [Your AI Product Needs Evals](https://hamel.dev/blog/posts/evals/) | ||
- [Creating a LLM-as-a-Judge That Drives Business Results](https://hamel.dev/blog/posts/llm-judge/) | ||
- [A Practical Guide to RAG Pipeline Evaluation (Part 1: Retrieval)](https://medium.com/relari/a-practical-guide-to-rag-pipeline-evaluation-part-1-27a472b09893) | ||
- [A Practical Guide to RAG Pipeline Evaluation (Part 2: Generation)](https://medium.com/relari/a-practical-guide-to-rag-evaluation-part-2-generation-c79b1bde0f5d) | ||
- [How important is a Golden Dataset for LLM evaluation?](https://medium.com/relari/how-important-is-a-golden-dataset-for-llm-pipeline-evaluation-4ef6deb14dc5) | ||
- [Case Study: Reference-free vs Reference-based evaluation of RAG pipeline](https://medium.com/relari/case-study-reference-free-vs-reference-based-evaluation-of-rag-pipeline-9a49ef49866c) | ||
- [How to evaluate complex GenAI Apps: a granular approach](https://medium.com/relari/how-to-evaluate-complex-genai-apps-a-granular-approach-0ab929d5b3e2) | ||
- [Generate Synthetic Data to Test LLM Applications](https://medium.com/relari/generate-synthetic-data-to-test-llm-applications-4bffeb51b80e) | ||
|
||
:::note | ||
More information coming soon. | ||
::: |
Oops, something went wrong.