This is a simple project that works as a pet name generator to exercise core langchain and openai concepts
- Clone the repo:
git clone https://github.com/williambrunos/langchain_llm_app.git
- Create an OpenAI account
- Create and get your OpenAI API Key on your account
- Rename
.env.example
file to.env
- On the
.env
file, create a variable namedOPENAI_API_KEY = "<<YOUR_KEY>>
Run this command on your prompt window at the root of the project:
streamlit run main.py
- Chose the type of animal within the options
- Write the color of the animal
- Press CTRL+ENTER or related to apply and get sugestions from ChatGPT