LLMWorkbook

LLMWorkbook Logo

LLMWorkbook

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.

Quick Navigation

Installation

pip install llmworkbook

Key Features

Quick Example

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
)