Using LangchAIn/LLamaIndex with Pandas - Enhancing Trip Planner

Using LangchAIn/LLamaIndex with Pandas - Enhancing Trip Planner

November 19, 2024

What if we could use AI to chat about weather patterns in a location?

By using Langchain, together with pandas DF, we will extract relevant information.

The weather information?

Thats covered on the Python Trip Planner Project.

With MeteoStat and OpenMeteo APIs.

Intro to LangChain with PandasDF

As commented earlier this year, I was inspired by Alejandro AO and its Python AI projects.

I commented the PDF one here

LangChain is an alternative to PandasAI.

ℹ️
I am creating a public repo with all sort if interesting RAG libraries to Chat over Data 💻

Pre Requisites

ℹ️
See the modified working code here 💻

LlamaIndex and Pandas DataFrames

Open in Google Colab

ℹ️
Ive documented LlamaIndex at Chat over Data 💻

Improvements

The current Trip Planner Apps does not have any AI feature. Yet.

Why not adding it Chat capabilities over the weather data that we are fetching already?

Its ready on Pandas DF.

So lets make some tweaks and get trip planner V3 ready, this time with AI Chat over pulled weather

Im keeping the app framework as DASH


FAQ

You can also try, these below (Which I already covered):

API Keys for LLMs