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

Uploaded Python 3

File details

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

File metadata

  • Download URL: struckdown-0.3.14.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.3.14.tar.gz
Algorithm Hash digest
SHA256 9acacdd122cdd61ceeae93288dd0f35d20a270ff4e25c979442c7aea62efef2a
MD5 602e069c39e91bc45ce9a09b31cade3a
BLAKE2b-256 df4f0c4a70aea3463e1d235bbc351d6c8e54f1391f6667bb3c64cdeb17d5a1dc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: struckdown-0.3.14-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.3.14-py3-none-any.whl
Algorithm Hash digest
SHA256 4c47a77c9e94dba2eedf52f17b537bd13d2535dfcb7b416cb9385a34c8e4bc6e
MD5 e436c4cc190585b493e1462ed7cad03c
BLAKE2b-256 28ba4995f8858e86f48028c11c8596f87fd5bbd04c8fc0f15b47ae08653b922b

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