Expand description
This module provides functionality for extracting structured data from text using LLM APIs. It handles the communication with OpenAI’s API, formatting requests and parsing responses according to a specified data model schema.
Functions§
- query_
openai - Queries the OpenAI API with a given prompt and pre-prompt, using a specified data model and root.