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.9.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.9-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: struckdown-0.4.9.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.9.tar.gz
Algorithm Hash digest
SHA256 2221c77486be4e099ba2d08b0093267b32ab2c97870b95d72ef2a79a470f6512
MD5 8111766577c13f186d8c44547084b0dd
BLAKE2b-256 6eea50c752144628b8a658a873bf653e5911a723ffa815a770a5a6daabf1ee49

See more details on using hashes here.

File details

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

File metadata

  • Download URL: struckdown-0.4.9-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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 8a106a3138cbac8d6affca17ce69d767379a6abbf7ef58021a067aa52ab48ca4
MD5 83d31d031a493c12b127d6620ef68a50
BLAKE2b-256 52aab96b3c4a86e88023380859f8d074232c5563081948a028af58cea37df015

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