Former-commit-id: 73e99aab8d54292fb9503d983a99a0866f1e59c4
pull/160/head
Kye 2 years ago
parent 64dce3fc98
commit 3d1d8f9f56

@ -129,7 +129,7 @@ class BossNode:
if not self.api_key: if not self.api_key:
raise ValueError("[BossNode][ValueError][API KEY must be provided either as an argument or as an environment variable API_KEY]") raise ValueError("[BossNode][ValueError][API KEY must be provided either as an argument or as an environment variable API_KEY]")
self.llm = llm_class self.llm = self.initialize_llm(self.llm_class)
todo_prompt = PromptTemplate.from_template(boss_system_prompt) todo_prompt = PromptTemplate.from_template(boss_system_prompt)
todo_chain = LLMChain(llm=self.llm, prompt=todo_prompt) todo_chain = LLMChain(llm=self.llm, prompt=todo_prompt)

Loading…
Cancel
Save