ollama/ollama-python
View on GitHub ↗ ★ 10,690 Python
Ollama Python library
5 mentions on Hacker News by 5 people: 0 stories, 5 comments · first 2024-01-25 · latest 2024-09-18
20082026
-
…direct API calls, there are actual official Ollama python bindings[1]. Cool project though! [1] https://github.com/ollama/ollama-python
comment by Patrick_Devine · 2024-09-18 · in Knowledge graphs using Ollama and Embeddings to answer and visualizing queries -
…shows how a sample implementation of a tool like `get_current_weather` might look like in Python: https://github.com/ollama/ollama-python/blob/main/examples/t...
comment by mrshu · 2024-08-19 · in Ollama now supports tool calling with popular models in local LLM -
…The answer is 91. > -20 + 111 -91 = 91 Also, note that there is an official Ollama Python library: https://github.com/ollama/ollama-python
comment by sorokod · 2024-02-25 · in Gemma, Ollama and LangChainGo -
Exactly that. Client host options default, https://github.com/ollama/ollama-python/blob/main/ollama/_cl... Also overrideable with OLLAMA_HOST env var. The default imported functions are then based off of a no-arg constructed client…
comment by flakes · 2024-01-25 · in Ollama releases Python and JavaScript Libraries -
Just for connecting to an existing service: https://github.com/ollama/ollama-python/blob/main/ollama/_cl...
comment by icyfox · 2024-01-25 · in Ollama releases Python and JavaScript Libraries