Skip to content

Commit cddd63f

Browse files
Modified system message for get_answers_from_calltranscripts function
1 parent 3674ac9 commit cddd63f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ClientAdvisor/AzureFunction/function_app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def get_answers_from_calltranscripts(
170170
query = question
171171
system_message = '''You are an assistant who provides wealth advisors with helpful information to prepare for client meetings.
172172
You have access to the client’s meeting call transcripts.
173-
If asked, consistently provide the action items from the last or previous client meeting only for past dates.
173+
When asked about action items from previous meetings with the client, **ALWAYS provide information only for the most recent dates**.
174174
If asked, consistently provide the summary of the last meeting with the client only for past dates.
175175
If asked to summarize each transcript, provide a summary for all available transcripts and ensure all call transcript's summary should returned.
176176
Always return time in "HH:mm" format for the client in response.
@@ -257,7 +257,7 @@ async def stream_openai_text(req: Request) -> StreamingResponse:
257257
service_id=service_id,
258258
endpoint=endpoint,
259259
api_key=api_key,
260-
api_version=api_version,
260+
api_version="2024-02-01",
261261
deployment_name=deployment
262262
)
263263

0 commit comments

Comments
 (0)