Skip to content
项目

关于

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

人工智能与机器学习

这些数字如何统计

可以做什么

  • 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个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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

探索相关项目

加载中…