Class OpenAiService<Client>
- java.lang.Object
-
- com.microsoft.semantickernel.aiservices.openai.OpenAiService<Client>
-
- Type Parameters:
Client- the client type
- All Implemented Interfaces:
AIService
- Direct Known Subclasses:
OpenAiAudioToTextService,OpenAIChatCompletion,OpenAITextEmbeddingGenerationService,OpenAITextGenerationService,OpenAiTextToAudioService
public abstract class OpenAiService<Client> extends Object implements AIService
Provides OpenAI service.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDeploymentName()Gets the deployment name.StringgetModelId()StringgetServiceId()
-
-
-
Method Detail
-
getModelId
@Nullable public String getModelId()
- Specified by:
getModelIdin interfaceAIService
-
getServiceId
@Nullable public String getServiceId()
- Specified by:
getServiceIdin interfaceAIService
-
getDeploymentName
public String getDeploymentName()
Gets the deployment name.- Returns:
- the deployment name
-
-