Chainlit / literalai-python

https://docs.getliteral.ai/
Apache License 2.0
12 stars 0 forks source link

fix: support llama-index >= 0.11.0 #115

Closed desaxce closed 2 months ago

desaxce commented 2 months ago

LLamaIndex version 0.11.0 introduced dependency on pydantic v2 which prevents underscore prefixed Field() on classes.

Changes:

To test:

from literalai import LiteralClient
lc = LiteralClient(api_key="xxx")
lc.instrument_llamaindex()