You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
swarms/swarms
Kye 4f79c604e8
The root cause of this error is that the initialize_tools method in the Swarms class is passing an instance of OpenAI to the load_qa_with_sources_chain function, which then passes it to the LLMChain constructor. The LLMChain constructor expects a dictionary for the llm parameter, but it's receiving an instance of OpenAI instead.
2 years ago
..
agents chat history 2 years ago
prompts clean up 2 years ago
tools clean up 2 years ago
utils omni agent cleanup 2 years ago
__init__.py clean up 2 years ago
swarms.py The root cause of this error is that the initialize_tools method in the Swarms class is passing an instance of OpenAI to the load_qa_with_sources_chain function, which then passes it to the LLMChain constructor. The LLMChain constructor expects a dictionary for the llm parameter, but it's receiving an instance of OpenAI instead. 2 years ago