Skip to main content

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


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.6.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

struckdown-0.4.6-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

Details for the file struckdown-0.4.6.tar.gz.

File metadata

  • Download URL: struckdown-0.4.6.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

Hashes for struckdown-0.4.6.tar.gz
Algorithm Hash digest
SHA256 e76a38e8d627bcd9ac8353c3429b7d8d326c86417d9fa981507f0d4b0b6ac061
MD5 9859a438e8c4c75bb01df53bea24523b
BLAKE2b-256 8e52f6752cf969bd97134bb5e977c45c3292f5db1189e7651acf5dbb646ff51d

See more details on using hashes here.

File details

Details for the file struckdown-0.4.6-py3-none-any.whl.

File metadata

  • Download URL: struckdown-0.4.6-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

Hashes for struckdown-0.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 53dce1dca48d351e3b9814007d762aa92b3c24fe2e7d74d36b9f745b42e6543a
MD5 afa741b13cd89955298d6179e09e2e47
BLAKE2b-256 99c631504a4639cd42326399fffe91aeb5c767964596aab89709a7bb5d5abae4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page