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.3.16.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.3.16.tar.gz.
File metadata
- Download URL: struckdown-0.3.16.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 |
d9addb27bfccdbf8666583696408883319f2b1cac26152b06e059a82ee829238
|
|
| MD5 |
b35e42a20fa8b02fa2c66a679a1a400c
|
|
| BLAKE2b-256 |
88b8916fa42cb290c1ef46c6d4e6aba681507aadbf1aa504ba9487d067e85580
|
File details
Details for the file struckdown-0.3.16-py3-none-any.whl.
File metadata
- Download URL: struckdown-0.3.16-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 |
20a58869a88e683d5f2331f15186b13dfaa43fd7f1127e74485dbe15d7bfe30b
|
|
| MD5 |
25c5a72655a3e69d9cc46d07a8382fb2
|
|
| BLAKE2b-256 |
ee4035b5c77093ec6eaaf3808d86c09a5840aa7bdee60c1120f92bb18bc47ecd
|