Skip to content

Commit 785cbb3

Browse files
Merge pull request #580 from microsoft/revert-577-psl-pk-pluginkernel
revert: "refactor: Rename kernel functions for clarity and consistency"
2 parents 53f419e + bede2a5 commit 785cbb3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/api/plugins/chat_with_data_plugin.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ def greeting(self, input: Annotated[str, "the question"]) -> Annotated[str, "The
6666
answer = str(e)
6767
return answer
6868

69-
@kernel_function(name="GetDatabaseMetrics",
69+
@kernel_function(name="ChatWithSQLDatabase",
7070
description="Provides quantified results from the database.")
71-
def get_database_metrics(
71+
def get_SQL_Response(
7272
self,
7373
input: Annotated[str, "the question"]
7474
):
@@ -126,9 +126,9 @@ def get_database_metrics(
126126
answer = str(e)
127127
return answer
128128

129-
@kernel_function(name="GetCallInsights",
130-
description="Provides summaries, explanations, and insights from customer call transcripts.")
131-
def get_call_insights(
129+
@kernel_function(name="ChatWithCallTranscripts",
130+
description="Provides summaries or detailed explanations from the search index.")
131+
def get_answers_from_calltranscripts(
132132
self,
133133
question: Annotated[str, "the question"]
134134
):

0 commit comments

Comments
 (0)