Installation¶
LPGCast needs Python 3.11 or later and graflo 1.17 or later.
To work on LPGCast or run the examples, install from a clone:
What it installs¶
Six runtime dependencies and nothing else: graflo, openai, pydantic,
pydantic-settings, click and pyyaml. There is no LangChain, no encoder
and no vector store; a test keeps it that way.
| Command | What it is |
|---|---|
lpgcast (alias text2lpg) |
sheet, select and cast; see Command line |
lpgcast-bench |
the benchmark |
Pointing it at a model¶
Any OpenAI-compatible endpoint: OpenAI itself, Ollama's /v1, vLLM. Settings
come from environment variables only; no file is read.
Without an API key LPGCast makes no request at all, and serves only replies it has cached. Every setting is listed in Settings.