Skip to content

Commit

Permalink
fix
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 4478ccf commit 9ede063
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions integrations/langchain/src/databricks_langchain/genie.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def _query_genie_as_agent(input, genie_space_id, genie_agent_name):
return {"messages": [AIMessage(content="")]}


@mlflow.trace(type="AGENT")
def GenieAgent(genie_space_id, genie_agent_name="Genie", description=""):
"""Create a genie agent that can be used to query the API"""
from functools import partial
Expand Down
2 changes: 1 addition & 1 deletion src/databricks_ai_bridge/genie.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def __init__(
self.description = description


@mlflow.trace(name="My Span")
@mlflow.trace(type="PARSER")
def _parse_query_result(resp) -> Union[str, pd.DataFrame]:
columns = resp["manifest"]["schema"]["columns"]
header = [str(col["name"]) for col in columns]
Expand Down

0 comments on commit 9ede063

Please sign in to comment.