Quickly summarizes the contents of youtube videos in a public playlist and answers questions based on it.
Create .env
file in the root directory of the project, copy and paste the below config. Replace the OPENAI_API_TOKEN
configuration value with your key {OPENAI_API_KEY}
. Other properties are optional to change and be default.
OPENAI_API_TOKEN={OPENAI_API_KEY}
EMBEDDER_LOCATOR=text-embedding-ada-002
EMBEDDING_DIMENSION=1536
MODEL_LOCATOR=gpt-3.5-turbo
MAX_TOKENS=200
TEMPERATURE=0.0
- From the project root folder, open your terminal and run
docker-compose up
. - Navigate to
localhost:8501
on your browser when docker installion is successful.
- Make sure that Python 3.10 or above installed on your machine.
- Download and Install Pip to manage project packages.
- Create an OpenAI account and generate a new API Key: To access the OpenAI API, you will need to create an API Key. You can do this by logging into the OpenAI website and navigating to the API Key management page.
Then, follow the easy steps to install and get started using the app.