Skip to main content

HTTP API bindings for llama.cpp built-in server

Project description

unreasonable-llama

Check code formatting and validity

(Yet another) Python API for llama.cpp server

For now, i'm targeting minimal support necessary for /completion and /health endpoint. Maybe i'll extend this lib in the future.

Requirements

unreasonable-llama has a single requirement - httpx library, see pyproject.toml for details.

Requirements for llama.cpp scripts can be found in requirements/ directory of theirs repository.

Usage

See test file for example usage.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unreasonable_llama-0.2.8.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

unreasonable_llama-0.2.8-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page