struckdown: markdown-like syntax for structured conversations with language models
Project description
struckdown
Markdown-based syntax for structured conversations with language models.
Installation
pip install struckdown
Quick Example
# Configure
export LLM_API_KEY="sk-..."
export LLM_API_BASE="https://api.openai.com/v1"
# Extract structured data
sd chat "Tell me a joke: [[joke]]"
sd batch *.txt "Purpose: [[purpose]] Price: [[number:price]]"
Documentation
Full documentation, examples, and tutorials:
https://github.com/benwhalley/struckdown
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
struckdown-0.8.1.tar.gz
(1.3 MB
view details)
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 struckdown-0.8.1.tar.gz.
File metadata
- Download URL: struckdown-0.8.1.tar.gz
- Upload date:
- Size: 1.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08bd616ed3abf9e4238bada20b6214bb8b09ed1d689f72ea9da380d15b8ec21b
|
|
| MD5 |
9e1632243e6336c30a713bbb174b149f
|
|
| BLAKE2b-256 |
f92ae39bc27581e8fe68e45667b80ade4e9d198182499ade0dadea5e9d67c37c
|
File details
Details for the file struckdown-0.8.1-py3-none-any.whl.
File metadata
- Download URL: struckdown-0.8.1-py3-none-any.whl
- Upload date:
- Size: 1.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15a8c1047eb4adc5519b016072c24ec543f316000b615841cde1e02dc456e7cc
|
|
| MD5 |
54e2f81ee0fc02d1aa33c3ef7b5f071e
|
|
| BLAKE2b-256 |
ea57295f1592e67cb1f673ed24b3b177d7b103e6267df6f895e601c187438bc0
|