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.7.2.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.7.2.tar.gz.
File metadata
- Download URL: struckdown-0.7.2.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 |
dc6c1e2b88fa457976e40a19d0cc3bf4a0ecc4e5a8f049a53febf3a6db27e469
|
|
| MD5 |
914976760e9b4056b5ebe2b6098e93ed
|
|
| BLAKE2b-256 |
bf0a2f6f4ee72f7db7b050f9deb57a9bc1bc092526141f96c491ac4193f952b1
|
File details
Details for the file struckdown-0.7.2-py3-none-any.whl.
File metadata
- Download URL: struckdown-0.7.2-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 |
828ee7144753d1c511593e3190a2cb6033fc0d1e7d64e016366335cd2128f40e
|
|
| MD5 |
b181bb06dc73ada192511d344ae18bc8
|
|
| BLAKE2b-256 |
4cdef86cebe4e1f3d6e2b9dd41fb01ba8e43734010645865f96679893f63d6e4
|