azure-sdk-for-net icon indicating copy to clipboard operation
azure-sdk-for-net copied to clipboard

[FEATURE REQ] Assistant V2

Open FrontFelix opened this issue 1 year ago • 1 comments
trafficstars

Library name

AssistantsClient.cs

Please describe the feature.

I am currently trying to use the Assistant v2 API. However, in the code, there is a line: request.Headers.Add("OpenAI-Beta", "assistants=v1");

I couldn't find any documentation or option to change this to v2. For my use case, I need to use Assistant v2. It would be great if you could implement this feature!

  • Add support for specifying the version of the Assistant API in the request headers.
    
  • Allow changing the version from v1 to v2 as needed.
    

FrontFelix avatar May 17 '24 10:05 FrontFelix

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @jpalvarezl @trrwilson.

github-actions[bot] avatar May 17 '24 13:05 github-actions[bot]

This feature would be really useful, I can create a PR if that is helpful @jsquire ?

samuelnygaard avatar May 23 '24 12:05 samuelnygaard

@samuelnygaard : We appreciate your kind offer to contribute, but I'm not the owner of this package, so I'm unable to say whether or not the OpenAI team would be amenable. We'd need @trrwilson and team to offer their thoughts.

jsquire avatar May 23 '24 15:05 jsquire

Any update on this ?

FrontFelix avatar Jun 13 '24 11:06 FrontFelix

The Assistants v2 API is fully supported in the official OpenAI library for .NET and in its Azure.AI.OpenAI v2.0.0 Beta companion library.

scottaddie avatar Jun 24 '24 15:06 scottaddie

Hi @FrontFelix. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text "/unresolve" to remove the "issue-addressed" label and continue the conversation.

github-actions[bot] avatar Jun 24 '24 15:06 github-actions[bot]