Self-hostable LLM client for restaurant tech.
Project description
chenki
Self-hostable LLM client for restaurant tech. A thin Python library that talks to any OpenAI-compatible /v1/chat/completions endpoint, with restaurant-domain helpers (menu Q&A, dish classification, order parsing) built on top.
By default it points at brianchenhao-chenki-llm.hf.space — a free Hugging Face Space running Qwen 2.5 1.5B Instruct (Q4_K_M) behind llama.cpp. Self-hosters can deploy their own Space using the included server/Dockerfile.
Status
chenki is under active development. v0.0.1 reserves the PyPI name; v0.1.0 is the first functional release.
Install
pip install chenki
Quickstart
from chenki import ChenkiClient, Message
client = ChenkiClient() # defaults to https://brianchenhao-chenki-llm.hf.space/v1
reply = client.chat([Message(role="user", content="Hello!")])
print(reply.text)
Website
chenki.com (coming soon)
License
MIT
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 chenki-0.1.0.tar.gz.
File metadata
- Download URL: chenki-0.1.0.tar.gz
- Upload date:
- Size: 16.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc05ba580c7713e2d59e2c87b7917f6ca2b0c519f8dbde952bea9b2160c9a464
|
|
| MD5 |
4211dee920e5cffb78445ba319572bfd
|
|
| BLAKE2b-256 |
3b3f6e2786b6706b0cc21d4d10c4b68ce4fcbe84bd59adc69f95dd526118df0c
|
Provenance
The following attestation bundles were made for chenki-0.1.0.tar.gz:
Publisher:
publish.yml on brianchenhao/chenki
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chenki-0.1.0.tar.gz -
Subject digest:
cc05ba580c7713e2d59e2c87b7917f6ca2b0c519f8dbde952bea9b2160c9a464 - Sigstore transparency entry: 1575313059
- Sigstore integration time:
-
Permalink:
brianchenhao/chenki@4af25c98c0357a6974eeffef4b46907b58a9da8d -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/brianchenhao
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4af25c98c0357a6974eeffef4b46907b58a9da8d -
Trigger Event:
push
-
Statement type:
File details
Details for the file chenki-0.1.0-py3-none-any.whl.
File metadata
- Download URL: chenki-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b720bfb5e8853b2cf3880480d2b5a1b8714a5621f138f8fa6f23355d821c1ded
|
|
| MD5 |
fbf64e986e9a7e90fd4340f9c9340788
|
|
| BLAKE2b-256 |
b3045245d9c214fdd476f947d6a33a72a451679284e06a7b88bfcb1217f83f8d
|
Provenance
The following attestation bundles were made for chenki-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on brianchenhao/chenki
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chenki-0.1.0-py3-none-any.whl -
Subject digest:
b720bfb5e8853b2cf3880480d2b5a1b8714a5621f138f8fa6f23355d821c1ded - Sigstore transparency entry: 1575313141
- Sigstore integration time:
-
Permalink:
brianchenhao/chenki@4af25c98c0357a6974eeffef4b46907b58a9da8d -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/brianchenhao
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4af25c98c0357a6974eeffef4b46907b58a9da8d -
Trigger Event:
push
-
Statement type: