Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
vemonet committed Jan 10, 2024
1 parent 5c69e28 commit 9253760
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libre_chat/llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def build_vectorstore(self, documents_path: Optional[str] = None) -> Optional[Qd
embeddings = HuggingFaceEmbeddings(
model_name=self.conf.vector.embeddings_path, model_kwargs={"device": self.device}
)
os.makedirs(self.conf.vector.vector_path, exist_ok=True)
os.makedirs(str(self.conf.vector.vector_path), exist_ok=True)
vectorstore = Qdrant.from_documents(
splitted_texts,
embeddings,
Expand Down

0 comments on commit 9253760

Please sign in to comment.