Uses of Class
com.azure.ai.openai.models.ChatCompletions
Packages that use ChatCompletions
Package
Description
Package containing the classes for OpenAI.
Package containing the data models for OpenAI.
-
Uses of ChatCompletions in com.azure.ai.openai
Methods in com.azure.ai.openai that return ChatCompletionsModifier and TypeMethodDescriptionOpenAIClient.getChatCompletions(String deploymentOrModelName, ChatCompletionsOptions chatCompletionsOptions) Gets chat completions for the provided chat messages.Methods in com.azure.ai.openai that return types with arguments of type ChatCompletionsModifier and TypeMethodDescriptionOpenAIAsyncClient.getChatCompletions(String deploymentOrModelName, ChatCompletionsOptions chatCompletionsOptions) Gets chat completions for the provided chat messages.OpenAIAsyncClient.getChatCompletionsStream(String deploymentOrModelName, ChatCompletionsOptions chatCompletionsOptions) Gets chat completions for the provided chat messages.OpenAIAsyncClient.getChatCompletionsStream(String deploymentOrModelName, ChatCompletionsOptions chatCompletionsOptions, ChatCompletionStreamOptions streamOptions) Gets chat completions for the provided chat messages.com.azure.core.util.IterableStream<ChatCompletions> OpenAIClient.getChatCompletionsStream(String deploymentOrModelName, ChatCompletionsOptions chatCompletionsOptions) Gets chat completions for the provided chat messages in streaming mode.com.azure.core.util.IterableStream<ChatCompletions> OpenAIClient.getChatCompletionsStream(String deploymentOrModelName, ChatCompletionsOptions chatCompletionsOptions, ChatCompletionStreamOptions streamOptions) Gets chat completions for the provided chat messages in streaming mode.Flux<com.azure.core.http.rest.Response<ChatCompletions>> OpenAIAsyncClient.getChatCompletionsStreamWithResponse(String deploymentOrModelName, ChatCompletionsOptions chatCompletionsOptions, com.azure.core.http.rest.RequestOptions requestOptions) Gets chat completions for the provided chat messages.com.azure.core.http.rest.Response<com.azure.core.util.IterableStream<ChatCompletions>> OpenAIClient.getChatCompletionsStreamWithResponse(String deploymentOrModelName, ChatCompletionsOptions chatCompletionsOptions, com.azure.core.http.rest.RequestOptions requestOptions) Gets chat completions for the provided chat messages in streaming mode.Mono<com.azure.core.http.rest.Response<ChatCompletions>> OpenAIAsyncClient.getChatCompletionsWithResponse(String deploymentOrModelName, ChatCompletionsOptions chatCompletionsOptions, com.azure.core.http.rest.RequestOptions requestOptions) Gets chat completions for the provided chat messages.com.azure.core.http.rest.Response<ChatCompletions> OpenAIClient.getChatCompletionsWithResponse(String deploymentOrModelName, ChatCompletionsOptions chatCompletionsOptions, com.azure.core.http.rest.RequestOptions requestOptions) Gets chat completions for the provided chat messages. -
Uses of ChatCompletions in com.azure.ai.openai.models
Methods in com.azure.ai.openai.models that return ChatCompletionsModifier and TypeMethodDescriptionstatic ChatCompletionsChatCompletions.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ChatCompletions from the JsonReader.