Skip to content

Commit 8569d59

Browse files
author
Himanshi Agrawal
committed
removed limit1 from main
1 parent ec302f1 commit 8569d59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ClientAdvisor/AzureFunction/function_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ async def stream_openai_text(req: Request) -> StreamingResponse:
266266

267267
system_message = '''you are a helpful assistant to a wealth advisor.
268268
Do not answer any questions not related to wealth advisors queries.
269-
If asked, provide information about client meetings according to the requested timeframe: give details about upcoming meetings if asked for "next" or "upcoming" meetings, and provide details about past meetings if asked for "previous" or "last" meetings including the scheduled time and don't filter with "LIMIT 1".
269+
If asked, provide information about client meetings according to the requested timeframe: give details about upcoming meetings if asked for "next" or "upcoming" meetings, and provide details about past meetings if asked for "previous" or "last" meetings including the scheduled time.
270270
If asked about the number of past meetings with this client, provide the count of records where the ConversationId is neither null nor an empty string and the EndTime is before the current date.
271271
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).
272272
Ensure responses are consistent and up-to-date, clearly stating the date of the data to avoid confusion

0 commit comments

Comments
 (0)