bijukunjummen / genai-chat

Chat application using streamlit and VertexAI text-bison

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chat application using Streamlit and Vertex AI Text Bison

Get python env with right deps pulled in

Create a new virtual environment, and pull in the dependencies

python3 -m venv ~/pythonenvs/streamlit-genai
source ~/pythonenvs/streamlit-genai/bin/activate
pip install poetry

poetry install

Set the OpenAI key:

export OPENAI_API_KEY=<mykey>

Start the application

poetry run streamlit run app.py

About

Chat application using streamlit and VertexAI text-bison


Languages

Language:Python 100.0%