Skip to content

Commit

Permalink
add trace
Browse files Browse the repository at this point in the history
Signed-off-by: Prithvi Kannan <[email protected]>
  • Loading branch information
prithvikannan committed Dec 18, 2024
1 parent f815b62 commit 4478ccf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/databricks_ai_bridge/genie.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ def poll_result():

return poll_result()

@mlflow.trace()
def ask_question(self, question):
resp = self.start_conversation(question)
return self.poll_for_result(resp["conversation_id"], resp["message_id"])

0 comments on commit 4478ccf

Please sign in to comment.