Merge pull request #592 from danielaskdd/yangdx

Add Ollama compatible API server
This commit is contained in:
zrguo
2025-01-17 14:29:31 +08:00
committed by GitHub
6 changed files with 1502 additions and 2 deletions

View File

@@ -716,7 +716,7 @@ Output the results in the following structure:
```
</details>
### Batch Eval
### Batch Eval
To evaluate the performance of two RAG systems on high-level queries, LightRAG uses the following prompt, with the specific code available in `example/batch_eval.py`.
<details>
@@ -767,6 +767,7 @@ Output your evaluation in the following JSON format:
</details>
### Overall Performance Table
| | **Agriculture** | | **CS** | | **Legal** | | **Mix** | |
|----------------------|-------------------------|-----------------------|-----------------------|-----------------------|-----------------------|-----------------------|-----------------------|-----------------------|
| | NaiveRAG | **LightRAG** | NaiveRAG | **LightRAG** | NaiveRAG | **LightRAG** | NaiveRAG | **LightRAG** |