Spaces:
Running
Running
title: Chatbot | |
emoji: 🫑 | |
colorFrom: green | |
colorTo: indigo | |
sdk: gradio | |
sdk_version: 3.23.0 | |
app_file: chatbot/app.py | |
pinned: false | |
license: unknown | |
# Vegan Recipe Chatbot | |
 | |
## Quickstart | |
`git clone` the repo | |
```sh | |
cd lv-recipe-chatbot | |
``` | |
Install Python poetry for dependency management. | |
```sh | |
poetry install | |
``` | |
Put API secrets in .env | |
```sh | |
cp .env.example .env | |
# edit .env with your secret key(s). Only OPEN_AI_KEY is required. | |
``` | |
One option is to enter the poetry environment. | |
```sh | |
poetry shell | |
``` | |
Then start the Gradio demo. | |
```sh | |
python app.py | |
``` | |
## Useful links | |
* [Task Matrix (Formerly Visual ChatGPT)](https://github.com/microsoft/TaskMatrix) | |
* [LangChain](https://python.langchain.com/en/latest/index.html) | |
* [LLM Prompt Engineering](https://www.promptingguide.ai) | |
* [OpenAI best practices for prompts](https://help.openai.com/en/articles/6654000-best-practices-for-prompt-engineering-with-openai-api) | |