A Langchain experiment.
Translates a prompt in Indonesian with bloomz, and queries a SQLite DB with output from GPT-3.5. The starting prompt is translated from an example on langchain's documentation.
On a Python virtual environment, run
pip install -r requirements.txt
- Create a
.env
file based on theexample.env
file, filling it with your HuggingFace and OpenAI API keys - Run it with
python3 main.py