Langchain-Pydantic
Wrapper to make pydantic models play more nicely with langchain.
Still very toy-ish, probably will implement OutputParser pattern
Installation
- On a Python virtual environment, run
pip install -r requirements.txt
- Copy
example.env
to.env
and add your OpenAPI API key.
Running it
python3 main.py
Tracing
If you need tracing for some reason:
- Run the following command
docker-compose up
- Change the
LANGCHAIN_TRACING
key on.env
totrue