Skip to content

Commit f8f7f77

Browse files
Update function_app.py
1 parent db8941e commit f8f7f77

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 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 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)