mitulagr2 commited on
Commit
8e67761
1 Parent(s): 6923d59
Files changed (1) hide show
  1. 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', request_timeout=1000000)
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)