Update app.py
Browse files
app.py
CHANGED
@@ -82,9 +82,9 @@ def RAG(llm, docs, embeddings):
|
|
82 |
llm = ChatMistralAI(model="mistral-large-latest", rate_limiter=rate_limiter)
|
83 |
|
84 |
# Embeddings
|
85 |
-
|
86 |
# embed_model = "nvidia/NV-Embed-v2"
|
87 |
-
embed_model = "allenai/specter2_base"
|
88 |
embeddings = HuggingFaceInstructEmbeddings(model_name=embed_model)
|
89 |
# embeddings = MistralAIEmbeddings()
|
90 |
|
|
|
82 |
llm = ChatMistralAI(model="mistral-large-latest", rate_limiter=rate_limiter)
|
83 |
|
84 |
# Embeddings
|
85 |
+
embed_model = "sentence-transformers/multi-qa-distilbert-cos-v1"
|
86 |
# embed_model = "nvidia/NV-Embed-v2"
|
87 |
+
# embed_model = "allenai/specter2_base"
|
88 |
embeddings = HuggingFaceInstructEmbeddings(model_name=embed_model)
|
89 |
# embeddings = MistralAIEmbeddings()
|
90 |
|