Skip to content
プロジェクト

概要

Proof of concept app using LangChain and LLMs to retrieve information from graphs, built with the IMDB dataset

AI・機械学習

この数値の測り方

できること

  • Search for movie titles within the graph
  • Discover similar movies using natural language queries
  • Automatic Google search for missing information

計測したスター増加

24時間
0
7日間
0
15日間
0
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

IMDB-LLM: Movie Query Made Simple

IMDB-LLM Demo

Welcome to IMDB-LLM, a proof of concept app that demonstrates the power of LangChain and LLMs in extracting information from graphs! In just 10 hours it is possible to develop a user-friendly application that enables users to search for movie titles in the IMDB dataset graph or discover similar movies using natural language queries. The best part? If the LLM lacks specific information, it will first search on Google, then query the title in the database.

Overview

IMDB-LLM's Graph Explorer is built using LangChain and LLMs, state-of-the-art technologies in natural language processing and machine learning. The application employs a graph representation of the IMDB dataset, encompassing data on movies, actors, directors, and more. Users can input queries in natural language, such as "Give me some drama movie options with Leonardo DiCaprio" or "Show me movies directed by Christopher Nolan", and the LLM will retrieve the pertinent information from the graph.

Should the LLM be unable to provide an answer, it will utilize the Google Search API to find supplementary information, which it will then use to refine the search.

Features

  • Search for movie titles within the graph
  • Discover similar movies using natural language queries
  • Automatic Google search for missing information

Installation and Setup

  1. Clone the repository:
git clone https://github.com/ibiscp/LLM-IMDB.git
  1. Navigate to the frontend directory and install the required dependencies
cd frontend
npm install
  1. Install the necessary dependencies for the backend
poetry install
  1. Launch the frontend
npm run start
  1. Set up the environment variables
export OPENAI_API_KEY=<your-openai-api-key>
export SERPAPI_API_KEY=<your-serpapi-api-key>
  1. Start the backend
python3 backend/main.py
  1. Open the application in your browser at http://localhost:3000

関連プロジェクトを探す

読み込み中…