cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Generative AI
Explore discussions on generative artificial intelligence techniques and applications within the Databricks Community. Share ideas, challenges, and breakthroughs in this cutting-edge field.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Genie One Answers Likes and Dislikes Button

SenthilKrishna
New Contributor II

Genie one answers shows an option to like or dislike answers. Where do they get stored? Is there a way for me to identify how many dislikes of the Q&A pair, and perform an analysis over that pattern and come up with proper instructions, benchmark testing or examples to respective agents?

2 REPLIES 2

Divya_Pathak
New Contributor III

Yes, you can track thumbs-up/thumbs-down feedback in Genie and use it to improve your agents.
Where is the feedback stored?
Feedback events are stored in the Databricks audit log system table system.access.audit. You can query them with:

SELECT
event_time,
user_identity.email AS user_email,
request_params.space_id AS space_id,
request_params.feedback_rating AS feedback_rating
FROM system.access.audit
WHERE service_name = 'aibiGenie'
AND action_name = 'updateConversationMessageFeedback'
AND event_date >= current_date() - INTERVAL 30 DAYS;

How to count dislikes per space?

SELECT
request_params.space_id AS space_id,
COUNT(*) AS negative_count
FROM system.access.audit
WHERE service_name = 'aibiGenie'
AND action_name = 'updateConversationMessageFeedback'
AND request_params.feedback_rating = 'NEGATIVE'
AND event_date >= current_date() - INTERVAL 30 DAYS
GROUP BY request_params.space_id
ORDER BY negative_count DESC;

Important caveat: The audit log records every rating event, so if a user changes their rating, you'll see multiple rows for the same message. You should consider the latest rating per message rather than simply counting all negative events.

Also note that the audit log gives you the feedback rating and space ID, but not the full Q&A content. To analyze the actual questions and generated SQL, you'll need to use the Genie Conversation API to retrieve conversation messages.

Suggested analysis workflow:

  • Extract feedback events from the audit logs (as above).
  • Retrieve the corresponding conversation messages using the Genie Conversation API.
  • Store the questions, generated SQL, feedback ratings, and agent/space IDs in a Delta table.
  • Analyze negatively rated responses to identify recurring issues โ€” e.g. incorrect joins, missing business definitions, wrong aggregations.
  • Based on these patterns, update the Genie instructions, SQL examples, or metadata.
  • Add the problematic questions to Genie Benchmarks with the expected SQL/results, and rerun them after making changes to verify whether accuracy improved.

Quick manual option: In the Genie UI, you can also click "Add as instruction" or "Add as benchmark" directly on a problematic Q&A pair โ€” this is faster than building a programmatic pipeline for one-off fixes.

One thing to keep in mind: Negative feedback doesn't always mean the SQL is incorrect โ€” it could be a formatting issue, an unhelpful phrasing, or a user expectation mismatch. Reviewing the actual response before making changes is always worthwhile.

References:
Monitor Genie feedback using audit logs 

Genie Conversation API
Genie monitoring and benchmarks

Hope this helps!

 

Lu_Wang_ENB_DBX
Databricks Employee
Databricks Employee

Genie One

  • Feedback is recorded in the workspace audit system table: system.access.audit, under service_name = 'genieChat' and action_name = 'updateGenieChatConversationFeedback'. It is associated with the conversation_id and rating.
  • You can count dislikes with:
SELECT
  COUNT(*) AS dislike_count
FROM system.access.audit
WHERE service_name = 'genieChat'
  AND action_name = 'updateGenieChatConversationFeedback'
  AND request_params.feedback_rating = 'NEGATIVE';
  • The audit record is metadata, not the full Q&A transcript. To analyze the specific question/answer, correlate the conversation ID with Genie conversation data/API access.

Recommended improvement loop

  1. Group dislikes by topic, data asset, and failure mode.
  2. Convert recurring issues into clearer instructions, trusted queries/functions, or examples.
  3. Add those questionsโ€”with gold-standard SQLโ€”to Genie benchmarks.
  4. Re-run benchmarks after each change; feedback does not automatically retrain or modify Genie.

For Genie Agents, the Monitor tab also supports rating filters, weekly thumbs-up/down trends, and Analyze Agent Usage, which summarizes recent issues and suggested context improvements.