Spaces:
Sleeping
Sleeping
gizemsarsinlar
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -22,10 +22,10 @@ from langchain_community.document_transformers import LongContextReorder
|
|
22 |
|
23 |
import os
|
24 |
|
25 |
-
api_key =
|
26 |
|
27 |
# NVIDIAEmbeddings.get_available_models()
|
28 |
-
embedder = NVIDIAEmbeddings(model="nvidia/embed-qa-4", api_key=api_key, truncate="
|
29 |
# ChatNVIDIA.get_available_models()
|
30 |
instruct_llm = ChatNVIDIA(model="mistralai/mixtral-8x7b-instruct-v0.1")
|
31 |
|
|
|
22 |
|
23 |
import os
|
24 |
|
25 |
+
api_key = "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"
|
26 |
|
27 |
# NVIDIAEmbeddings.get_available_models()
|
28 |
+
embedder = NVIDIAEmbeddings(model="nvidia/embed-qa-4", api_key=api_key, truncate="NONE")
|
29 |
# ChatNVIDIA.get_available_models()
|
30 |
instruct_llm = ChatNVIDIA(model="mistralai/mixtral-8x7b-instruct-v0.1")
|
31 |
|