Skip to content

rcruzin-ai/ai-task

Repository files navigation

Sentiment Analysis Demo App

Introduction


How It Works


App Workflow

The application follows these steps to provide responses to your questions:

Dependencies and Installation


To install the app, please follow these steps:

  1. Clone the repository to your local machine.

  2. Install the required dependencies by running the following command:

    pip install -r requirements.txt
    
  3. Obtain an API key from OpenAI and add it to the .env file in the project directory.

OPENAI_API_KEY=your_secrit_api_key

Usage


To use the app, follow these steps:

  1. Ensure that you have installed the required dependencies and added the OpenAI API key to the .env file.

  2. Run the main.py file using the Streamlit CLI. Execute the following command:

    streamlit run app.py
    
  3. The application will launch in your default web browser, displaying the user interface.

  4. Load multiple PDF documents into the app by following the provided instructions.

  5. Ask questions in natural language about the loaded PDFs using the chat interface.

Contributing


This repository is intended for project demo purposes only and does not accept further contributions.

License


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages