Former-commit-id: aeeeeca8e5
pull/47/head
Kye 2 years ago
parent 7b3fd269bf
commit 619552ee17

@ -43,7 +43,7 @@ class WorkerNodeInitializer:
self.llm = llm if llm is not None else ChatOpenAI() self.llm = llm if llm is not None else ChatOpenAI()
self.tools = tools if tools is not None else [ReadFileTool(), WriteFileTool()] self.tools = tools if tools is not None else [ReadFileTool(), WriteFileTool()]
self.vectorstore = vectorstore if vectorstore is not None else #FAISS(faiss.IndexFlatIP(512)) self.vectorstore = vectorstore #if vectorstore is not None else #FAISS(faiss.IndexFlatIP(512))
# Initializing agent in the constructor # Initializing agent in the constructor
self.ai_name = ai_name self.ai_name = ai_name

Loading…
Cancel
Save