Open
Conversation
Related to Integuru-AI#7 Add support for Ollama model using the ollama python package. * **`integuru/util/LLM.py`** - Import `Ollama` from `ollama`. - Add `_ollama_model` attribute to `LLMSingleton` class. - Modify `get_instance` method to support Ollama model. - Add `get_ollama_instance` method to return an Ollama instance. * **`integuru/__main__.py`** - Update `model` option help text to include Ollama. * **`README.md`** - Update documentation to reflect Ollama support.
Contributor
|
Does Ollama support the function calling capabilities? |
Ollama does support function calling, they call it tools. But, not 100% sure if the python library supports it. JS lib supports |
|
@alanalanlu @asanoviskhak https://github.com/ollama/ollama-python/blob/main/examples/tools.py It does have tool calling built in on the default python library |
vishwamartur
added a commit
to vishwamartur/Integuru
that referenced
this pull request
Aug 30, 2025
- Implemented OllamaWrapper class for ChatOpenAI interface compatibility - Added native tool calling support using Ollama's built-in capabilities - Maintained backward compatibility with existing agent code - Updated pyproject.toml to include ollama dependency - Enhanced documentation with Ollama setup and usage instructions - Updated CLI help text to include Ollama model option Addresses GitHub PR Integuru-AI#12 comment about leveraging Ollama's built-in tool calling
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related to #7
Add support for Ollama model using the ollama python package.
integuru/util/LLM.pyOllamafromollama._ollama_modelattribute toLLMSingletonclass.get_instancemethod to support Ollama model.get_ollama_instancemethod to return an Ollama instance.integuru/__main__.pymodeloption help text to include Ollama.README.md