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

Added support for locally-hosted ollama LLM instead of chatgpt #353

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

berdandy
Copy link

@berdandy berdandy commented Oct 4, 2024

Ollama is an open-source LLM with open models. Some of the larger models even rival ChatGpt4 accuracy. However, the smaller models are runnable on a home PC for only the cost of electricity.

Ollama also has a chatgpt-compatible api.

  • Added settings for ollamaUrl & model as an alternative to chatgpt
  • Modified output format assumptions and parsing of lists for ollama as output consistency isn't as strong as chatgpt
  • Made a generic hasLLM flag in settings for (ollama || chatgpt)

Still needs docs and some cleanup and probably some tests

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.

1 participant