Commit
•
73e7897
1
Parent(s):
6ded72f
Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -3,7 +3,7 @@ from typing import Any, Dict, List
|
|
3 |
from fastrag.retrievers import QuantizedBiEncoderRetriever
|
4 |
|
5 |
|
6 |
-
class
|
7 |
def __init__(self, path=""):
|
8 |
model_id = "Intel/bge-small-en-v1.5-rag-int8-static"
|
9 |
self.retriever = QuantizedBiEncoderRetriever(embedding_model=model_id)
|
|
|
3 |
from fastrag.retrievers import QuantizedBiEncoderRetriever
|
4 |
|
5 |
|
6 |
+
class EndpointHandler:
|
7 |
def __init__(self, path=""):
|
8 |
model_id = "Intel/bge-small-en-v1.5-rag-int8-static"
|
9 |
self.retriever = QuantizedBiEncoderRetriever(embedding_model=model_id)
|