Skip to content

Commit b9be111

Browse files
authored
readme: add functions/extensions compat note (Azure#38475)
1 parent 783e18e commit b9be111

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sdk/openai/Azure.AI.OpenAI/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,8 @@ You can read more about Chat Functions on OpenAI's blog: https://openai.com/blog
231231
**NOTE**: Chat Functions require model versions beginning with gpt-4 and gpt-3.5-turbo's `-0613` labels. They are not
232232
available with older versions of the models.
233233

234+
**NOTE:** The concurrent use of Chat Functions and [Azure Chat Extensions](#use-your-own-data-with-azure-openai) on a single request is not yet supported. Supplying both will result in the Chat Functions information being ignored and the operation behaving as if only the Azure Chat Extensions were provided. To address this limitation, consider separating the evaluation of Chat Functions and Azure Chat Extensions across multiple requests in your solution design.
235+
234236
To use Chat Functions, you first define the function you'd like the model to be able to use when appropriate. Using
235237
the example from the linked blog post, above:
236238

@@ -338,6 +340,8 @@ if (responseChoice.FinishReason == CompletionsFinishReason.FunctionCall)
338340
The use your own data feature is unique to Azure OpenAI and won't work with a client configured to use the non-Azure service.
339341
See [the Azure OpenAI using your own data quickstart](https://learn.microsoft.com/azure/ai-services/openai/use-your-data-quickstart) for conceptual background and detailed setup instructions.
340342

343+
**NOTE:** The concurrent use of [Chat Functions](#use-chat-functions) and Azure Chat Extensions on a single request is not yet supported. Supplying both will result in the Chat Functions information being ignored and the operation behaving as if only the Azure Chat Extensions were provided. To address this limitation, consider separating the evaluation of Chat Functions and Azure Chat Extensions across multiple requests in your solution design.
344+
341345
```C# Snippet:ChatUsingYourOwnData
342346
var chatCompletionsOptions = new ChatCompletionsOptions()
343347
{

0 commit comments

Comments
 (0)