POC LangChain

Install

Create a file .env with OPENAI_API_KEY env:

OPENAI_API_KEY=<my-key>

Once this is done, run the command below to isolate Python and our application's dependencies:

python -m venv venv

To activate run:

source venv/bin/activate

To install application's dependencies:

pip install -r requirements.txt

Cat Name App

To run script files:

python cat-name-app/cat-name.py

Albums App

To run script files:

python albums-app/albums.py

Example:

PDF Chat

To run script files:

python -m streamlit run pdf-chat/streamlit_app.py

Example:

PDF

Source: https://www.sbc.org.br/images/flippingbook/computacaobrasil/computa_39/pdf/CompBrasil_39_180.pdf

Chat