Jeffrey Morgan 9164981d72 move prompt templates out of python bindings 1 년 전
..
ollama 9164981d72 move prompt templates out of python bindings 1 년 전
README.md 76cb60d496 wip go engine 1 년 전
poetry.lock 76cb60d496 wip go engine 1 년 전
pyproject.toml 76cb60d496 wip go engine 1 년 전
requirements.txt 76cb60d496 wip go engine 1 년 전

README.md

Ollama Python bindings

pip install ollama

Developing

Ollama is built using Python 3 and uses Poetry to manage dependencies and build packages.

pip install poetry

Install ollama and its dependencies:

poetry install --extras server --with dev

Run ollama server:

poetry run ollama server

Update dependencies:

poetry update --extras server --with dev
poetry lock
poetry export >requirements.txt

Build binary package:

poetry build