Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OLLAMA as Model Provider #221

Merged
merged 2 commits into from
Nov 7, 2024
Merged

Add OLLAMA as Model Provider #221

merged 2 commits into from
Nov 7, 2024

Conversation

o-on-x
Copy link
Contributor

@o-on-x o-on-x commented Nov 7, 2024

Relates to:

(#69)

Risks

OLLAMA Provider parts low risk
medium risk how the dependency ollama-ai-provider was added
llama.ts delegating to LlamaCppService or OllamaService high risk (because it was was crashing nodemon so wip but still a change that might be good to look at)

Background

adds Ollama Model Provider

also code for switching LOCALLLAMA providers (might be good to have for local embeddings use cases & when using local for other tasks but still using other model providers)

Documentation changes needed?

All documentation needed is in the .env file. Did not update the readme. but i can if needed

Testing

run with a OLLAMA_MODEL defined to something & the OLLAMA_EMBEDDING_MODEL set to something

@lalalune lalalune merged commit 2a56cf0 into elizaOS:main Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants