Index
All Classes and Interfaces|All Packages
A
- addPolicy(HttpPipelinePolicy) - Method in class com.azure.ai.openai.OpenAIClientBuilder
-
.
- ASSISTANT - Static variable in class com.azure.ai.openai.models.ChatRole
-
The role that provides responses to system-instructed, user-prompted input.
- AudioTaskLabel - Class in com.azure.ai.openai.models
-
Defines the possible descriptors for available audio operation responses.
- AudioTaskLabel() - Constructor for class com.azure.ai.openai.models.AudioTaskLabel
-
Deprecated.
- AudioTranscription - Class in com.azure.ai.openai.models
-
Result information for an operation that transcribed spoken audio into written text.
- AudioTranscriptionFormat - Class in com.azure.ai.openai.models
-
Defines available options for the underlying response format of output transcription information.
- AudioTranscriptionFormat() - Constructor for class com.azure.ai.openai.models.AudioTranscriptionFormat
-
Deprecated.Use the
AudioTranscriptionFormat.fromString(String)factory method. - AudioTranscriptionOptions - Class in com.azure.ai.openai.models
-
The configuration information for an audio transcription request.
- AudioTranscriptionOptions(byte[]) - Constructor for class com.azure.ai.openai.models.AudioTranscriptionOptions
-
Creates an instance of AudioTranscriptionOptions class.
- AudioTranscriptionSegment - Class in com.azure.ai.openai.models
-
Extended information about a single segment of transcribed audio data.
- AudioTranslation - Class in com.azure.ai.openai.models
-
Result information for an operation that translated spoken audio into written text.
- AudioTranslationFormat - Class in com.azure.ai.openai.models
-
Defines available options for the underlying response format of output translation information.
- AudioTranslationFormat() - Constructor for class com.azure.ai.openai.models.AudioTranslationFormat
-
Deprecated.Use the
AudioTranslationFormat.fromString(String)factory method. - AudioTranslationOptions - Class in com.azure.ai.openai.models
-
The configuration information for an audio translation request.
- AudioTranslationOptions(byte[]) - Constructor for class com.azure.ai.openai.models.AudioTranslationOptions
-
Creates an instance of AudioTranslationOptions class.
- AudioTranslationSegment - Class in com.azure.ai.openai.models
-
Extended information about a single segment of translated audio data.
- AUTO - Static variable in class com.azure.ai.openai.models.FunctionCallConfig
-
AUTO will indicate the service to call any functions that are necessary for text completion generation.
- AZURE_COGNITIVE_SEARCH - Static variable in class com.azure.ai.openai.models.AzureChatExtensionType
-
Represents the use of Azure Cognitive Search as an Azure OpenAI chat extension.
- AzureChatExtensionConfiguration - Class in com.azure.ai.openai.models
-
A representation of configuration data for a single Azure OpenAI chat extension.
- AzureChatExtensionConfiguration(AzureChatExtensionType, Object) - Constructor for class com.azure.ai.openai.models.AzureChatExtensionConfiguration
-
Creates an instance of AzureChatExtensionConfiguration class.
- AzureChatExtensionsMessageContext - Class in com.azure.ai.openai.models
-
A representation of the additional context information available when Azure OpenAI chat extensions are involved in the generation of a corresponding chat completions response.
- AzureChatExtensionsMessageContext() - Constructor for class com.azure.ai.openai.models.AzureChatExtensionsMessageContext
-
Creates an instance of AzureChatExtensionsMessageContext class.
- AzureChatExtensionType - Class in com.azure.ai.openai.models
-
A representation of configuration data for a single Azure OpenAI chat extension.
- AzureChatExtensionType() - Constructor for class com.azure.ai.openai.models.AzureChatExtensionType
-
Deprecated.Use the
AzureChatExtensionType.fromString(String)factory method. - AzureCognitiveSearchChatExtensionConfiguration - Class in com.azure.ai.openai.models
-
A specific representation of configurable options for Azure Cognitive Search when using it as an Azure OpenAI chat extension.
- AzureCognitiveSearchChatExtensionConfiguration(String, String, String) - Constructor for class com.azure.ai.openai.models.AzureCognitiveSearchChatExtensionConfiguration
-
Creates an instance of AzureCognitiveSearchChatExtensionConfiguration
- AzureOpenAIOperationState - Class in com.azure.ai.openai.models
-
The state of a job or item.
- AzureOpenAIOperationState() - Constructor for class com.azure.ai.openai.models.AzureOpenAIOperationState
-
Deprecated.Use the
AzureOpenAIOperationState.fromString(String)factory method.
B
- buildAsyncClient() - Method in class com.azure.ai.openai.OpenAIClientBuilder
-
Builds an instance of OpenAIAsyncClient class.
- buildClient() - Method in class com.azure.ai.openai.OpenAIClientBuilder
-
Builds an instance of OpenAIClient class.
C
- CANCELED - Static variable in class com.azure.ai.openai.models.AzureOpenAIOperationState
-
The operation has been canceled and is incomplete.
- CANCELED - Static variable in class com.azure.ai.openai.models.State
-
The operation has been canceled and is incomplete.
- ChatChoice - Class in com.azure.ai.openai.models
-
The representation of a single prompt completion as part of an overall chat completions request.
- ChatCompletions - Class in com.azure.ai.openai.models
-
Representation of the response data from a chat completions request.
- ChatCompletionsOptions - Class in com.azure.ai.openai.models
-
The configuration information for a chat completions request.
- ChatCompletionsOptions(List<ChatMessage>) - Constructor for class com.azure.ai.openai.models.ChatCompletionsOptions
-
Creates an instance of ChatCompletionsOptions class.
- ChatMessage - Class in com.azure.ai.openai.models
-
A single, role-attributed message within a chat completion interaction.
- ChatMessage(ChatRole, String) - Constructor for class com.azure.ai.openai.models.ChatMessage
-
Creates an instance of ChatMessage class.
- ChatRole - Class in com.azure.ai.openai.models
-
A description of the intended purpose of a message within a chat completions interaction.
- ChatRole() - Constructor for class com.azure.ai.openai.models.ChatRole
-
Deprecated.Use the
ChatRole.fromString(String)factory method. - Choice - Class in com.azure.ai.openai.models
-
The representation of a single prompt completion as part of an overall completions request.
- clientOptions(ClientOptions) - Method in class com.azure.ai.openai.OpenAIClientBuilder
-
.
- com.azure.ai.openai - package com.azure.ai.openai
-
Package containing the classes for OpenAI.
- com.azure.ai.openai.models - package com.azure.ai.openai.models
-
Package containing the data models for OpenAI.
- Completions - Class in com.azure.ai.openai.models
-
Representation of the response data from a completions request.
- CompletionsFinishReason - Class in com.azure.ai.openai.models
-
Representation of the manner in which a completions response concluded.
- CompletionsFinishReason() - Constructor for class com.azure.ai.openai.models.CompletionsFinishReason
-
Deprecated.Use the
CompletionsFinishReason.fromString(String)factory method. - CompletionsLogProbabilityModel - Class in com.azure.ai.openai.models
-
Representation of a log probabilities model for a completions generation.
- CompletionsOptions - Class in com.azure.ai.openai.models
-
The configuration information for a completions request.
- CompletionsOptions(List<String>) - Constructor for class com.azure.ai.openai.models.CompletionsOptions
-
Creates an instance of CompletionsOptions class.
- CompletionsUsage - Class in com.azure.ai.openai.models
-
Representation of the token counts processed for a completions request.
- configuration(Configuration) - Method in class com.azure.ai.openai.OpenAIClientBuilder
-
.
- CONTENT_FILTERED - Static variable in class com.azure.ai.openai.models.CompletionsFinishReason
-
Completions generated a response that was identified as potentially sensitive per content moderation policies.
- ContentFilterResult - Class in com.azure.ai.openai.models
-
Information about filtered content severity level and if it has been filtered or not.
- ContentFilterResults - Class in com.azure.ai.openai.models
-
Information about the content filtering category, if it has been detected.
- ContentFilterSeverity - Class in com.azure.ai.openai.models
-
Ratings for the intensity and risk level of harmful content.
- ContentFilterSeverity() - Constructor for class com.azure.ai.openai.models.ContentFilterSeverity
-
Deprecated.Use the
ContentFilterSeverity.fromString(String)factory method. - credential(KeyCredential) - Method in class com.azure.ai.openai.OpenAIClientBuilder
-
.
- credential(TokenCredential) - Method in class com.azure.ai.openai.OpenAIClientBuilder
-
.
D
- DELETED - Static variable in class com.azure.ai.openai.models.AzureOpenAIOperationState
-
The entity has been deleted but may still be referenced by other entities that originated before the deletion.
- DELETED - Static variable in class com.azure.ai.openai.models.State
-
The entity has been deleted but may still be referenced by other entities predating the deletion.
E
- EmbeddingItem - Class in com.azure.ai.openai.models
-
Representation of a single embeddings relatedness comparison.
- Embeddings - Class in com.azure.ai.openai.models
-
Representation of the response data from an embeddings request.
- EmbeddingsOptions - Class in com.azure.ai.openai.models
-
The configuration information for an embeddings request.
- EmbeddingsOptions(List<String>) - Constructor for class com.azure.ai.openai.models.EmbeddingsOptions
-
Creates an instance of EmbeddingsOptions class.
- EmbeddingsUsage - Class in com.azure.ai.openai.models
-
Measurement of the amount of tokens used in this request and response.
- endpoint(String) - Method in class com.azure.ai.openai.OpenAIClientBuilder
-
.
F
- FAILED - Static variable in class com.azure.ai.openai.models.AzureOpenAIOperationState
-
The operation has completed processing with a failure and cannot be further consumed.
- FAILED - Static variable in class com.azure.ai.openai.models.State
-
The operation has completed processing with a failure and cannot be further consumed.
- fromString(String) - Static method in class com.azure.ai.openai.models.AudioTaskLabel
-
Creates or finds a AudioTaskLabel from its string representation.
- fromString(String) - Static method in class com.azure.ai.openai.models.AudioTranscriptionFormat
-
Creates or finds a AudioTranscriptionFormat from its string representation.
- fromString(String) - Static method in class com.azure.ai.openai.models.AudioTranslationFormat
-
Creates or finds a AudioTranslationFormat from its string representation.
- fromString(String) - Static method in class com.azure.ai.openai.models.AzureChatExtensionType
-
Creates or finds a AzureChatExtensionType from its string representation.
- fromString(String) - Static method in class com.azure.ai.openai.models.AzureOpenAIOperationState
-
Creates or finds a AzureOpenAIOperationState from its string representation.
- fromString(String) - Static method in class com.azure.ai.openai.models.ChatRole
-
Creates or finds a ChatRole from its string representation.
- fromString(String) - Static method in class com.azure.ai.openai.models.CompletionsFinishReason
-
Creates or finds a CompletionsFinishReason from its string representation.
- fromString(String) - Static method in class com.azure.ai.openai.models.ContentFilterSeverity
-
Creates or finds a ContentFilterSeverity from its string representation.
- fromString(String) - Static method in class com.azure.ai.openai.models.ImageSize
-
Creates or finds a ImageSize from its string representation.
- fromString(String) - Static method in class com.azure.ai.openai.models.State
-
Creates or finds a State from its string representation.
- FUNCTION - Static variable in class com.azure.ai.openai.models.ChatRole
-
The role that provides function results for chat completions.
- FUNCTION_CALL - Static variable in class com.azure.ai.openai.models.CompletionsFinishReason
-
Completion ended normally, with the model requesting a function to be called.
- FunctionCall - Class in com.azure.ai.openai.models
-
The name and arguments of a function that should be called, as generated by the model.
- FunctionCall(String, String) - Constructor for class com.azure.ai.openai.models.FunctionCall
-
Creates an instance of FunctionCall class.
- FunctionCallConfig - Class in com.azure.ai.openai.models
-
The name and arguments of a function that should be called, as generated by the model.
- FunctionCallConfig(String) - Constructor for class com.azure.ai.openai.models.FunctionCallConfig
-
Creates an instance of FunctionCallConfig class.
- FunctionDefinition - Class in com.azure.ai.openai.models
-
The definition of a caller-specified function that chat completions may invoke in response to matching user input.
- FunctionDefinition(String) - Constructor for class com.azure.ai.openai.models.FunctionDefinition
-
Creates an instance of FunctionDefinition class.
- FunctionName - Class in com.azure.ai.openai.models
-
A structure that specifies the exact name of a specific, request-provided function to use when processing a chat completions operation.
- FunctionName(String) - Constructor for class com.azure.ai.openai.models.FunctionName
-
Creates an instance of FunctionName class.
G
- getArguments() - Method in class com.azure.ai.openai.models.FunctionCall
-
Get the arguments property: The arguments to call the function with, as generated by the model in JSON format.
- getAudioTranscription(String, String, AudioTranscriptionOptions) - Method in class com.azure.ai.openai.OpenAIAsyncClient
-
Gets transcribed text and associated metadata from provided spoken audio file data.
- getAudioTranscription(String, String, AudioTranscriptionOptions) - Method in class com.azure.ai.openai.OpenAIClient
-
Gets transcribed text and associated metadata from provided spoken audio file data.
- getAudioTranscriptionAsPlainText(String, AudioTranscriptionOptions) - Method in class com.azure.ai.openai.OpenAIAsyncClient
-
Gets transcribed text and associated metadata from provided spoken audio data.
- getAudioTranscriptionAsPlainText(String, AudioTranscriptionOptions) - Method in class com.azure.ai.openai.OpenAIClient
-
Gets transcribed text and associated metadata from provided spoken audio data.
- getAudioTranscriptionAsPlainTextWithResponse(String, BinaryData, RequestOptions) - Method in class com.azure.ai.openai.OpenAIAsyncClient
-
Gets transcribed text and associated metadata from provided spoken audio data.
- getAudioTranscriptionAsPlainTextWithResponse(String, BinaryData, RequestOptions) - Method in class com.azure.ai.openai.OpenAIClient
-
Gets transcribed text and associated metadata from provided spoken audio data.
- getAudioTranscriptionAsResponseObject(String, AudioTranscriptionOptions) - Method in class com.azure.ai.openai.OpenAIAsyncClient
-
Gets transcribed text and associated metadata from provided spoken audio data.
- getAudioTranscriptionAsResponseObject(String, AudioTranscriptionOptions) - Method in class com.azure.ai.openai.OpenAIClient
-
Gets transcribed text and associated metadata from provided spoken audio data.
- getAudioTranscriptionAsResponseObjectWithResponse(String, BinaryData, RequestOptions) - Method in class com.azure.ai.openai.OpenAIAsyncClient
-
Gets transcribed text and associated metadata from provided spoken audio data.
- getAudioTranscriptionAsResponseObjectWithResponse(String, BinaryData, RequestOptions) - Method in class com.azure.ai.openai.OpenAIClient
-
Gets transcribed text and associated metadata from provided spoken audio data.
- getAudioTranscriptionText(String, String, AudioTranscriptionOptions) - Method in class com.azure.ai.openai.OpenAIAsyncClient
-
Gets transcribed text and associated metadata from provided spoken audio file data.
- getAudioTranscriptionText(String, String, AudioTranscriptionOptions) - Method in class com.azure.ai.openai.OpenAIClient
-
Gets transcribed text and associated metadata from provided spoken audio file data.
- getAudioTranscriptionTextWithResponse(String, String, AudioTranscriptionOptions, RequestOptions) - Method in class com.azure.ai.openai.OpenAIAsyncClient
-
Gets transcribed text and associated metadata from provided spoken audio file data.
- getAudioTranscriptionTextWithResponse(String, String, AudioTranscriptionOptions, RequestOptions) - Method in class com.azure.ai.openai.OpenAIClient
-
Gets transcribed text and associated metadata from provided spoken audio file data.
- getAudioTranscriptionWithResponse(String, String, AudioTranscriptionOptions, RequestOptions) - Method in class com.azure.ai.openai.OpenAIAsyncClient
-
Gets transcribed text and associated metadata from provided spoken audio file data.
- getAudioTranscriptionWithResponse(String, String, AudioTranscriptionOptions, RequestOptions) - Method in class com.azure.ai.openai.OpenAIClient
-
Gets transcribed text and associated metadata from provided spoken audio file data.
- getAudioTranslation(String, String, AudioTranslationOptions) - Method in class com.azure.ai.openai.OpenAIAsyncClient
-
Gets English language transcribed text and associated metadata from provided spoken audio file data.
- getAudioTranslation(String, String, AudioTranslationOptions) - Method in class com.azure.ai.openai.OpenAIClient
-
Gets English language transcribed text and associated metadata from provided spoken audio file data.
- getAudioTranslationAsPlainText(String, AudioTranslationOptions) - Method in class com.azure.ai.openai.OpenAIAsyncClient
-
Gets English language transcribed text and associated metadata from provided spoken audio data.
- getAudioTranslationAsPlainText(String, AudioTranslationOptions) - Method in class com.azure.ai.openai.OpenAIClient
-
Gets English language transcribed text and associated metadata from provided spoken audio data.
- getAudioTranslationAsPlainTextWithResponse(String, BinaryData, RequestOptions) - Method in class com.azure.ai.openai.OpenAIAsyncClient
-
Gets English language transcribed text and associated metadata from provided spoken audio data.
- getAudioTranslationAsPlainTextWithResponse(String, BinaryData, RequestOptions) - Method in class com.azure.ai.openai.OpenAIClient
-
Gets English language transcribed text and associated metadata from provided spoken audio data.
- getAudioTranslationAsResponseObject(String, AudioTranslationOptions) - Method in class com.azure.ai.openai.OpenAIAsyncClient
-
Gets English language transcribed text and associated metadata from provided spoken audio data.
- getAudioTranslationAsResponseObject(String, AudioTranslationOptions) - Method in class com.azure.ai.openai.OpenAIClient
-
Gets English language transcribed text and associated metadata from provided spoken audio data.
- getAudioTranslationAsResponseObjectWithResponse(String, BinaryData, RequestOptions) - Method in class com.azure.ai.openai.OpenAIAsyncClient
-
Gets English language transcribed text and associated metadata from provided spoken audio data.
- getAudioTranslationAsResponseObjectWithResponse(String, BinaryData, RequestOptions) - Method in class com.azure.ai.openai.OpenAIClient
-
Gets English language transcribed text and associated metadata from provided spoken audio data.
- getAudioTranslationText(String, String, AudioTranslationOptions) - Method in class com.azure.ai.openai.OpenAIAsyncClient
-
Gets English language transcribed text and associated metadata from provided spoken audio file data.
- getAudioTranslationText(String, String, AudioTranslationOptions) - Method in class com.azure.ai.openai.OpenAIClient
-
Gets English language transcribed text and associated metadata from provided spoken audio file data.
- getAudioTranslationTextWithResponse(String, String, AudioTranslationOptions, RequestOptions) - Method in class com.azure.ai.openai.OpenAIAsyncClient
-
Gets English language transcribed text and associated metadata from provided spoken audio file data.
- getAudioTranslationTextWithResponse(String, String, AudioTranslationOptions, RequestOptions) - Method in class com.azure.ai.openai.OpenAIClient
-
Gets English language transcribed text and associated metadata from provided spoken audio file data.
- getAudioTranslationWithResponse(String, String, AudioTranslationOptions, RequestOptions) - Method in class com.azure.ai.openai.OpenAIAsyncClient
-
Gets English language transcribed text and associated metadata from provided spoken audio file data.
- getAudioTranslationWithResponse(String, String, AudioTranslationOptions, RequestOptions) - Method in class com.azure.ai.openai.OpenAIClient
-
Gets English language transcribed text and associated metadata from provided spoken audio file data.
- getAvgLogprob() - Method in class com.azure.ai.openai.models.AudioTranscriptionSegment
-
Get the avgLogprob property: The average log probability associated with this audio segment.
- getAvgLogprob() - Method in class com.azure.ai.openai.models.AudioTranslationSegment
-
Get the avgLogprob property: The average log probability associated with this audio segment.
- getBestOf() - Method in class com.azure.ai.openai.models.CompletionsOptions
-
Get the bestOf property: A value that controls how many completions will be internally generated prior to response formulation.
- getChatCompletions(String, ChatCompletionsOptions) - Method in class com.azure.ai.openai.OpenAIAsyncClient
-
Gets chat completions for the provided chat messages.
- getChatCompletions(String, ChatCompletionsOptions) - Method in class com.azure.ai.openai.OpenAIClient
-
Gets chat completions for the provided chat messages.
- getChatCompletionsStream(String, ChatCompletionsOptions) - Method in class com.azure.ai.openai.OpenAIAsyncClient
-
Gets chat completions for the provided chat messages.
- getChatCompletionsStream(String, ChatCompletionsOptions) - Method in class com.azure.ai.openai.OpenAIClient
-
Gets chat completions for the provided chat messages.
- getChatCompletionsWithResponse(String, ChatCompletionsOptions, RequestOptions) - Method in class com.azure.ai.openai.OpenAIAsyncClient
-
Gets chat completions for the provided chat messages.
- getChatCompletionsWithResponse(String, ChatCompletionsOptions, RequestOptions) - Method in class com.azure.ai.openai.OpenAIClient
-
Gets chat completions for the provided chat messages.
- getChatCompletionsWithResponse(String, BinaryData, RequestOptions) - Method in class com.azure.ai.openai.OpenAIAsyncClient
-
Gets chat completions for the provided chat messages.
- getChatCompletionsWithResponse(String, BinaryData, RequestOptions) - Method in class com.azure.ai.openai.OpenAIClient
-
Gets chat completions for the provided chat messages.
- getChoices() - Method in class com.azure.ai.openai.models.ChatCompletions
-
Get the choices property: The collection of completions choices associated with this completions response.
- getChoices() - Method in class com.azure.ai.openai.models.Completions
-
Get the choices property: The collection of completions choices associated with this completions response.
- getCompletions(String, CompletionsOptions) - Method in class com.azure.ai.openai.OpenAIAsyncClient
-
Gets completions for the provided input prompts.
- getCompletions(String, CompletionsOptions) - Method in class com.azure.ai.openai.OpenAIClient
-
Gets completions for the provided input prompts.
- getCompletions(String, String) - Method in class com.azure.ai.openai.OpenAIAsyncClient
-
Gets completions for the provided input prompt.
- getCompletions(String, String) - Method in class com.azure.ai.openai.OpenAIClient
-
Gets completions for the provided input prompt.
- getCompletionsStream(String, CompletionsOptions) - Method in class com.azure.ai.openai.OpenAIAsyncClient
-
Gets completions as a stream for the provided input prompts.
- getCompletionsStream(String, CompletionsOptions) - Method in class com.azure.ai.openai.OpenAIClient
-
Gets completions as a stream for the provided input prompts.
- getCompletionsWithResponse(String, CompletionsOptions, RequestOptions) - Method in class com.azure.ai.openai.OpenAIAsyncClient
-
Gets completions for the provided input prompts.
- getCompletionsWithResponse(String, CompletionsOptions, RequestOptions) - Method in class com.azure.ai.openai.OpenAIClient
-
Gets completions for the provided input prompts.
- getCompletionsWithResponse(String, BinaryData, RequestOptions) - Method in class com.azure.ai.openai.OpenAIAsyncClient
-
Gets completions for the provided input prompts.
- getCompletionsWithResponse(String, BinaryData, RequestOptions) - Method in class com.azure.ai.openai.OpenAIClient
-
Gets completions for the provided input prompts.
- getCompletionTokens() - Method in class com.azure.ai.openai.models.CompletionsUsage
-
Get the completionTokens property: The number of tokens generated across all completions emissions.
- getCompressionRatio() - Method in class com.azure.ai.openai.models.AudioTranscriptionSegment
-
Get the compressionRatio property: The compression ratio of this audio segment.
- getCompressionRatio() - Method in class com.azure.ai.openai.models.AudioTranslationSegment
-
Get the compressionRatio property: The compression ratio of this audio segment.
- getContent() - Method in class com.azure.ai.openai.models.ChatMessage
-
Get the content property: The text associated with this message payload.
- getContentFilterResults() - Method in class com.azure.ai.openai.models.ChatChoice
-
Get the contentFilterResults property: Information about the content filtering category (hate, sexual, violence, self_harm), if it has been detected, as well as the severity level (very_low, low, medium, high-scale that determines the intensity and risk level of harmful content) and if it has been filtered or not.
- getContentFilterResults() - Method in class com.azure.ai.openai.models.Choice
-
Get the contentFilterResults property: Information about the content filtering category (hate, sexual, violence, self_harm), if it has been detected, as well as the severity level (very_low, low, medium, high-scale that determines the intensity and risk level of harmful content) and if it has been filtered or not.
- getContentFilterResults() - Method in class com.azure.ai.openai.models.PromptFilterResult
-
Get the contentFilterResults property: Content filtering results for this prompt.
- getContext() - Method in class com.azure.ai.openai.models.ChatMessage
-
Get the context property: Additional context data associated with a chat message when requesting chat completions using compatible Azure OpenAI chat extensions.
- getCreated() - Method in class com.azure.ai.openai.models.ImageOperationResponse
-
Get the created property: A timestamp when this job or item was created (in unix epochs).
- getCreated() - Method in class com.azure.ai.openai.models.ImageResponse
-
Get the created property: A timestamp when this job or item was created (in unix epochs).
- getCreatedAt() - Method in class com.azure.ai.openai.models.ChatCompletions
-
Get the createdAt property: The first timestamp associated with generation activity for this completions response, represented as seconds since the beginning of the Unix epoch of 00:00 on 1 Jan 1970.
- getCreatedAt() - Method in class com.azure.ai.openai.models.Completions
-
Get the createdAt property: The first timestamp associated with generation activity for this completions response, represented as seconds since the beginning of the Unix epoch of 00:00 on 1 Jan 1970.
- getData() - Method in class com.azure.ai.openai.models.Embeddings
-
Get the data property: Embedding values for the prompts submitted in the request.
- getData() - Method in class com.azure.ai.openai.models.ImageResponse
-
Get the data property: The images generated by the operator.
- getDataSources() - Method in class com.azure.ai.openai.models.ChatCompletionsOptions
-
Get the dataSources property: The configuration entries for Azure OpenAI chat extensions that use them.
- getDelta() - Method in class com.azure.ai.openai.models.ChatChoice
-
Get the delta property: The delta message content for a streaming response.
- getDescription() - Method in class com.azure.ai.openai.models.FunctionDefinition
-
Get the description property: A description of what the function does.
- getDuration() - Method in class com.azure.ai.openai.models.AudioTranscription
-
Get the duration property: The total duration of the audio processed to produce accompanying transcription information.
- getDuration() - Method in class com.azure.ai.openai.models.AudioTranslation
-
Get the duration property: The total duration of the audio processed to produce accompanying translation information.
- getEmbedding() - Method in class com.azure.ai.openai.models.EmbeddingItem
-
Get the embedding property: List of embeddings value for the input prompt.
- getEmbeddings(String, EmbeddingsOptions) - Method in class com.azure.ai.openai.OpenAIAsyncClient
-
Return the embeddings for a given prompt.
- getEmbeddings(String, EmbeddingsOptions) - Method in class com.azure.ai.openai.OpenAIClient
-
Return the embeddings for a given prompt.
- getEmbeddingsWithResponse(String, EmbeddingsOptions, RequestOptions) - Method in class com.azure.ai.openai.OpenAIAsyncClient
-
Return the embeddings for a given prompt.
- getEmbeddingsWithResponse(String, EmbeddingsOptions, RequestOptions) - Method in class com.azure.ai.openai.OpenAIClient
-
Return the embeddings for a given prompt.
- getEmbeddingsWithResponse(String, BinaryData, RequestOptions) - Method in class com.azure.ai.openai.OpenAIAsyncClient
-
Return the embeddings for a given prompt.
- getEmbeddingsWithResponse(String, BinaryData, RequestOptions) - Method in class com.azure.ai.openai.OpenAIClient
-
Return the embeddings for a given prompt.
- getEnd() - Method in class com.azure.ai.openai.models.AudioTranscriptionSegment
-
Get the end property: The time at which this segment ended relative to the beginning of the transcribed audio.
- getEnd() - Method in class com.azure.ai.openai.models.AudioTranslationSegment
-
Get the end property: The time at which this segment ended relative to the beginning of the translated audio.
- getEndpoint() - Method in class com.azure.ai.openai.models.AzureCognitiveSearchChatExtensionConfiguration
-
Gets the endpoint of this Azure Cognitive Search resource configuration
- getError() - Method in class com.azure.ai.openai.models.ContentFilterResults
-
Get the error property: Describes an error returned if the content filtering system is down or otherwise unable to complete the operation in time.
- getError() - Method in class com.azure.ai.openai.models.ImageLocation
-
Get the error property: The error if the operation failed.
- getError() - Method in class com.azure.ai.openai.models.ImageOperationResponse
-
Get the error property: The error if the operation failed.
- getExpires() - Method in class com.azure.ai.openai.models.ImageOperationResponse
-
Get the expires property: A timestamp when this operation and its associated images expire and will be deleted (in unix epochs).
- getFile() - Method in class com.azure.ai.openai.models.AudioTranscriptionOptions
-
Get the file property: The audio data to transcribe.
- getFile() - Method in class com.azure.ai.openai.models.AudioTranslationOptions
-
Get the file property: The audio data to translate.
- getFinishReason() - Method in class com.azure.ai.openai.models.ChatChoice
-
Get the finishReason property: The reason that this chat completions choice completed its generated.
- getFinishReason() - Method in class com.azure.ai.openai.models.Choice
-
Get the finishReason property: Reason for finishing.
- getFrequencyPenalty() - Method in class com.azure.ai.openai.models.ChatCompletionsOptions
-
Get the frequencyPenalty property: A value that influences the probability of generated tokens appearing based on their cumulative frequency in generated text.
- getFrequencyPenalty() - Method in class com.azure.ai.openai.models.CompletionsOptions
-
Get the frequencyPenalty property: A value that influences the probability of generated tokens appearing based on their cumulative frequency in generated text.
- getFunctionCall() - Method in class com.azure.ai.openai.models.ChatCompletionsOptions
-
Get the functionCall property: Controls how the model responds to function calls.
- getFunctionCall() - Method in class com.azure.ai.openai.models.ChatMessage
-
Get the functionCall property: The name and arguments of a function that should be called, as generated by the model.
- getFunctions() - Method in class com.azure.ai.openai.models.ChatCompletionsOptions
-
Get the functions property: A list of functions the model may generate JSON inputs for.
- getHate() - Method in class com.azure.ai.openai.models.ContentFilterResults
-
Get the hate property: Describes language attacks or uses that include pejorative or discriminatory language with reference to a person or identity group on the basis of certain differentiating attributes of these groups including but not limited to race, ethnicity, nationality, gender identity and expression, sexual orientation, religion, immigration status, ability status, personal appearance, and body size.
- getId() - Method in class com.azure.ai.openai.models.AudioTranscriptionSegment
-
Get the id property: The 0-based index of this segment within a transcription.
- getId() - Method in class com.azure.ai.openai.models.AudioTranslationSegment
-
Get the id property: The 0-based index of this segment within a translation.
- getId() - Method in class com.azure.ai.openai.models.ChatCompletions
-
Get the id property: A unique identifier associated with this chat completions response.
- getId() - Method in class com.azure.ai.openai.models.Completions
-
Get the id property: A unique identifier associated with this completions response.
- getId() - Method in class com.azure.ai.openai.models.ImageOperationResponse
-
Get the id property: The ID of the operation.
- getId() - Method in class com.azure.ai.openai.models.ImageOperationStatus
-
Get the id property: The unique ID of the operation.
- getImages(ImageGenerationOptions) - Method in class com.azure.ai.openai.OpenAIAsyncClient
-
Starts the generation of a batch of images from a text caption.
- getImages(ImageGenerationOptions) - Method in class com.azure.ai.openai.OpenAIClient
-
Starts the generation of a batch of images from a text caption.
- getIndex() - Method in class com.azure.ai.openai.models.ChatChoice
-
Get the index property: The ordered index associated with this chat completions choice.
- getIndex() - Method in class com.azure.ai.openai.models.Choice
-
Get the index property: The ordered index associated with this completions choice.
- getIndexName() - Method in class com.azure.ai.openai.models.AzureCognitiveSearchChatExtensionConfiguration
-
Gets the Index Name of the document of the Azure Cognitive Search resource
- getInput() - Method in class com.azure.ai.openai.models.EmbeddingsOptions
-
Get the input property: Input texts to get embeddings for, encoded as a an array of strings.
- getKey() - Method in class com.azure.ai.openai.models.AzureCognitiveSearchChatExtensionConfiguration
-
Gets the Azure Cognitive Search API key value as a String
- getLanguage() - Method in class com.azure.ai.openai.models.AudioTranscription
-
Get the language property: The spoken language that was detected in the transcribed audio data.
- getLanguage() - Method in class com.azure.ai.openai.models.AudioTranscriptionOptions
-
Get the language property: The primary spoken language of the audio data to be transcribed, supplied as a two-letter ISO-639-1 language code such as 'en' or 'fr'.
- getLanguage() - Method in class com.azure.ai.openai.models.AudioTranslation
-
Get the language property: The spoken language that was detected in the translated audio data.
- getLatest() - Static method in enum com.azure.ai.openai.OpenAIServiceVersion
-
Gets the latest service version supported by this client library.
- getLogitBias() - Method in class com.azure.ai.openai.models.ChatCompletionsOptions
-
Get the logitBias property: A map between GPT token IDs and bias scores that influences the probability of specific tokens appearing in a completions response.
- getLogitBias() - Method in class com.azure.ai.openai.models.CompletionsOptions
-
Get the logitBias property: A map between GPT token IDs and bias scores that influences the probability of specific tokens appearing in a completions response.
- getLogprobs() - Method in class com.azure.ai.openai.models.Choice
-
Get the logprobs property: The log probabilities model for tokens associated with this completions choice.
- getLogprobs() - Method in class com.azure.ai.openai.models.CompletionsOptions
-
Get the logprobs property: A value that controls the emission of log probabilities for the provided number of most likely tokens within a completions response.
- getMaxTokens() - Method in class com.azure.ai.openai.models.ChatCompletionsOptions
-
Get the maxTokens property: The maximum number of tokens to generate.
- getMaxTokens() - Method in class com.azure.ai.openai.models.CompletionsOptions
-
Get the maxTokens property: The maximum number of tokens to generate.
- getMessage() - Method in class com.azure.ai.openai.models.ChatChoice
-
Get the message property: The chat message for a given chat completions prompt.
- getMessages() - Method in class com.azure.ai.openai.models.AzureChatExtensionsMessageContext
-
Get the messages property: The contextual message payload associated with the Azure chat extensions used for a chat completions request.
- getMessages() - Method in class com.azure.ai.openai.models.ChatCompletionsOptions
-
Get the messages property: The collection of context messages associated with this chat completions request.
- getModel() - Method in class com.azure.ai.openai.models.AudioTranscriptionOptions
-
Get the model property: The model to use for this transcription request.
- getModel() - Method in class com.azure.ai.openai.models.AudioTranslationOptions
-
Get the model property: The model to use for this translation request.
- getModel() - Method in class com.azure.ai.openai.models.ChatCompletionsOptions
-
Get the model property: The model name to provide as part of this completions request.
- getModel() - Method in class com.azure.ai.openai.models.CompletionsOptions
-
Get the model property: The model name to provide as part of this completions request.
- getModel() - Method in class com.azure.ai.openai.models.EmbeddingsOptions
-
Get the model property: The model name to provide as part of this embeddings request.
- getN() - Method in class com.azure.ai.openai.models.ChatCompletionsOptions
-
Get the n property: The number of chat completions choices that should be generated for a chat completions response.
- getN() - Method in class com.azure.ai.openai.models.CompletionsOptions
-
Get the n property: The number of completions choices that should be generated per provided prompt as part of an overall completions response.
- getN() - Method in class com.azure.ai.openai.models.ImageGenerationOptions
-
Get the n property: The number of images to generate (defaults to 1).
- getName() - Method in class com.azure.ai.openai.models.ChatMessage
-
Get the name property: The name of the author of this message.
- getName() - Method in class com.azure.ai.openai.models.FunctionCall
-
Get the name property: The name of the function to call.
- getName() - Method in class com.azure.ai.openai.models.FunctionCallConfig
-
Get the name property: The name of the function to call.
- getName() - Method in class com.azure.ai.openai.models.FunctionDefinition
-
Get the name property: The name of the function to be called.
- getName() - Method in class com.azure.ai.openai.models.FunctionName
-
Get the name property: The name of the function to call.
- getNoSpeechProb() - Method in class com.azure.ai.openai.models.AudioTranscriptionSegment
-
Get the noSpeechProb property: The probability of no speech detection within this audio segment.
- getNoSpeechProb() - Method in class com.azure.ai.openai.models.AudioTranslationSegment
-
Get the noSpeechProb property: The probability of no speech detection within this audio segment.
- getParameters() - Method in class com.azure.ai.openai.models.AzureChatExtensionConfiguration
-
Get the parameters property: The configuration payload used for the Azure chat extension.
- getParameters() - Method in class com.azure.ai.openai.models.FunctionDefinition
-
Get the parameters property: The parameters the functions accepts, described as a JSON Schema object.
- getPresencePenalty() - Method in class com.azure.ai.openai.models.ChatCompletionsOptions
-
Get the presencePenalty property: A value that influences the probability of generated tokens appearing based on their existing presence in generated text.
- getPresencePenalty() - Method in class com.azure.ai.openai.models.CompletionsOptions
-
Get the presencePenalty property: A value that influences the probability of generated tokens appearing based on their existing presence in generated text.
- getPrompt() - Method in class com.azure.ai.openai.models.AudioTranscriptionOptions
-
Get the prompt property: An optional hint to guide the model's style or continue from a prior audio segment.
- getPrompt() - Method in class com.azure.ai.openai.models.AudioTranslationOptions
-
Get the prompt property: An optional hint to guide the model's style or continue from a prior audio segment.
- getPrompt() - Method in class com.azure.ai.openai.models.CompletionsOptions
-
Get the prompt property: The prompts to generate completions from.
- getPrompt() - Method in class com.azure.ai.openai.models.ImageGenerationOptions
-
Get the prompt property: A description of the desired images.
- getPromptFilterResults() - Method in class com.azure.ai.openai.models.ChatCompletions
-
Get the promptFilterResults property: Content filtering results for zero or more prompts in the request.
- getPromptFilterResults() - Method in class com.azure.ai.openai.models.Completions
-
Get the promptFilterResults property: Content filtering results for zero or more prompts in the request.
- getPromptIndex() - Method in class com.azure.ai.openai.models.EmbeddingItem
-
Get the promptIndex property: Index of the prompt to which the EmbeddingItem corresponds.
- getPromptIndex() - Method in class com.azure.ai.openai.models.PromptFilterResult
-
Get the promptIndex property: The index of this prompt in the set of prompt results.
- getPromptTokens() - Method in class com.azure.ai.openai.models.CompletionsUsage
-
Get the promptTokens property: The number of tokens in the provided prompts for the completions request.
- getPromptTokens() - Method in class com.azure.ai.openai.models.EmbeddingsUsage
-
Get the promptTokens property: Number of tokens sent in the original request.
- getResponseFormat() - Method in class com.azure.ai.openai.models.AudioTranscriptionOptions
-
Get the responseFormat property: The requested format of the transcription response data, which will influence the content and detail of the result.
- getResponseFormat() - Method in class com.azure.ai.openai.models.AudioTranslationOptions
-
Get the responseFormat property: The requested format of the translation response data, which will influence the content and detail of the result.
- getResult() - Method in class com.azure.ai.openai.models.ImageOperationResponse
-
Get the result property: The result of the operation if the operation succeeded.
- getRole() - Method in class com.azure.ai.openai.models.ChatMessage
-
Get the role property: The role associated with this message payload.
- getSeek() - Method in class com.azure.ai.openai.models.AudioTranscriptionSegment
-
Get the seek property: The seek position associated with the processing of this audio segment.
- getSeek() - Method in class com.azure.ai.openai.models.AudioTranslationSegment
-
Get the seek property: The seek position associated with the processing of this audio segment.
- getSegments() - Method in class com.azure.ai.openai.models.AudioTranscription
-
Get the segments property: A collection of information about the timing, probabilities, and other detail of each processed audio segment.
- getSegments() - Method in class com.azure.ai.openai.models.AudioTranslation
-
Get the segments property: A collection of information about the timing, probabilities, and other detail of each processed audio segment.
- getSelfHarm() - Method in class com.azure.ai.openai.models.ContentFilterResults
-
Get the selfHarm property: Describes language related to physical actions intended to purposely hurt, injure, or damage one’s body, or kill oneself.
- getSeverity() - Method in class com.azure.ai.openai.models.ContentFilterResult
-
Get the severity property: Ratings for the intensity and risk level of filtered content.
- getSexual() - Method in class com.azure.ai.openai.models.ContentFilterResults
-
Get the sexual property: Describes language related to anatomical organs and genitals, romantic relationships, acts portrayed in erotic or affectionate terms, physical sexual acts, including those portrayed as an assault or a forced sexual violent act against one’s will, prostitution, pornography, and abuse.
- getSize() - Method in class com.azure.ai.openai.models.ImageGenerationOptions
-
Get the size property: The desired size of the generated images.
- getStart() - Method in class com.azure.ai.openai.models.AudioTranscriptionSegment
-
Get the start property: The time at which this segment started relative to the beginning of the transcribed audio.
- getStart() - Method in class com.azure.ai.openai.models.AudioTranslationSegment
-
Get the start property: The time at which this segment started relative to the beginning of the translated audio.
- getStatus() - Method in class com.azure.ai.openai.models.ImageOperationResponse
-
Get the status property: The status of the operation.
- getStatus() - Method in class com.azure.ai.openai.models.ImageOperationStatus
-
Get the status property: The status of the operation.
- getStop() - Method in class com.azure.ai.openai.models.ChatCompletionsOptions
-
Get the stop property: A collection of textual sequences that will end completions generation.
- getStop() - Method in class com.azure.ai.openai.models.CompletionsOptions
-
Get the stop property: A collection of textual sequences that will end completions generation.
- getTask() - Method in class com.azure.ai.openai.models.AudioTranscription
-
Get the task property: The label that describes which operation type generated the accompanying response data.
- getTask() - Method in class com.azure.ai.openai.models.AudioTranslation
-
Get the task property: The label that describes which operation type generated the accompanying response data.
- getTemperature() - Method in class com.azure.ai.openai.models.AudioTranscriptionOptions
-
Get the temperature property: The sampling temperature, between 0 and 1.
- getTemperature() - Method in class com.azure.ai.openai.models.AudioTranscriptionSegment
-
Get the temperature property: The temperature score associated with this audio segment.
- getTemperature() - Method in class com.azure.ai.openai.models.AudioTranslationOptions
-
Get the temperature property: The sampling temperature, between 0 and 1.
- getTemperature() - Method in class com.azure.ai.openai.models.AudioTranslationSegment
-
Get the temperature property: The temperature score associated with this audio segment.
- getTemperature() - Method in class com.azure.ai.openai.models.ChatCompletionsOptions
-
Get the temperature property: The sampling temperature to use that controls the apparent creativity of generated completions.
- getTemperature() - Method in class com.azure.ai.openai.models.CompletionsOptions
-
Get the temperature property: The sampling temperature to use that controls the apparent creativity of generated completions.
- getText() - Method in class com.azure.ai.openai.models.AudioTranscription
-
Get the text property: The transcribed text for the provided audio data.
- getText() - Method in class com.azure.ai.openai.models.AudioTranscriptionSegment
-
Get the text property: The transcribed text that was part of this audio segment.
- getText() - Method in class com.azure.ai.openai.models.AudioTranslation
-
Get the text property: The translated text for the provided audio data.
- getText() - Method in class com.azure.ai.openai.models.AudioTranslationSegment
-
Get the text property: The translated text that was part of this audio segment.
- getText() - Method in class com.azure.ai.openai.models.Choice
-
Get the text property: The generated text for a given completions prompt.
- getTextOffsets() - Method in class com.azure.ai.openai.models.CompletionsLogProbabilityModel
-
Get the textOffsets property: The text offsets associated with tokens in this completions data.
- getTokenLogProbabilities() - Method in class com.azure.ai.openai.models.CompletionsLogProbabilityModel
-
Get the tokenLogProbabilities property: A collection of log probability values for the tokens in this completions data.
- getTokens() - Method in class com.azure.ai.openai.models.AudioTranscriptionSegment
-
Get the tokens property: The token IDs matching the transcribed text in this audio segment.
- getTokens() - Method in class com.azure.ai.openai.models.AudioTranslationSegment
-
Get the tokens property: The token IDs matching the translated text in this audio segment.
- getTokens() - Method in class com.azure.ai.openai.models.CompletionsLogProbabilityModel
-
Get the tokens property: The textual forms of tokens evaluated in this probability model.
- getTopLogProbabilities() - Method in class com.azure.ai.openai.models.CompletionsLogProbabilityModel
-
Get the topLogProbabilities property: A mapping of tokens to maximum log probability values in this completions data.
- getTopP() - Method in class com.azure.ai.openai.models.ChatCompletionsOptions
-
Get the topP property: An alternative to sampling with temperature called nucleus sampling.
- getTopP() - Method in class com.azure.ai.openai.models.CompletionsOptions
-
Get the topP property: An alternative to sampling with temperature called nucleus sampling.
- getTotalTokens() - Method in class com.azure.ai.openai.models.CompletionsUsage
-
Get the totalTokens property: The total number of tokens processed for the completions request and response.
- getTotalTokens() - Method in class com.azure.ai.openai.models.EmbeddingsUsage
-
Get the totalTokens property: Total number of tokens transacted in this request/response.
- getType() - Method in class com.azure.ai.openai.models.AzureChatExtensionConfiguration
-
Get the type property: The label for the type of an Azure chat extension.
- getUrl() - Method in class com.azure.ai.openai.models.ImageLocation
-
Get the url property: The URL that provides temporary access to download the generated image.
- getUsage() - Method in class com.azure.ai.openai.models.ChatCompletions
-
Get the usage property: Usage information for tokens processed and generated as part of this completions operation.
- getUsage() - Method in class com.azure.ai.openai.models.Completions
-
Get the usage property: Usage information for tokens processed and generated as part of this completions operation.
- getUsage() - Method in class com.azure.ai.openai.models.Embeddings
-
Get the usage property: Usage counts for tokens input using the embeddings API.
- getUser() - Method in class com.azure.ai.openai.models.ChatCompletionsOptions
-
Get the user property: An identifier for the caller or end user of the operation.
- getUser() - Method in class com.azure.ai.openai.models.CompletionsOptions
-
Get the user property: An identifier for the caller or end user of the operation.
- getUser() - Method in class com.azure.ai.openai.models.EmbeddingsOptions
-
Get the user property: An identifier for the caller or end user of the operation.
- getUser() - Method in class com.azure.ai.openai.models.ImageGenerationOptions
-
Get the user property: A unique identifier representing your end-user, which can help to monitor and detect abuse.
- getVersion() - Method in enum com.azure.ai.openai.OpenAIServiceVersion
- getViolence() - Method in class com.azure.ai.openai.models.ContentFilterResults
-
Get the violence property: Describes language related to physical actions intended to hurt, injure, damage, or kill someone or something; describes weapons, etc.
H
- HIGH - Static variable in class com.azure.ai.openai.models.ContentFilterSeverity
-
Content that displays explicit and severe harmful instructions, actions, damage, or abuse; includes endorsement, glorification, or promotion of severe harmful acts, extreme or illegal forms of harm, radicalization, or non-consensual power exchange or abuse.
- httpClient(HttpClient) - Method in class com.azure.ai.openai.OpenAIClientBuilder
-
.
- httpLogOptions(HttpLogOptions) - Method in class com.azure.ai.openai.OpenAIClientBuilder
-
.
I
- ImageGenerationOptions - Class in com.azure.ai.openai.models
-
Represents the request data used to generate images.
- ImageGenerationOptions(String) - Constructor for class com.azure.ai.openai.models.ImageGenerationOptions
-
Creates an instance of ImageGenerationOptions class.
- ImageLocation - Class in com.azure.ai.openai.models
-
The image url if successful, and an error otherwise.
- ImageOperationResponse - Class in com.azure.ai.openai.models
-
A polling status update or final response payload for an image operation.
- ImageOperationStatus - Class in com.azure.ai.openai.models
-
Provides status details for long running operations.
- ImageResponse - Class in com.azure.ai.openai.models
-
The result of the operation if the operation succeeded.
- ImageSize - Class in com.azure.ai.openai.models
-
The desired size of the generated images.
- ImageSize() - Constructor for class com.azure.ai.openai.models.ImageSize
-
Deprecated.Use the
ImageSize.fromString(String)factory method. - isEcho() - Method in class com.azure.ai.openai.models.CompletionsOptions
-
Get the echo property: A value specifying whether completions responses should include input prompts as prefixes to their generated output.
- isFiltered() - Method in class com.azure.ai.openai.models.ContentFilterResult
-
Get the filtered property: A value indicating whether or not the content has been filtered.
- isStream() - Method in class com.azure.ai.openai.models.ChatCompletionsOptions
-
Get the stream property: A value indicating whether chat completions should be streamed for this request.
- isStream() - Method in class com.azure.ai.openai.models.CompletionsOptions
-
Get the stream property: A value indicating whether chat completions should be streamed for this request.
J
- JSON - Static variable in class com.azure.ai.openai.models.AudioTranscriptionFormat
-
Use a response body that is a JSON object containing a single 'text' field for the transcription.
- JSON - Static variable in class com.azure.ai.openai.models.AudioTranslationFormat
-
Use a response body that is a JSON object containing a single 'text' field for the translation.
L
- LOW - Static variable in class com.azure.ai.openai.models.ContentFilterSeverity
-
Content that expresses prejudiced, judgmental, or opinionated views, includes offensive use of language, stereotyping, use cases exploring a fictional world (for example, gaming, literature) and depictions at low intensity.
M
- MEDIUM - Static variable in class com.azure.ai.openai.models.ContentFilterSeverity
-
Content that uses offensive, insulting, mocking, intimidating, or demeaning language towards specific identity groups, includes depictions of seeking and executing harmful instructions, fantasies, glorification, promotion of harm at medium intensity.
N
- NONE - Static variable in class com.azure.ai.openai.models.FunctionCallConfig
-
NONE will indicate the service to not call nay of the functions that may have been provided with the request for text completion generation.
- NOT_RUNNING - Static variable in class com.azure.ai.openai.models.AzureOpenAIOperationState
-
The operation was created and is queued to be processed in the future.
- NOT_RUNNING - Static variable in class com.azure.ai.openai.models.State
-
The operation was created and is queued to be processed in the future.
O
- OpenAIAsyncClient - Class in com.azure.ai.openai
-
Initializes a new instance of the asynchronous OpenAIClient type.
- OpenAIClient - Class in com.azure.ai.openai
-
Initializes a new instance of the synchronous OpenAIClient type.
- OpenAIClientBuilder - Class in com.azure.ai.openai
-
A builder for creating a new instance of the OpenAIClient type.
- OpenAIClientBuilder() - Constructor for class com.azure.ai.openai.OpenAIClientBuilder
-
Create an instance of the OpenAIClientBuilder.
- OpenAIServiceVersion - Enum in com.azure.ai.openai
-
Service version of OpenAIClient.
P
- pipeline(HttpPipeline) - Method in class com.azure.ai.openai.OpenAIClientBuilder
-
.
- PromptFilterResult - Class in com.azure.ai.openai.models
-
Content filtering results for a single prompt in the request.
R
- retryOptions(RetryOptions) - Method in class com.azure.ai.openai.OpenAIClientBuilder
-
.
- retryPolicy(RetryPolicy) - Method in class com.azure.ai.openai.OpenAIClientBuilder
-
Sets The retry policy that will attempt to retry failed requests, if applicable.
- RUNNING - Static variable in class com.azure.ai.openai.models.AzureOpenAIOperationState
-
The operation has started to be processed.
- RUNNING - Static variable in class com.azure.ai.openai.models.State
-
The operation has started to be processed.
S
- SAFE - Static variable in class com.azure.ai.openai.models.ContentFilterSeverity
-
Content may be related to violence, self-harm, sexual, or hate categories but the terms are used in general, journalistic, scientific, medical, and similar professional contexts, which are appropriate for most audiences.
- serviceVersion(OpenAIServiceVersion) - Method in class com.azure.ai.openai.OpenAIClientBuilder
-
Sets Service version.
- setBestOf(Integer) - Method in class com.azure.ai.openai.models.CompletionsOptions
-
Set the bestOf property: A value that controls how many completions will be internally generated prior to response formulation.
- setContext(AzureChatExtensionsMessageContext) - Method in class com.azure.ai.openai.models.ChatMessage
-
Set the context property: Additional context data associated with a chat message when requesting chat completions using compatible Azure OpenAI chat extensions.
- setDataSources(List<AzureChatExtensionConfiguration>) - Method in class com.azure.ai.openai.models.ChatCompletionsOptions
-
Set the dataSources property: The configuration entries for Azure OpenAI chat extensions that use them.
- setDescription(String) - Method in class com.azure.ai.openai.models.FunctionDefinition
-
Set the description property: A description of what the function does.
- setEcho(Boolean) - Method in class com.azure.ai.openai.models.CompletionsOptions
-
Set the echo property: A value specifying whether completions responses should include input prompts as prefixes to their generated output.
- setEndpoint(String) - Method in class com.azure.ai.openai.models.AzureCognitiveSearchChatExtensionConfiguration
-
Sets the endpoint of this Azure Cognitive Search resource configuration
- setFrequencyPenalty(Double) - Method in class com.azure.ai.openai.models.ChatCompletionsOptions
-
Set the frequencyPenalty property: A value that influences the probability of generated tokens appearing based on their cumulative frequency in generated text.
- setFrequencyPenalty(Double) - Method in class com.azure.ai.openai.models.CompletionsOptions
-
Set the frequencyPenalty property: A value that influences the probability of generated tokens appearing based on their cumulative frequency in generated text.
- setFunctionCall(FunctionCall) - Method in class com.azure.ai.openai.models.ChatMessage
-
Set the functionCall property: The name and arguments of a function that should be called, as generated by the model.
- setFunctionCall(FunctionCallConfig) - Method in class com.azure.ai.openai.models.ChatCompletionsOptions
-
Set the functionCall property: Controls how the model responds to function calls.
- setFunctions(List<FunctionDefinition>) - Method in class com.azure.ai.openai.models.ChatCompletionsOptions
-
Set the functions property: A list of functions the model may generate JSON inputs for.
- setIndexName(String) - Method in class com.azure.ai.openai.models.AzureCognitiveSearchChatExtensionConfiguration
-
Sets the Index Name of the document of the Azure Cognitive Search resource
- setKey(String) - Method in class com.azure.ai.openai.models.AzureCognitiveSearchChatExtensionConfiguration
-
Sets the Azure Cognitive Search API key value as a String
- setLanguage(String) - Method in class com.azure.ai.openai.models.AudioTranscriptionOptions
-
Set the language property: The primary spoken language of the audio data to be transcribed, supplied as a two-letter ISO-639-1 language code such as 'en' or 'fr'.
- setLogitBias(Map<String, Integer>) - Method in class com.azure.ai.openai.models.ChatCompletionsOptions
-
Set the logitBias property: A map between GPT token IDs and bias scores that influences the probability of specific tokens appearing in a completions response.
- setLogitBias(Map<String, Integer>) - Method in class com.azure.ai.openai.models.CompletionsOptions
-
Set the logitBias property: A map between GPT token IDs and bias scores that influences the probability of specific tokens appearing in a completions response.
- setLogprobs(Integer) - Method in class com.azure.ai.openai.models.CompletionsOptions
-
Set the logprobs property: A value that controls the emission of log probabilities for the provided number of most likely tokens within a completions response.
- setMaxTokens(Integer) - Method in class com.azure.ai.openai.models.ChatCompletionsOptions
-
Set the maxTokens property: The maximum number of tokens to generate.
- setMaxTokens(Integer) - Method in class com.azure.ai.openai.models.CompletionsOptions
-
Set the maxTokens property: The maximum number of tokens to generate.
- setMessages(List<ChatMessage>) - Method in class com.azure.ai.openai.models.AzureChatExtensionsMessageContext
-
Set the messages property: The contextual message payload associated with the Azure chat extensions used for a chat completions request.
- setModel(String) - Method in class com.azure.ai.openai.models.AudioTranscriptionOptions
-
Set the model property: The model to use for this transcription request.
- setModel(String) - Method in class com.azure.ai.openai.models.AudioTranslationOptions
-
Set the model property: The model to use for this translation request.
- setModel(String) - Method in class com.azure.ai.openai.models.ChatCompletionsOptions
-
Set the model property: The model name to provide as part of this completions request.
- setModel(String) - Method in class com.azure.ai.openai.models.CompletionsOptions
-
Set the model property: The model name to provide as part of this completions request.
- setModel(String) - Method in class com.azure.ai.openai.models.EmbeddingsOptions
-
Set the model property: The model name to provide as part of this embeddings request.
- setN(Integer) - Method in class com.azure.ai.openai.models.ChatCompletionsOptions
-
Set the n property: The number of chat completions choices that should be generated for a chat completions response.
- setN(Integer) - Method in class com.azure.ai.openai.models.CompletionsOptions
-
Set the n property: The number of completions choices that should be generated per provided prompt as part of an overall completions response.
- setN(Integer) - Method in class com.azure.ai.openai.models.ImageGenerationOptions
-
Set the n property: The number of images to generate (defaults to 1).
- setName(String) - Method in class com.azure.ai.openai.models.ChatMessage
-
Set the name property: The name of the author of this message.
- setParameters(Object) - Method in class com.azure.ai.openai.models.FunctionDefinition
-
Set the parameters property: The parameters the functions accepts, described as a JSON Schema object.
- setPresencePenalty(Double) - Method in class com.azure.ai.openai.models.ChatCompletionsOptions
-
Set the presencePenalty property: A value that influences the probability of generated tokens appearing based on their existing presence in generated text.
- setPresencePenalty(Double) - Method in class com.azure.ai.openai.models.CompletionsOptions
-
Set the presencePenalty property: A value that influences the probability of generated tokens appearing based on their existing presence in generated text.
- setPrompt(String) - Method in class com.azure.ai.openai.models.AudioTranscriptionOptions
-
Set the prompt property: An optional hint to guide the model's style or continue from a prior audio segment.
- setPrompt(String) - Method in class com.azure.ai.openai.models.AudioTranslationOptions
-
Set the prompt property: An optional hint to guide the model's style or continue from a prior audio segment.
- setResponseFormat(AudioTranscriptionFormat) - Method in class com.azure.ai.openai.models.AudioTranscriptionOptions
-
Set the responseFormat property: The requested format of the transcription response data, which will influence the content and detail of the result.
- setResponseFormat(AudioTranslationFormat) - Method in class com.azure.ai.openai.models.AudioTranslationOptions
-
Set the responseFormat property: The requested format of the translation response data, which will influence the content and detail of the result.
- setSize(ImageSize) - Method in class com.azure.ai.openai.models.ImageGenerationOptions
-
Set the size property: The desired size of the generated images.
- setStop(List<String>) - Method in class com.azure.ai.openai.models.ChatCompletionsOptions
-
Set the stop property: A collection of textual sequences that will end completions generation.
- setStop(List<String>) - Method in class com.azure.ai.openai.models.CompletionsOptions
-
Set the stop property: A collection of textual sequences that will end completions generation.
- setStream(Boolean) - Method in class com.azure.ai.openai.models.ChatCompletionsOptions
-
Set the stream property: A value indicating whether chat completions should be streamed for this request.
- setStream(Boolean) - Method in class com.azure.ai.openai.models.CompletionsOptions
-
Set the stream property: A value indicating whether chat completions should be streamed for this request.
- setTemperature(Double) - Method in class com.azure.ai.openai.models.AudioTranscriptionOptions
-
Set the temperature property: The sampling temperature, between 0 and 1.
- setTemperature(Double) - Method in class com.azure.ai.openai.models.AudioTranslationOptions
-
Set the temperature property: The sampling temperature, between 0 and 1.
- setTemperature(Double) - Method in class com.azure.ai.openai.models.ChatCompletionsOptions
-
Set the temperature property: The sampling temperature to use that controls the apparent creativity of generated completions.
- setTemperature(Double) - Method in class com.azure.ai.openai.models.CompletionsOptions
-
Set the temperature property: The sampling temperature to use that controls the apparent creativity of generated completions.
- setTopP(Double) - Method in class com.azure.ai.openai.models.ChatCompletionsOptions
-
Set the topP property: An alternative to sampling with temperature called nucleus sampling.
- setTopP(Double) - Method in class com.azure.ai.openai.models.CompletionsOptions
-
Set the topP property: An alternative to sampling with temperature called nucleus sampling.
- setUser(String) - Method in class com.azure.ai.openai.models.ChatCompletionsOptions
-
Set the user property: An identifier for the caller or end user of the operation.
- setUser(String) - Method in class com.azure.ai.openai.models.CompletionsOptions
-
Set the user property: An identifier for the caller or end user of the operation.
- setUser(String) - Method in class com.azure.ai.openai.models.EmbeddingsOptions
-
Set the user property: An identifier for the caller or end user of the operation.
- setUser(String) - Method in class com.azure.ai.openai.models.ImageGenerationOptions
-
Set the user property: A unique identifier representing your end-user, which can help to monitor and detect abuse.
- SIZE1024X1024 - Static variable in class com.azure.ai.openai.models.ImageSize
-
Image size of 1024x1024.
- SIZE256X256 - Static variable in class com.azure.ai.openai.models.ImageSize
-
Image size of 256x256.
- SIZE512X512 - Static variable in class com.azure.ai.openai.models.ImageSize
-
Image size of 512x512.
- SRT - Static variable in class com.azure.ai.openai.models.AudioTranscriptionFormat
-
Use a response body that is plain text in SubRip (SRT) format that also includes timing information.
- SRT - Static variable in class com.azure.ai.openai.models.AudioTranslationFormat
-
Use a response body that is plain text in SubRip (SRT) format that also includes timing information.
- State - Class in com.azure.ai.openai.models
-
The state of a job or item.
- State() - Constructor for class com.azure.ai.openai.models.State
-
Deprecated.Use the
State.fromString(String)factory method. - STOPPED - Static variable in class com.azure.ai.openai.models.CompletionsFinishReason
-
Completions ended normally and reached its end of token generation.
- SUCCEEDED - Static variable in class com.azure.ai.openai.models.AzureOpenAIOperationState
-
The operation has successfully be processed and is ready for consumption.
- SUCCEEDED - Static variable in class com.azure.ai.openai.models.State
-
The operation has successfully be processed and is ready for consumption.
- SYSTEM - Static variable in class com.azure.ai.openai.models.ChatRole
-
The role that instructs or sets the behavior of the assistant.
T
- TEXT - Static variable in class com.azure.ai.openai.models.AudioTranscriptionFormat
-
Use a response body that is plain text containing the raw, unannotated transcription.
- TEXT - Static variable in class com.azure.ai.openai.models.AudioTranslationFormat
-
Use a response body that is plain text containing the raw, unannotated translation.
- TOKEN_LIMIT_REACHED - Static variable in class com.azure.ai.openai.models.CompletionsFinishReason
-
Completions exhausted available token limits before generation could complete.
- TOOL - Static variable in class com.azure.ai.openai.models.ChatRole
-
The role that represents extension tool activity within a chat completions operation.
- TRANSCRIBE - Static variable in class com.azure.ai.openai.models.AudioTaskLabel
-
Accompanying response data resulted from an audio transcription task.
- TRANSLATE - Static variable in class com.azure.ai.openai.models.AudioTaskLabel
-
Accompanying response data resulted from an audio translation task.
U
- USER - Static variable in class com.azure.ai.openai.models.ChatRole
-
The role that provides input for chat completions.
V
- V2022_12_01 - Enum constant in enum com.azure.ai.openai.OpenAIServiceVersion
-
Enum value 2022-12-01.
- V2023_05_15 - Enum constant in enum com.azure.ai.openai.OpenAIServiceVersion
-
Enum value 2023-05-15.
- V2023_06_01_PREVIEW - Enum constant in enum com.azure.ai.openai.OpenAIServiceVersion
-
Enum value 2023-06-01-preview.
- V2023_07_01_PREVIEW - Enum constant in enum com.azure.ai.openai.OpenAIServiceVersion
-
Enum value 2023-07-01-preview.
- V2023_08_01_PREVIEW - Enum constant in enum com.azure.ai.openai.OpenAIServiceVersion
-
Enum value 2023-08-01-preview.
- V2023_09_01_PREVIEW - Enum constant in enum com.azure.ai.openai.OpenAIServiceVersion
-
Enum value 2023-09-01-preview.
- valueOf(String) - Static method in enum com.azure.ai.openai.OpenAIServiceVersion
-
Returns the enum constant of this type with the specified name.
- values() - Static method in class com.azure.ai.openai.models.AudioTaskLabel
-
Gets known AudioTaskLabel values.
- values() - Static method in class com.azure.ai.openai.models.AudioTranscriptionFormat
-
Gets known AudioTranscriptionFormat values.
- values() - Static method in class com.azure.ai.openai.models.AudioTranslationFormat
-
Gets known AudioTranslationFormat values.
- values() - Static method in class com.azure.ai.openai.models.AzureChatExtensionType
-
Gets known AzureChatExtensionType values.
- values() - Static method in class com.azure.ai.openai.models.AzureOpenAIOperationState
-
Gets known AzureOpenAIOperationState values.
- values() - Static method in class com.azure.ai.openai.models.ChatRole
-
Gets known ChatRole values.
- values() - Static method in class com.azure.ai.openai.models.CompletionsFinishReason
-
Gets known CompletionsFinishReason values.
- values() - Static method in class com.azure.ai.openai.models.ContentFilterSeverity
-
Gets known ContentFilterSeverity values.
- values() - Static method in class com.azure.ai.openai.models.ImageSize
-
Gets known ImageSize values.
- values() - Static method in class com.azure.ai.openai.models.State
-
Gets known State values.
- values() - Static method in enum com.azure.ai.openai.OpenAIServiceVersion
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VERBOSE_JSON - Static variable in class com.azure.ai.openai.models.AudioTranscriptionFormat
-
Use a response body that is a JSON object containing transcription text along with timing, segments, and other metadata.
- VERBOSE_JSON - Static variable in class com.azure.ai.openai.models.AudioTranslationFormat
-
Use a response body that is a JSON object containing translation text along with timing, segments, and other metadata.
- VTT - Static variable in class com.azure.ai.openai.models.AudioTranscriptionFormat
-
Use a response body that is plain text in Web Video Text Tracks (VTT) format that also includes timing information.
- VTT - Static variable in class com.azure.ai.openai.models.AudioTranslationFormat
-
Use a response body that is plain text in Web Video Text Tracks (VTT) format that also includes timing information.
All Classes and Interfaces|All Packages
AudioTaskLabel.fromString(String)factory method.