clena up no embedding store

pull/30/head
Kye 1 year ago
parent 1053665e17
commit 708c3ab0f2

@ -110,7 +110,6 @@ class BossNode:
llm_class=OpenAI, llm_class=OpenAI,
max_iterations=5, max_iterations=5,
verbose=False, verbose=False,
# embedding_size=512 # You should provide an appropriate value for embedding_size
): ):
self.api_key = api_key or os.getenv("OPENAI_API_KEY") self.api_key = api_key or os.getenv("OPENAI_API_KEY")
@ -149,8 +148,6 @@ class BossNode:
vectorstore=vectorstore, vectorstore=vectorstore,
agent_executor=self.agent_executor, agent_executor=self.agent_executor,
max_iterations=self.max_iterations, max_iterations=self.max_iterations,
human_in_the_loop=None, # You may need to adjust this
embedding_size=embedding_size
) )
self.task = self.boss_initializer.create_task(objective) self.task = self.boss_initializer.create_task(objective)

Loading…
Cancel
Save