ValueError: Feedback logging requires App.connector
to be specified.
#2060
Replies: 1 comment 1 reply
-
Hi @MarSchHoeSie! I'm Dosu and I’m helping the trulens team. This error means that when you create a TruApp instance with feedbacks, you must also specify a database connector. The connector is required for logging feedbacks—without it, the system doesn't know where to store the feedback data, so it raises this error see source. To resolve this, pass a connector when you initialize your TruApp. For example: from trulens.core import DBConnector
from trulens.apps.app import TruApp
connector = DBConnector(...) # configure your connector here
tru_app = TruApp(
app=my_app,
feedbacks=[...],
connector=connector
) Make sure your connector is properly configured for your environment. If you already have a session or connector, ensure it's passed in as shown above. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
While creation of an instance of TruApp with feedbacks I get the following error message:
ValueError: Feedback logging requires
App.connector
to be specified.What does this error mean and how can I resolve it?
Beta Was this translation helpful? Give feedback.
All reactions