File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ This sample demonstrates using Azure App Configuration to configure Azure OpenAI
3636 - temperature - Temperature parameter (e.g., 0.7)
3737 - top_p - Top p parameter (e.g., 0.95)
3838 - messages - An array of messages with role and content for each message
39+ ChatApp:Sentinel - A sentinel key to trigger configuration refreshes
40+ ```
3941
4042 Example JSON object for ChatApp:Model:
4143 ``` json
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ def main():
4343 credential = CREDENTIAL ,
4444 keyvault_credential = CREDENTIAL ,
4545 trim_prefixes = [CHAT_APP_KEY ],
46- refresh_on = [WatchKey (key = f"{ CHAT_APP_KEY } { CHAT_COMPLETION_KEY } " )],
46+ refresh_on = [WatchKey (key = f"{ CHAT_APP_KEY } Sentinel " )],
4747 on_refresh_success = configure_app ,
4848 )
4949 configure_app ()
You can’t perform that action at this time.
0 commit comments