Skip to main content

Self-hostable LLM client for restaurant tech.

Project description

chenki

Tests Coverage Python License

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


Download files

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

Source Distribution

chenki-0.1.0.tar.gz (16.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chenki-0.1.0-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

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

Hashes for chenki-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cc05ba580c7713e2d59e2c87b7917f6ca2b0c519f8dbde952bea9b2160c9a464
MD5 4211dee920e5cffb78445ba319572bfd
BLAKE2b-256 3b3f6e2786b6706b0cc21d4d10c4b68ce4fcbe84bd59adc69f95dd526118df0c

See more details on using hashes here.

Provenance

The following attestation bundles were made for chenki-0.1.0.tar.gz:

Publisher: publish.yml on brianchenhao/chenki

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for chenki-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b720bfb5e8853b2cf3880480d2b5a1b8714a5621f138f8fa6f23355d821c1ded
MD5 fbf64e986e9a7e90fd4340f9c9340788
BLAKE2b-256 b3045245d9c214fdd476f947d6a33a72a451679284e06a7b88bfcb1217f83f8d

See more details on using hashes here.

Provenance

The following attestation bundles were made for chenki-0.1.0-py3-none-any.whl:

Publisher: publish.yml on brianchenhao/chenki

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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