Spaces:
Running
Running
fix
Browse files- app/rag.py +1 -1
app/rag.py
CHANGED
@@ -37,7 +37,7 @@ class ChatPDF:
|
|
37 |
vector_store = QdrantVectorStore(client=client, collection_name="rag_documents")
|
38 |
|
39 |
logger.info("initializing the OllamaEmbedding")
|
40 |
-
embed_model = OllamaEmbedding(model_name='mxbai-embed-large'
|
41 |
logger.info("initializing the global settings")
|
42 |
Settings.embed_model = embed_model
|
43 |
Settings.llm = Ollama(model="qwen:1.8b", request_timeout=1000000)
|
|
|
37 |
vector_store = QdrantVectorStore(client=client, collection_name="rag_documents")
|
38 |
|
39 |
logger.info("initializing the OllamaEmbedding")
|
40 |
+
embed_model = OllamaEmbedding(model_name='mxbai-embed-large')
|
41 |
logger.info("initializing the global settings")
|
42 |
Settings.embed_model = embed_model
|
43 |
Settings.llm = Ollama(model="qwen:1.8b", request_timeout=1000000)
|