Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -58,6 +58,8 @@ ChanceRAG is a Retrieval-Augmented Generation (RAG) application designed to proc
|
|
| 58 |
|
| 59 |
* Utilizes methods like Annoy, TF-IDF, BM25, Word2Vec, Euclidean Distance, and Jaccard Similarity to identify relevant content.
|
| 60 |
|
|
|
|
|
|
|
| 61 |
| Method | Speed | Accuracy | Memory Usage |
|
| 62 |
| :---: | :---: | :---: | :---: |
|
| 63 |
| Annoy | Fast | Good | Low |
|
|
@@ -65,11 +67,9 @@ ChanceRAG is a Retrieval-Augmented Generation (RAG) application designed to proc
|
|
| 65 |
| Word2Vec | Slow | Good | High |
|
| 66 |
|
| 67 |
|
| 68 |
-
Retrieval Methods Comparison
|
| 69 |
-
|
| 70 |
### **4\. Reranking Engine:**
|
| 71 |
|
| 72 |
-
* Applies advanced fusion reranking method to ensure the most relevant documents are prioritized.
|
| 73 |
|
| 74 |
* The advanced_fusion mechanism combines multiple retrieval methods (BM25 and Annoy) to rank documents more effectively.
|
| 75 |
|
|
@@ -97,12 +97,9 @@ ChanceRAG is a Retrieval-Augmented Generation (RAG) application designed to proc
|
|
| 97 |
Built with Gradio, the interface offers easy interaction with the system.
|
| 98 |
Components include:
|
| 99 |
|
| 100 |
-
*
|
| 101 |
* User Query Input
|
| 102 |
-
* Response Style Selection
|
| 103 |
-
* Retrieval Methods Selection
|
| 104 |
-
* Reranking Methods Selection
|
| 105 |
-
* Chunk Size and Overlap Adjustment
|
| 106 |
* Response Display.
|
| 107 |
|
| 108 |

|
|
@@ -118,8 +115,6 @@ To enhance performance:
|
|
| 118 |
|
| 119 |
* Implement caching for embeddings and frequently retrieved documents.
|
| 120 |
* Use parallel processing for retrieval and reranking.
|
| 121 |
-
* Optimize chunk size and overlap based on document characteristics.
|
| 122 |
-
* Adapt retrieval methods based on query type.
|
| 123 |
|
| 124 |
## **Metrics:**
|
| 125 |
|
|
|
|
| 58 |
|
| 59 |
* Utilizes methods like Annoy, TF-IDF, BM25, Word2Vec, Euclidean Distance, and Jaccard Similarity to identify relevant content.
|
| 60 |
|
| 61 |
+
**Retrieval Methods Comparison:**
|
| 62 |
+
|
| 63 |
| Method | Speed | Accuracy | Memory Usage |
|
| 64 |
| :---: | :---: | :---: | :---: |
|
| 65 |
| Annoy | Fast | Good | Low |
|
|
|
|
| 67 |
| Word2Vec | Slow | Good | High |
|
| 68 |
|
| 69 |
|
|
|
|
|
|
|
| 70 |
### **4\. Reranking Engine:**
|
| 71 |
|
| 72 |
+
* Applies **advanced fusion** reranking method to ensure the most relevant documents are prioritized.
|
| 73 |
|
| 74 |
* The advanced_fusion mechanism combines multiple retrieval methods (BM25 and Annoy) to rank documents more effectively.
|
| 75 |
|
|
|
|
| 97 |
Built with Gradio, the interface offers easy interaction with the system.
|
| 98 |
Components include:
|
| 99 |
|
| 100 |
+
* File Upload
|
| 101 |
* User Query Input
|
| 102 |
+
* Response Style Selection
|
|
|
|
|
|
|
|
|
|
| 103 |
* Response Display.
|
| 104 |
|
| 105 |

|
|
|
|
| 115 |
|
| 116 |
* Implement caching for embeddings and frequently retrieved documents.
|
| 117 |
* Use parallel processing for retrieval and reranking.
|
|
|
|
|
|
|
| 118 |
|
| 119 |
## **Metrics:**
|
| 120 |
|