JUHE API Marketplace

Building RAG Chatbot for Movie Recommendations with Qdrant and Open AI

Active

For the Qdrant and Open AI platform, this workflow automates movie recommendations by integrating data from GitHub and processing it with AI. It efficiently extracts movie details, generates embeddings, and queries a vector database to provide personalized movie suggestions based on user preferences. This streamlined process enhances user experience by delivering tailored recommendations quickly and accurately.

Workflow Overview

For the Qdrant and Open AI platform, this workflow automates movie recommendations by integrating data from GitHub and processing it with AI. It efficiently extracts movie details, generates embeddings, and queries a vector database to provide personalized movie suggestions based on user preferences. This streamlined process enhances user experience by delivering tailored recommendations quickly and accurately.

Target Audience

  • Movie Enthusiasts: Individuals looking for personalized movie recommendations based on their preferences.
  • Developers: Those interested in integrating AI and vector databases for recommendation systems.
  • Data Scientists: Professionals seeking to utilize machine learning for enhancing user experiences in media consumption.
  • Content Creators: People who want to build engaging applications that provide movie suggestions to their audience.

Problem Solved

This workflow addresses the challenge of finding relevant movie recommendations based on user preferences. By leveraging a vector database and AI embeddings, it effectively matches user queries with a curated dataset of movies, ensuring that users receive tailored suggestions that align with their tastes and interests.

Workflow Steps

  1. Manual Trigger: The workflow begins when a user clicks the ‘Test workflow’ button.
  2. GitHub Integration: It retrieves a CSV file containing the Top 1000 IMDB movies from a specified GitHub repository.
  3. Extract from File: The data is extracted from the CSV to prepare for processing.
  4. Embeddings Creation: Using OpenAI's embeddings model, the workflow generates vector representations of movie descriptions.
  5. Data Loading: The extracted movie data is loaded into a Qdrant vector store for efficient querying.
  6. Chat Trigger: The workflow listens for incoming chat messages to initiate the recommendation process.
  7. AI Agent: Upon receiving a message, the AI agent processes the user’s request to understand their preferences.
  8. Embedding Requests: It sends requests to OpenAI to create embeddings for both positive and negative examples based on user input.
  9. Qdrant Recommendation API: The workflow queries the Qdrant API to retrieve movie recommendations based on the generated embeddings.
  10. Meta Data Retrieval: It fetches detailed information about the recommended movies from the Qdrant database.
  11. Data Aggregation: The relevant details are aggregated and prepared for presentation to the user.
  12. Output: Finally, the top-3 movie recommendations are presented to the user without disclosing the recommendation scores.

Statistics

27
Nodes
0
Downloads
39
Views
12992
File Size

Quick Info

Categories
Complex Workflow
Manual Triggered
+2
Complexity
complex

Tags

manual
advanced
api
integration
complex
sticky note
files
storage
+6 more