You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description="Provides quantified results from the database.")
41
-
asyncdefget_sql_response(
41
+
asyncdefget_database_metrics(
42
42
self,
43
43
input: Annotated[str, "the question"]
44
44
):
@@ -94,8 +94,8 @@ async def get_sql_response(
94
94
95
95
returnanswer
96
96
97
-
@kernel_function(name="ChatWithCallTranscripts", description="Provides summaries or detailed explanations from the search index.")
98
-
asyncdefget_answers_from_calltranscripts(
97
+
@kernel_function(name="GetCallInsights", description="Provides summaries, explanations, and insights from customer call transcripts.")
98
+
asyncdefget_call_insights(
99
99
self,
100
100
question: Annotated[str, "the question"]
101
101
):
@@ -168,13 +168,12 @@ def replace_marker(match):
168
168
returnanswer
169
169
170
170
@kernel_function(name="GenerateChartData", description="Generates Chart.js v4.4.4 compatible JSON data for data visualization requests using current and immediate previous context.")
171
-
asyncdefget_chart_data(
171
+
asyncdefgenerate_chart_data(
172
172
self,
173
173
input: Annotated[str, "The user's data visualization request along with relevant conversation history and context needed to generate appropriate chart data"],
174
174
):
175
175
query=input
176
176
query=query.strip()
177
-
print("Query for chart data:", query, flush=True)
178
177
try:
179
178
agent_info=awaitChartAgentFactory.get_agent()
180
179
agent=agent_info["agent"]
@@ -208,5 +207,4 @@ async def get_chart_data(
208
207
209
208
exceptException:
210
209
chartdata='Details could not be retrieved. Please try again later.'
0 commit comments