In this video, we'll learn about Langroid, an interesting LLM library that amongst other things, lets us query tabular data, including CSV files! It delegates part of the work to an LLM of your choice under the hood, and I decided to take it for a spin using Kaggle's world population dataset. We give it three different questions to answer and then I write Pandas code to check the results. The results are sometimes good, sometimes downright hallucinations!
#pandas #llm #mixtral #litellm #ollama
Resources
Langroid - https://github.com/langroid/langroid/...
litellm - https://litellm.ai/
Mixtral (via Ollama) - https://ollama.ai/
World population data - https://www.kaggle.com/datasets/tanis...
Code - https://github.com/mneedham/LearnData...