File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -4,4 +4,16 @@ Evaluate the performance of RAG pipelines based on [ragas](https://github.com/ex
4
4
5
5
6
6
- [ evaluate_fiqa_openai.ipynb] ( evaluate_fiqa_openai.ipynb ) Use Ragas to evaluate the OpenAI Assistant
7
- - [ evaluate_fiqa_customized_RAG.ipynb] ( evaluate_fiqa_customized_RAG.ipynb ) Use Ragas to evaluate the customized RAG pipeline based on milvus
7
+ - [ evaluate_fiqa_customized_RAG.ipynb] ( evaluate_fiqa_customized_RAG.ipynb ) Use Ragas to evaluate the customized RAG pipeline based on milvus
8
+
9
+ The following outlines a comparison between two experimental setups:
10
+
11
+ | | OpenAI assistant | Customized RAG pipeline |
12
+ | --- | --- | --- |
13
+ | LLM model | gpt-4-1106-preview | gpt-4-1106-preview |
14
+ | Vector DB | Not Disclosed | milvus |
15
+ | Embedding model | Not Disclosed | BAAI/bge-base-en |
16
+ | Chunk size | Not Disclosed | 1000 |
17
+ | Chunk overlap | Not Disclosed | 40 |
18
+ | topk | Not Disclosed | 5 |
19
+ | Use Agent | Yes | Yes |
Original file line number Diff line number Diff line change 302
302
"outputs" : [],
303
303
"source" : [
304
304
" def search_milvus(question, top_k=5):\n " ,
305
- " contexts = vector_db.similarity_search(question)\n " ,
305
+ " contexts = vector_db.similarity_search(question, k=top_k )\n " ,
306
306
" return contexts[:top_k]"
307
307
],
308
308
"metadata" : {
You can’t perform that action at this time.
0 commit comments