HTTP API bindings for llama.cpp built-in example 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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file unreasonable_llama-0.4.1.tar.gz.
File metadata
- Download URL: unreasonable_llama-0.4.1.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.7 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fdf71327db58858673e6613c2121eee22b6ec0e308faae5684eab995e825a912
|
|
| MD5 |
5487d49956e5ce2f7fdbde83ba071bc2
|
|
| BLAKE2b-256 |
2d4b8f3ad8554937e8f46442131c9436c34cbf0f09a0f016c34d6607f9cfcf55
|
File details
Details for the file unreasonable_llama-0.4.1-py3-none-any.whl.
File metadata
- Download URL: unreasonable_llama-0.4.1-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.7 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98770302c3faac8a534f2753a3d72058f9205aba7a436539e6ef0b7fab74a6e6
|
|
| MD5 |
80b432dcfbe5c5a86fdc8ff20d511535
|
|
| BLAKE2b-256 |
8ccbdaf94635c88a1dae83d243f7b8a99b12295e4a412a02a7b74d02cf6c5650
|