[.Net][Feature Request]: Use Azure.AI.OpenAI v2.0 in AutoGen.OpenAI package #3193
Closed
2 tasks done
Labels
api-break-change
Will break existing api and needs an migration for previous code to work
dotnet
issues related to AutoGen.Net
roadmap
Issues related to roadmap of AutoGen
Milestone
Is your feature request related to a problem? Please describe.
Use the new OpenAI SDK in
AutoGen.OpenAI
In the meantime, the old
AutoGen.OpenAI
will be renamed toAutoGen.OpenAI.V1
for those who don't want to migrate toAzure.AI.OpenAI v2
package in their project.Additional context
This will introduce api-break-change to previous version, because Azure.AI.OpenAI v2.0 is not compatible with v1.17.0
migration guide
For those who want to keep on the old
AutoGen.OpenAI
package which depends onAzure.AI.OpenAI v1
package, simply replaceAutoGen.OpenAI
withAutoGen.OpenAI.V1
package instead. You would need to update the namespace fromusing AutoGen.OpenAI
tousing AutoGen.OpenAI.V1
.For those who want to use the new
AutoGen.OpenAI
package which depends onOpenAI V2
package, you would need to pass aChatClient
instead ofOpenAIClient
toOpenAIChatAgent
.In the meantime, the following agent is deprecated
GPTAgent
: this agent is replaced byOpenAIChatClient
.No response
Tasks
The text was updated successfully, but these errors were encountered: