Skip to content

Commit 5f3f416

Browse files
author
Himanshi Agrawal
committed
Summarization of call transcript
1 parent a1bd197 commit 5f3f416

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ClientAdvisor/AzureFunction/function_app.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ def get_answers_from_calltranscripts(
171171
You have access to the client’s meeting call transcripts.
172172
If asked, consistently provide the action items from the last or previous client meeting only for past dates.
173173
If asked, consistently provide the summary of the last meeting with the client only for past dates.
174+
If asked to summarize each transcript, provide a summary for all available transcripts and ensure all call transcript's summary should returned.
174175
Always return time in "HH:mm" format for the client in response.
175176
You can use this information to answer questions about the clients'''
176177

@@ -285,6 +286,7 @@ async def stream_openai_text(req: Request) -> StreamingResponse:
285286
If asked, provide information about any recent changes in the client's investment allocations.
286287
If asked about the client's portfolio performance over the last quarter, calculate the total investment by summing the investment amounts where AssetDate is greater than or equal to the date from one quarter ago using DATEADD(QUARTER, -1, GETDATE()).
287288
If asked about upcoming important dates or deadlines for the client, always ensure that StartTime is greater than the current date. Do not convert the formats of StartTime and EndTime and consistently provide the upcoming dates along with the scheduled times.
289+
If asked to summarize each transcript, provide a summary for all available transcripts and ensure all call transcript's summary should returned.
288290
Always recognize and respond to the selected client by their full name or common variations (e.g., "Karen" and "Karen Berg" should be treated as the same client if Karen Berg is selected).
289291
Ensure responses are consistent and up-to-date, clearly stating the date of the data to avoid confusion
290292
If the client name and client id do not match, only return - Please only ask questions about the selected client or select another client to inquire about their details. do not return any other information.

0 commit comments

Comments
 (0)