Closed nicolascepeda closed 10 months ago
Thanks for the praise @nicolascepeda !!
@piotrm0 is taking on a bunch of the pydantic work right now so I'll assign to him.
hey - i have the same issue. Trulens is using an old version of pydantic which isn't compatible with the latest. unfortunately this is causing an unresolvable dependency conflict in my project - Because no versions of trulens-eval match >0.18.1,<0.19.0 and trulens-eval (0.18.1) depends on pydantic (>=1.10.7,<2), trulens-eval (>=0.18.1,<0.19.0) requires pydantic (>=1.10.7,<2). So, because ce-demo depends on both pydantic (2.4.2) and trulens-eval (^0.18.1), version solving failed.
Our latest release does not work with pydantic >= 2. This work is in progress and should be ready for release next week.
thank you! I will circle back next week. Really excited to try this out!
To add a voice to the choir, we're also waiting for Pydantic v2 support (or at least some mechanism to allow Pydantic v2 to function in the environment, since we depend on projects that now require Pydantic >=2).
Looking forward to the release, hope it ships soon!
Hey @mnicstruwig @marycampus @nicolascepeda ! Pydantic v2 support is released! Please upgrade to trulens_eval==0.19.1
Thanks!
Hi Guys, thanks for the awesome work! TrueLens is a Gem!
I am currently doing the setup on my project but right after doing the pip install of true_eval and run the code I get following exception:
NameError: Fields must not use names with leading underscores; e.g., use 'WithClassInfo__tru_class_info' instead of '_WithClassInfo__tru_class_info'.
I assume it to be a problem with the pydantic dependency, in the requirements.txt there is no pydantic version specified. Do you have seen this error in the past? Any idea what is the current pydantic version being supported?
Thanks a lot