Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ import json
|
|
12 |
import io
|
13 |
|
14 |
app = FastAPI()
|
15 |
-
model = SentenceTransformer('paraphrase-MiniLM-L6-v2')
|
16 |
embedding_dimension = 384 # 384 is the dimensionality of the MiniLM model
|
17 |
index = faiss.IndexFlatL2(embedding_dimension)
|
18 |
documents = []
|
|
|
12 |
import io
|
13 |
|
14 |
app = FastAPI()
|
15 |
+
model = SentenceTransformer('mixedbread-ai/mxbai-embed-large-v1') #('paraphrase-MiniLM-L6-v2')
|
16 |
embedding_dimension = 384 # 384 is the dimensionality of the MiniLM model
|
17 |
index = faiss.IndexFlatL2(embedding_dimension)
|
18 |
documents = []
|