philmui commited on
Commit
28b6560
1 Parent(s): 9be49af

updated requirements

Browse files
Files changed (2) hide show
  1. requirements.txt +1 -1
  2. semantic.py +8 -0
requirements.txt CHANGED
@@ -1,7 +1,7 @@
1
  chainlit==1.0.505
2
  langchain==0.1.16
3
  langchain-community==0.0.36
4
- langchain-core==0.1.42
5
  langchain-experimental==0.0.57
6
  langchain-text-splitters==0.0.1
7
  PyMuPDF==1.24.2
 
1
  chainlit==1.0.505
2
  langchain==0.1.16
3
  langchain-community==0.0.36
4
+ langchain-core==0.1.50
5
  langchain-experimental==0.0.57
6
  langchain-text-splitters==0.0.1
7
  PyMuPDF==1.24.2
semantic.py CHANGED
@@ -64,6 +64,14 @@ class SemanticStoreFactory:
64
  # check if path exists and if it is not empty
65
  if path.exists() and path.is_dir() and any(path.iterdir()):
66
  _logger.info(f"\tQdrant loading ...")
 
 
 
 
 
 
 
 
67
  store = Qdrant(
68
  client=qclient,
69
  embeddings=embeddings,
 
64
  # check if path exists and if it is not empty
65
  if path.exists() and path.is_dir() and any(path.iterdir()):
66
  _logger.info(f"\tQdrant loading ...")
67
+ # store = Qdrant.from_documents(
68
+ # [],
69
+ # embeddings=embeddings,
70
+ # path=VECTOR_STORE_PATH,
71
+ # prefer_grpc=True,
72
+ # collection_name=META_SEMANTIC_COLLECTION,
73
+ # )
74
+
75
  store = Qdrant(
76
  client=qclient,
77
  embeddings=embeddings,