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.4.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.4.1.tar.gz.
File metadata
- Download URL: struckdown-0.4.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 |
b02451540a34fa8b405b62617a7dacf06cdb5e5a03a934500d4882b7a7579846
|
|
| MD5 |
6131064aadc9723ac5765a690e77cfe4
|
|
| BLAKE2b-256 |
361ab9bb321011be464d9a75a3f42aae8d13992b4cf5c1fc80509b8b5c080aca
|
File details
Details for the file struckdown-0.4.1-py3-none-any.whl.
File metadata
- Download URL: struckdown-0.4.1-py3-none-any.whl
- Upload date:
- Size: 1.3 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 |
90e3db807ca9bb63f4e3c6ebde8909f9d264be54f92ec2a5848b1ddea7f5323e
|
|
| MD5 |
9fede410b599b3f019a2148e36574159
|
|
| BLAKE2b-256 |
b4ce6c94c2e2a71cf44128cb6cdaedd39aa050ee328d486525397229c05a4dc1
|