langchain-experiment

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.

Installation

On a Python virtual environment, run

pip install -r requirements.txt

Running it

  1. Create a .env file based on the example.env file, filling it with your HuggingFace and OpenAI API keys
  2. Run it with python3 main.py