Cookbooks: Leveraging Structured Outputs¶
Quick Links¶
- How are single and multi-label classifications done using enums?
- How is AI self-assessment implemented with
llm_validator
? - How to do classification in batch from user provided classes.
- How are exact citations retrieved using regular expressions and smart prompting?
- How are search queries segmented through function calling and multi-task definitions?
- How are knowledge graphs generated from questions?
- How are complex queries decomposed into subqueries in a single request?
- How are entities extracted and resolved from documents?
- How is Personally Identifiable Information sanitized from documents?
- How are action items and dependencies generated from transcripts?
- How to enable OpenAI's moderation
- How to extract tables using GPT-Vision?
- How to generate advertising copy from image inputs
- How to use local models from Ollama
- How to store responses in a database with SQLModel
- How to use groqcloud api
- How to do document segmentation using LLMs?
- How to save 50% of API costs with OpenAI's Batch API using Instructor
Explore more!