Ollama-and-Agents
Ollama-and-Agents copied to clipboard
Implementing Ollama and Agents to create a blogging bot
Ollama is now available for Windows. WSL is not needed. https://github.com/ollama/ollama?tab=readme-ov-file#windows-preview
"from langchain.llms import Ollama" is now "from langchain_community.llms import Ollama" "from langchain.tools import DuckDuckGoSearchRun" is now "from langchain_community.tools import DuckDuckGoSearchRun" need one more parameter "expected_ouput=" in Task function
Is there a solution for writing the results in a textfile? I try it, but my code does not work.
I get an error from an agent: I encountered an error while trying to use the tool. This was the error: DuckDuckGoSearchRun._run() got an unexpected keyword argument 'q'. Tool duckduckgo_search...
Hi Thomas! I've updated your code with currently stable working library names. You can merge this req, if you like my work. Thanks.