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.9.2.tar.gz (1.4 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.9.2-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: struckdown-0.9.2.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for struckdown-0.9.2.tar.gz
Algorithm Hash digest
SHA256 f95267b0d4b11e194fc2d34ee3c3c039514e59e02d5f90bc4012e3cf38332fb3
MD5 9d2ec02911bdd6071edac96b8b2d655d
BLAKE2b-256 32c06d6137da7e805e1f4d5be4b6435eb1d24ad367d6f946b5ccc9c0fd1e4a6e

See more details on using hashes here.

File details

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

File metadata

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

Hashes for struckdown-0.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 56882fbae99f3d30e4895608c436706ddeaab4e344331cbd2da68fb39d1b70b9
MD5 687562d5a203ac1ee7ef16d433861bf6
BLAKE2b-256 3c303acef48c87f3cdd26c07df676e5769c57a540e44eb13291bfc0756fad717

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