ollama-python icon indicating copy to clipboard operation
ollama-python copied to clipboard

Ollama Python library

Results 226 ollama-python issues
Sort by recently updated
recently updated
newest added

**Feature Request:** Currently, the Ollama Python client does not seem to support consuming remote tools from Model Context Protocol (MCP) servers directly. For workflows requiring LLM tool calling functionality via...

This change fixes annoying LSP diagnostic errors when using this library and pyright/basedpyright is set to strict mode. The main issue was that the overloads for methods with a stream...

Hello there! Not quite sure if it's relevant to https://github.com/ollama/ollama/issues/11704 or is it a separate thing. I have updated to the latest version of ollama (which is 0.11.4 as of...

Could it be? I'm using ollama client 0.5.3 and latest ollama (0.11.4) for embeddings. But the client uses the keyword 'input' that's not recognized by ollama, that returns always empty...

In this PR I have added diagram representation of the ollama-python codebase. You can see how it renders here: https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/ollama-python/on_boarding.md The diagrams are designed so they give a high-level understanding...

So, I am using the latest Ollama version 10.1 on windows. I tried running the python script for streaming into it, but the console returns a "Server disconnected without sending...

As the title says, removed the unused function `_as_path`. Signed-off-by: Yongtao Huang

### Summary This change is part of [ollama/ollama#11444](https://github.com/ollama/ollama/issues/11444) and related to [ollama/ollama#11448](https://github.com/ollama/ollama/pull/11448) where the server simplified `ToolFunction.Parameters` from a structured schema to `json.RawMessage` for better flexibility and performance. **Problem**: The...

Currently, when running a script making a request to the Ollama server, a log entry of level INFO is created like this: `HTTP Request: POST http://192.168.1.118:11434/api/generate "HTTP/1.1 200 OK"` IMHO,...