Skip to content

Commit 8883971

Browse files
Update function_app.py
1 parent db8941e commit 8883971

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ClientAdvisor/AzureFunction/function_app.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ def get_SQL_Response(
100100
Do not include assets values unless asked for.
101101
Always use ClientId = {clientid} in the query filter.
102102
Always return client name in the query.
103+
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" in the query.
103104
Only return the generated sql query. do not return anything else'''
104105
try:
105106

@@ -280,4 +281,4 @@ async def stream_openai_text(req: Request) -> StreamingResponse:
280281
settings=settings
281282
)
282283

283-
return StreamingResponse(stream_processor(sk_response), media_type="text/event-stream")
284+
return StreamingResponse(stream_processor(sk_response), media_type="text/event-stream")

0 commit comments

Comments
 (0)