Comments (6)
The issue you're encountering with trulens_eval
version 0.28.0, related to either a missing alembic.ini
file or a KeyError
for 'formatters', seems to stem from changes or missing configurations in this specific version. The alembic.ini
file is crucial for Alembic to manage database migrations, and the KeyError
suggests a possible misconfiguration or missing section in this file or related configuration files.
To address this issue, consider the following steps:
-
Verify Installation and Dependencies: Ensure that all dependencies are correctly installed. This includes not only
trulens_eval
but alsoalembic
andSQLAlchemy
, as they are closely tied to the functionality that seems to be failing. -
Check for Version Conflicts: Use utilities provided by
trulens_eval
to check for any version conflicts among installed packages, especially those related toalembic
andSQLAlchemy
. -
Review Documentation or Source Code: If possible, review the
trulens_eval
documentation or source code for any notes on changes to theTru()
function or database migration process between versions 0.27.0 and 0.28.0. -
Reach Out to Maintainers: If the issue persists, consider reaching out to the
trulens_eval
maintainers for more direct support, as they may offer specific guidance or acknowledge a known issue with the version in question.
Downgrading to version 0.27.0 as a temporary workaround is sensible, but for a long-term solution, following these steps should help identify and resolve the root cause of the problem.
Sources
- trulens_eval/trulens_eval/utils/imports.py
- trulens_eval/trulens_eval/database/migrations/alembic.ini
- trulens_eval/trulens_eval/tru.py
About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
If you want to continue the conversation, start your reply with @dosu-bot.
from trulens.
Getting the same error using 0.28.0, but back to 0.27.2 is work!
from trulens.
Hi @piotrm0 , just tested with the patch release and that has fixed the issue for me, thanks!
from trulens.
Getting the same error!
from trulens.
Thanks for the report. I'm having trouble replicating with the listed versions. Can you post the entirety of python --version
and pip list
?
Nevermind. I can replicate it on a fresh env.
from trulens.
Hi again. I found one issue which might be the problem here. A patch release 0.28.1 is up. Please update trulens_eval and let me know if the issue is fixed.
from trulens.
Related Issues (20)
- [BUG] Azure openai shows 404 error HOT 1
- Outdated documentation for Groundedness HOT 2
- [BUG] Bedrock provider always gives: "Groundedness per statement in source: 0%" HOT 5
- [BUG] Problem with custom retriever. It's triggering "Found more than one `BaseRetriever` in app". HOT 5
- [BUG] Using AzureOpenAI provider does not show token usage/price HOT 2
- [FEAT] ARES integration possible? HOT 2
- [BUG] Inconsistent results between records variable values and dashboard/leaderboard values HOT 7
- [BUG] v0.20.3 of trulens-eval AzureOpenAI object has no attribute 'generate_score' HOT 2
- Deploy Trulens with FastAPI HOT 5
- from trulens_eval.feedback import Groundedness Not working HOT 2
- [BUG] Selector __record__.app.retrieve.args.query does not exist in source data. HOT 10
- [Recursion Error] Calling TruLlama() HOT 8
- context_selection doesn't work correctly when chat_mode = "context" HOT 8
- Langchain Quickstart notebook does not work HOT 3
- The system is happy about the model saying it doesn't know something even though it has been stated in the prompt HOT 3
- TruLens Docs (Feedback Functions) Graphic Improvement Suggestion HOT 1
- [BUG] optional packages requirements with python 3.8 requirements resolution
- [BUG] App Freezes after Crash on Another Thread followed by `app.wait_for_feedback_results()` HOT 1
- [FEAT] Running on existing data HOT 1
- [FEAT] Support for multi-modal RAG evaluation (including images, tables, etc.) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trulens.