GithubHelp home page GithubHelp logo

tabbba / cinebot Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 53 KB

Cinebot is an innovative application that seamlessly integrates OpenAI's GPT models with Streamlit's user-friendly interface. It serves as a chatbot, leveraging natural language processing to provide accurate and contextually relevant responses to cinema-related queries.

Python 100.00%

cinebot's Introduction

CINEBOT

Cinebot is an innovative application that seamlessly integrates OpenAI's GPT models with Streamlit's user-friendly interface. It serves as a chatbot, leveraging natural language processing to provide accurate and contextually relevant responses to cinema-related queries.

Installation and Setup

Before running the application, you need to install the necessary dependencies. These dependencies are listed in the requirements.txt file included in the project. To install these dependencies, follow the steps below:

  1. Ensure Python is Installed: Cinebot requires Python. It's recommended to use Python 3.11 or newer. You can check your Python version by running python --version or python3 --version in your terminal or command prompt.

  2. Install Dependencies: Navigate to the root directory of the Cinebot project in your terminal or command prompt. Run the following command to install all required libraries:

    pip install -r requirements.txt
    

    This command reads the requirements.txt file and installs all the Python libraries listed there.

    1. Environment Variables: The application uses environment variables for configuration, such as the OpenAI API key and TMDb API key. Make sure to create a .env file in the root directory of your project and add your API keys like so:
```plaintext
OPENAI_API_KEY=your_openai_api_key_here
TMDB_API_KEY=your_tmdb_api_key_here
```

Replace `your_openai_api_key_here` with your actual OpenAI API key and `your_tmdb_api_key_here` with your TMDb API key.

These API keys are necessary for the application to function properly and access external services. The OpenAI API key is used for generating text-based content, while the TMDb API key is used for fetching movie data and generating visualizations.

Running Cinebot

After installing all dependencies and setting up the environment variables, you're ready to run the application. To do so, execute the following command in your terminal or command prompt from the root directory of the Cinebot project:

streamlit run app.py

This command starts the Streamlit server and opens the Cinebot application in your default web browser. You're now ready to interact with Cinebot and explore the world of cinema through an engaging chat interface.

image image

cinebot's People

Contributors

tabbba avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.