• Stars
    star
    176
  • Rank 216,987 (Top 5 %)
  • Language
    Python
  • Created over 1 year ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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

More Repositories

1

Synthetic-Plants

Dataset augmentation with Generative Adversarial Network for crop/weed segmentation
Python
17
star
2

Planar-Monocular-SLAM

SLAM system using Total Least Square algorithm to determine the trajectory of a robot moving in a given environment
Python
9
star
3

Behavioral-Cloning

Human behavior cloning using Convolutional Neural Networks in order to learn how to steer the car in a simulated track
Jupyter Notebook
5
star
4

Fire-Extinguishers-Drones

Implement Contract Net Protocol for a multi agent cooperation system to manage a group of UAVs to automatically extinguish fires in a forest
Java
3
star
5

CAN-Bus-Shield

CAN Bus Shield for Arduino, designed on Proteus
2
star
6

Modern-Portfolio-Theory

Modern Portfolio Theory and Dollar Cost Averaging simulation for the stock market
JavaScript
2
star
7

Malware-Analysis

Classification of Android malware applications based on Naive Bayes and SVM classifiers, given features extracted from the manifest.xml file and from the disassembled code
Jupyter Notebook
2
star
8

Network-Infrastructures

Solved homeworks of Network Infrastructures class (Master Artificial Intelligence and Robotics)
Shell
2
star
9

Model-Deployment

Python
1
star
10

Atom-Simulator

Atom simulator, where the user can see and interact with any element of the periodic table, with its correct number of protons, neutrons and electrons
JavaScript
1
star
11

Chinese-Word-Segmentation

Chinese word segmentation using Bidirectional LSTM
Python
1
star
12

Semantic-Segmentation

Labeled the pixels of a road in images using a Fully Convolutional Network (FCN)
Python
1
star
13

Exercises-Artificial-Intelligence

Solved exercises for the class of Artificial Intelligence (Master Artificial Intelligence and Robotics)
Jupyter Notebook
1
star
14

fastText

Word embedding using fastText algorithm with EuroSense dataset
Python
1
star
15

RSA-Algorithm

Very simple RSA implementation to demonstrate the use of public and private keys to encrypt and decrypt messages
Jupyter Notebook
1
star
16

Udacity-Artificial-Intelligence-for-Robotics

Exercises resolution for the course Artificial Intelligence for Robotics
Python
1
star
17

Ibis_Cloud

Automated backup system, using a Raspberry Pi board as server, client’s software developed in Python, MySQL database and Rsync protocol for synchronization. The server is automatically updated as soon as any file is created, edited or deleted.
Python
1
star
18

Probabilistic-Robotics

Solved exercises for the class of Probabilistic Robotics (Master Artificial Intelligence and Robotics)
MATLAB
1
star
19

Functional-Safety

Functional safety analysis of lane keeping assistance and lane departure warning including developing a hazard and risk analysis, safety concepts, and engineering safety requirements
1
star
20

Computer-Graphics-WebGL

Use WebGL with control code written in JavaScript in order to draw in an HTML canvas in a web browser
JavaScript
1
star