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.6.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.6.1.tar.gz.
File metadata
- Download URL: struckdown-0.6.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 |
033d6a43f926e55fd48f77c96d635389d639b6042550517f6ef59c43d8a6afb2
|
|
| MD5 |
893c9ebc9aabfd2a75563abeb26bc827
|
|
| BLAKE2b-256 |
007b33c2ee6d2422f594d32df125ad0caaf66c9ef9a5534b540b897e5254e39b
|
File details
Details for the file struckdown-0.6.1-py3-none-any.whl.
File metadata
- Download URL: struckdown-0.6.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 |
ece50aae9c7cb8d4053a726e585e995c6b08a9351280bda658e34106075feffb
|
|
| MD5 |
5380ff539960e080a0fb79b8ed0c6632
|
|
| BLAKE2b-256 |
25052b8db21283b8c8140774999f75a9e5c0ba72759f38ed17f416e93cbf1755
|