aadil732 commited on
Commit
72a7cb8
·
verified ·
1 Parent(s): 26ca190

Update endpoint

Browse files
Files changed (1) hide show
  1. api.py +2 -2
api.py CHANGED
@@ -71,7 +71,7 @@ def creating_qdrant_index(embeddings):
71
  # )
72
 
73
  vector_store = QdrantVectorStore.from_existing_collection(
74
- url="https://a2790d6c-f701-4a62-a57c-81d8fb4558f8.us-east-1-0.aws.cloud.qdrant.io:6333",
75
  collection_name="rag-documents",
76
  embedding=embeddings,
77
  api_key=QDRANT_CLOUD_KEY,
@@ -303,7 +303,7 @@ if __name__ == "__main__":
303
  # Initializing embedding model for creating document vectors
304
  embeddings = GoogleGenerativeAIEmbeddings(model="models/text-embedding-004")
305
 
306
- url = "https://a2790d6c-f701-4a62-a57c-81d8fb4558f8.us-east-1-0.aws.cloud.qdrant.io:6333"
307
 
308
  # Qdrant index name for storing document embeddings
309
  index_name = "rag-chatbot"
 
71
  # )
72
 
73
  vector_store = QdrantVectorStore.from_existing_collection(
74
+ url="https://a2790d6c-f701-4a62-a57c-81d8fb4558f8.us-east-1-0.aws.cloud.qdrant.io",
75
  collection_name="rag-documents",
76
  embedding=embeddings,
77
  api_key=QDRANT_CLOUD_KEY,
 
303
  # Initializing embedding model for creating document vectors
304
  embeddings = GoogleGenerativeAIEmbeddings(model="models/text-embedding-004")
305
 
306
+ url = "https://a2790d6c-f701-4a62-a57c-81d8fb4558f8.us-east-1-0.aws.cloud.qdrant.io"
307
 
308
  # Qdrant index name for storing document embeddings
309
  index_name = "rag-chatbot"