Hacker GitHub

← All repos

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

Mentions per year 5 mentions · busiest year 2024 (5)
20082026
  1. …direct API calls, there are actual official Ollama python bindings[1]. Cool project though! [1] https://github.com/ollama/ollama-python
  2. …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...
  3. …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
  4. 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…
  5. Just for connecting to an existing service: https://github.com/ollama/ollama-python/blob/main/ollama/_cl...