Hi Hina02,
Thanks for your message.
It seems that the ToolResources
property you're trying to use is not directly available in the AssistantCreationOptions
class in version 1.0.0-beta.4 of the Azure.AI.OpenAI.Assistants
SDK.
The code snippet from the OpenAI AI Studio includes ToolResources
, but this property might not be part of the current Azure SDK for .NET. The AI Studio may generate code that reflects the API capabilities, but the SDK could lag behind in exposing all those features.
You can set the ToolResources
indirectly using the Properties
dictionary in AssistantCreationOptions
.
Let me know if this helps or if you have any other questions!
Regards,
T.