Structured Text Generation
-
Updated
Nov 10, 2024 - Python
Structured Text Generation
Resource list for generating JSON using LLMs via function calling, tools, CFG. Libraries, Models, Notebooks, etc.
BAML is a language that helps you get structured data from LLMs, with the best DX possible. Works with all languages. Check out the promptfiddle.com playground
Experimental Code for StructuredRAG: Structured Outputs in Retrieval-Augmented Generation
Query language for blending SQL logic and LLM reasoning across structured + unstructured data. [Findings of ACL 2024]
Extract structured data from local or remote LLM models
Structured Generation Evals
TensorRT-LLM server with Structured Outputs (JSON) built with Rust
A guide to structured generation using constrained decoding
Speculative grammar backtracking algorithm for LLM decoding conforming to some lark context-free grammar (CFG)
Examples of code that use Outlines to enable structured text generation for LLMs running on Modal
Mistral AI Fine-tuning Hackathon
A gentle tutorial on structured generation using Anthropic and Pydantic
Word alignment of multilingual sentences using structured generation
A fiction machine inspired by Borges
Progressively extracts structured information from multi-turn user chats using pydantic schemas and LLMs
Add a description, image, and links to the structured-generation topic page so that developers can more easily learn about it.
To associate your repository with the structured-generation topic, visit your repo's landing page and select "manage topics."