Skip to main content

Package designed to simplify the concept of getting structured output from LLMs

Project description

Control your in-house LLM outputs by producing structured JSON outputs. llm_template enables the generation of robust JSON outputs from any instruction model. It can also create intricate schemas, working faster and more accurately than standard generation functions in most scenarios. This is achieved by injecting schema tokens into the response, compelling the LLM to generate only the values.

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

llm_template-0.1.0.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

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

llm_template-0.1.0-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file llm_template-0.1.0.tar.gz.

File metadata

  • Download URL: llm_template-0.1.0.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.12

File hashes

Hashes for llm_template-0.1.0.tar.gz
Algorithm Hash digest
SHA256 27b371681ce819aa1cbf4dff9753c0a594fcb53ae175620872792c99377790ac
MD5 c01807f576785118dba18fcfd49f86b4
BLAKE2b-256 88e8ef33f4fc7657d957db31e214c818169ef788a3c48221557b31048fc765bc

See more details on using hashes here.

File details

Details for the file llm_template-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: llm_template-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.12

File hashes

Hashes for llm_template-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 56aec28d35b1a8c7516a3b0ee8704c8d51905f66ffc232eec49f8f04e764fde2
MD5 27c395b856f613aada2a8ee1fe666e0c
BLAKE2b-256 643f4c03f7195337af97d1741f1773fe8075226191488795b0063264005ff0db

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