Skip to content

Repository files navigation

Neural Movie Searcher

This project is a movie search application that uses a neural network to provide search results. It consists of a Python backend that handles the neural search and a React frontend for the user interface.

Project Structure

The project is divided into two main parts:

  1. The Python backend located in the root directory and the scratch_1 directory. The backend handles the neural search functionality. It uses the NeuralSearcher class from scratch_1/search.py and the create_document_fastembed and create_document_multi_lang functions from scratch_1/store.py to create and search through the document embeddings.
  2. The React frontend located in the movie-search-ui directory. The frontend provides a user interface for the movie search. It uses the handleSearch and searchMovies functions from movie-search-ui/src/App.js to handle user input and search for movies.

Setup

Backend

To set up the Python backend, you need to install the required Python packages. You can do this by running the following command in your terminal:

pip install -r requirements.txt

Then, you can start the backend by running the service.py script:

python service.py

Frontend

To set up the React frontend, navigate to the movie-search-ui directory and install the required Node.js packages:

cd movie-search-ui
npm install

You can then start the frontend by running the following command:

npm start

This will start the frontend in development mode. Open http://localhost:3000 to view it in your browser.

Usage

To use the application, simply type your search query into the search bar in the frontend. The application will then use the neural network to search for relevant movies and display the results.

Contributing

Contributions are welcome. Please submit a pull request if you have something to add or fix.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages