需要通过 LiteLLM 配置外部 LLM;资料列出 OpenAI API 及 gpt-4.1-mini,并标注外部服务、数据边界和付费服务依赖。
如何开始
首次使用路径包括执行 pip install pandasai、使用 API 密钥配置 LiteLLM、加载 CSV,并调用 df.chat()。
核验依据
GitHub 项目简介: Chat with your database or your datalake (SQL, CSV, parquet). PandasAI makes data analysis conversational using LLMs and RAG.
README: PandasAI is a Python library that makes it easy to ask questions to your data in natural language. It helps non-technical users to interact with their data in a more natural way,…
README: response = df.chat("What is the average revenue by region?")