Skip to content

kamil-hassan201/conversation-intelligence-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Conversational Intelligence: Chat with Your Document

Welcome to the Conversational Intelligence project, where you can have interactive chats with your document!

Prerequisites

  • Python version 3.8, 3.9, or 3.10

Setup and Installation

  1. Install the required libraries:

    pip install openai llama-index pypdf sentence_transformers streamlit
  2. Open engine.py and on line 6, replace YOUR_OPENAI_API_KEY with your actual OpenAI API key.

  3. To chat with a new document:

  • First, delete the index_data folder.
  • Upload your desired file into the data folder.
  • Run the app again.

How to get an OpenAI API Key?

Anyone with a new account associated with a new number at OpenAI will receive a $5 free credit. If you're unfamiliar with how to get an API key, watch this tutorial video.

  1. Once everything is set up, run the app using:

    streamlit run app.py
    

About

This is the base code of Conversational Intelligence Workshop held on 19th October, 2023 at APU arranged by IEEE APU Student Branch.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages