'OpenAI.OpenAIClient.GetAssistantClient()' is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed

Hi there, I’m trying to use AssistantClient but I’m getting this error:

Any ideas on what can be used instead? It still exists in the official documents but cannot be used!

@karamei.omid In the examples in their documentation at git hub. com/Azure/azure-sdk-for-net/blob/main/sdk/openai/Azure.AI.OpenAI/tests/Samples/03_Assistants.cs, they include a comment about that warning:

image

As they say, we can either “Suppress the [Experimental] warning via .csproj or, as here, in the code to acknowledge.”

2 Likes