Spaces:
Runtime error
Runtime error
Update rag_demo/rag/reranker.py
Browse files- rag_demo/rag/reranker.py +3 -3
rag_demo/rag/reranker.py
CHANGED
|
@@ -2,9 +2,9 @@ import os
|
|
| 2 |
|
| 3 |
from huggingface_hub import InferenceClient
|
| 4 |
|
| 5 |
-
from
|
| 6 |
-
from
|
| 7 |
-
from
|
| 8 |
|
| 9 |
|
| 10 |
class Reranker(RAGStep):
|
|
|
|
| 2 |
|
| 3 |
from huggingface_hub import InferenceClient
|
| 4 |
|
| 5 |
+
from base.query import Query
|
| 6 |
+
from base.template_factory import RAGStep
|
| 7 |
+
from .preprocessing.embed import EmbeddedChunk
|
| 8 |
|
| 9 |
|
| 10 |
class Reranker(RAGStep):
|