You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is something we may do more on in future versions. Officially no (since we didn't write tests/docs for this) but technically yes ---you can do this very easily using Ollama.
Here's a quick example for you.
Download Ollama if you have't download it
ollama start # starts ollama
ollama pull gemma:2b # gets gemma2b
ollama run gemma:2b # running locally
Now in Python
fromplurals.agentImportAgenta=Agent(task='Say hello', model="ollama/gemma:2b",
kwargs={'api_base':"http://localhost:11434"})
a.process()
# 'I am a large language model, trained by Google. I am a conversational AI that can engage in natural language conversations and provide information and insights.'
In addition to the API usage, can agents built on local models?
The text was updated successfully, but these errors were encountered: