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

does it support ollama ? #15

Open
hemangjoshi37a opened this issue Jun 15, 2024 · 4 comments
Open

does it support ollama ? #15

hemangjoshi37a opened this issue Jun 15, 2024 · 4 comments

Comments

@hemangjoshi37a
Copy link

No description provided.

@sammcj
Copy link

sammcj commented Jun 15, 2024

I was wondering this also and had a look, the code has quite a few places with hardcoded API base URLs etc.., I had a little hack and got it working with local LLMs here just as an experiment - https://github.com/sammcj/MoA

@itsmebcc
Copy link

It does -- Just change the api endoint in utils.py and the model names in bot.py.

@hemangjoshi37a
Copy link
Author

I hope this should be programmable to use custom api endpoint rather than together's API endpoint.

@erik-sv
Copy link

erik-sv commented Jun 18, 2024

I iterated on sammcj's fork. It should work with any OpenAI formatted endpoint, including local models. I have tested LM Studio and Groq. Just create your own .env file based on the .env.template file, and it should work with Ollama. https://github.com/erik-sv/MoA

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

4 participants