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 more ollama models #239

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kk-spartans
Copy link

@kk-spartans kk-spartans commented Mar 21, 2025

What does this PR do?

This PR adds support for any multimodal model on Ollama by asking the user what model they would like to use after operate -m ollama. Also refactors some code in a non breaking way (partly due to my IDE automatically doing it). It also adds some rudimentary OCR support for models from Ollama. Previously, llava might as well be clicking and typing random things.

Also adds a --browser flag to pass onto the prompts given to the model if the user wanted to use a different browser

Requirement/Documentation

I made this feature request a few weeks ago.

Type of change

  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update (already done in README.md)

Mandatory Tasks

  • Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected. I haven't run a test using evaluate.py since I don't have an OpenAI API key and the cost to unlock gpt-4o is a bit high for me. It would be really nice if someone else could do it!

@kk-spartans
Copy link
Author

Pretty new to programming, so please excuse some bad practices I might've followed.

kk-spartans

This comment was marked as off-topic.

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