This section contains practical examples demonstrating how to use LLMWorkbook with different providers and data formats.
Most examples follow this pattern:
from llmworkbook import LLMConfig, LLMRunner, LLMDataFrameIntegrator
# 1. Configure provider
config = LLMConfig(provider="openai", ...)
# 2. Create runner
runner = LLMRunner(config)
# 3. Process data
integrator = LLMDataFrameIntegrator(runner=runner, df=df)
result = integrator.add_llm_responses(...)
Browse the individual files above to see complete, runnable examples for your specific use case.