HTTP API bindings for llama.cpp built-in server
Project description
unreasonable-llama
(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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file unreasonable_llama-0.1.1.tar.gz
.
File metadata
- Download URL: unreasonable_llama-0.1.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.9.7-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bf2c5065e35ec55adf60cde2f9ca01c0fa335a2028606eb586c717aef609ff1 |
|
MD5 | 7c5dd5f05f3e4da045ad353b0d8adbdd |
|
BLAKE2b-256 | 436e8f9d541ad22b1d5cdbbc6f83b74674016e57df1910ba85786104b716c0ac |
File details
Details for the file unreasonable_llama-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: unreasonable_llama-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.9.7-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7bef6371eea81f9f256268845d56bcf63f64942f7131467d4d29693aa04af9f |
|
MD5 | f3735a39633ce4d989ab9f53490f496d |
|
BLAKE2b-256 | 9f4e445dae776026603476e5a3810bb9efa90164126634fbca86bfa573508bc1 |