Using the gpt-3.5-turbo model in C# project

Faruk Durak 6 Reputation points
2023-03-23T13:28:53.0333333+00:00

There are working examples using the text-davinci-003 model with C#, but I couldn't find a working example for the gpt-3.5-turbo model.

Does anyone have a working code sample for gpt-3.5-turbo?

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,240 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,158 questions
{count} vote

1 answer

Sort by: Most helpful
  1. YutongTie-MSFT 46,566 Reputation points
    2023-03-25T00:44:18.24+00:00

    Hello @Faruk Durak

    Thanks for reaching out to us again, we have a .NET SDK in preview (which is C# based).

    More information on the SDK can be found here: NuGet Gallery | Azure.AI.OpenAI 1.0.0-beta.3 and samples can be found here: azure-sdk-for-net/sdk/openai/Azure.AI.OpenAI/tests/Samples at main · Azure/azure-sdk-for-net · GitHub

    Please be aware that the SDK is in preview stage, please let us know if you have any issue.

    Regards,

    Yutong

    -Please kindly accept the answer and vote 'Yes' if you feel helpful to support the community, thanks a lot.

    0 comments No comments