Embark on a wine exploration journey with LangChain, crafting a self-querying retriever for personalized wine recommendations. This guide covers:

  • Library Setup: Installation of langchain, huggingface_hub, and more.
  • Setting the Scene: Introduction inspired by Sam’s insights into LLMs.
  • Crafting the Retriever: Building a wine recommendation retriever using LangChain.
  • Example Data Delight: Exploring example wine data with rich metadata.
  • Querying Magic: Learning to query for wine recommendations with various filters.
  • Fine-Tuning with Filters: Refining searches based on grape variety, country, and ratings.
  • Exploring Limitations: Setting limits on search results for tailored recommendations.
  • Expert Interaction: Using a Gradio interface for expert-level wine discussions.

Create your personal wine expert with LangChain and dive into the world of wine discovery. 🍷

Image by Chase Clark

Open In Colab