Effortlessly harness the power of LLMs on Excel and DataFrames—seamless, smart, and efficient!
Welcome to the LLMWorkbook documentation site! This site provides comprehensive documentation for integrating Large Language Models with your tabular data workflows.
pip install llmworkbook
from llmworkbook import LLMConfig, LLMRunner, LLMDataFrameIntegrator
import pandas as pd
# Configure LLM
config = LLMConfig(
provider="openai",
system_prompt="Analyze the data",
options={"model": "gpt-4o-mini"}
)
# Process DataFrame
runner = LLMRunner(config)
integrator = LLMDataFrameIntegrator(runner=runner, df=your_df)
result = integrator.add_llm_responses(
prompt_column="input_text",
response_column="llm_output",
async_mode=True
)