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

Modify for ollama use instead of just OpenAI #30

Open
mpadge opened this issue May 15, 2024 · 1 comment
Open

Modify for ollama use instead of just OpenAI #30

mpadge opened this issue May 15, 2024 · 1 comment

Comments

@mpadge
Copy link

mpadge commented May 15, 2024

Great piece of software @d42me! It'd be pretty easy to code the two main LLM entry points to allow a range of interfaces instead of just OpenAI. In particular, using ollama would open the whole system up to effectively unrestricted model choice. The completions of ollama are perfectly compatible with openai, and from what I can see of your models.py, the code should need only minimal modification. The embeddings in your vectordb.py would also need minimal modification to use ollama embeddings.

The biggest advantage would be the ability to use unlimited numbers of simulations, as everything would be local and free of additional API costs. Thoughts?

@d42me
Copy link
Contributor

d42me commented May 28, 2024

Thanks for suggesting this @mpadge! Will work on this as soon as I find time.

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

No branches or pull requests

2 participants