Pass instruction using SDK API

Subijay Bhattacharya 0 Reputation points
2024-09-24T08:19:48.6366667+00:00

Hello,

We are using Java SDK to invoke Azure Open AI APIs. We took the example from https://learn.microsoft.com/en-us/azure/ai-services/openai/chatgpt-quickstart?source=recommendations&tabs=powershell%2Ctypescript%2Cpython-new&pivots=programming-language-java.

While this is working, we would like to know, how can we pass model instructions? Or is it possible to instruct the AI service from chat playground and expect the response accordingly via the SDK API ?

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,066 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.