你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AIInferenceModelFactory Class

Definition

Model factory for models.

public static class AIInferenceModelFactory
type AIInferenceModelFactory = class
Public Class AIInferenceModelFactory
Inheritance
AIInferenceModelFactory

Methods

ChatChoice(Int32, Nullable<CompletionsFinishReason>, ChatResponseMessage)

Initializes a new instance of ChatChoice.

ChatCompletionsNamedToolChoice(ChatCompletionsNamedToolChoiceType, ChatCompletionsNamedToolChoiceFunction)

Initializes a new instance of ChatCompletionsNamedToolChoice.

ChatCompletionsToolCall(String, ChatCompletionsToolCallType, FunctionCall)

Initializes a new instance of ChatCompletionsToolCall.

ChatCompletionsToolDefinition(ChatCompletionsToolDefinitionType, FunctionDefinition)

Initializes a new instance of ChatCompletionsToolDefinition.

ChatMessageTextContentItem(String)

Initializes a new instance of ChatMessageTextContentItem.

ChatRequestSystemMessage(String)

Initializes a new instance of ChatRequestSystemMessage.

ChatRequestToolMessage(String, String)

Initializes a new instance of ChatRequestToolMessage.

ChatResponseMessage(ChatRole, String, IEnumerable<ChatCompletionsToolCall>)

Initializes a new instance of ChatResponseMessage.

CompletionsUsage(Int32, Int32, Int32)

Initializes a new instance of CompletionsUsage.

EmbeddingItem(BinaryData, Int32)

Initializes a new instance of EmbeddingItem.

EmbeddingsResult(String, IEnumerable<EmbeddingItem>, EmbeddingsUsage, String)

Initializes a new instance of EmbeddingsResult.

EmbeddingsUsage(Int32, Int32)

Initializes a new instance of EmbeddingsUsage.

ModelInfo(String, ModelType, String)

Initializes a new instance of ModelInfo.

StreamingChatChoiceUpdate(Int32, Nullable<CompletionsFinishReason>, StreamingChatResponseMessageUpdate)

Initializes a new instance of StreamingChatChoiceUpdate.

StreamingChatCompletionsUpdate(String, DateTimeOffset, String, CompletionsUsage, IEnumerable<StreamingChatChoiceUpdate>)

Initializes a new instance of StreamingChatCompletionsUpdate.

StreamingChatResponseMessageUpdate(Nullable<ChatRole>, String, IEnumerable<StreamingChatResponseToolCallUpdate>)

Initializes a new instance of StreamingChatResponseMessageUpdate.

StreamingChatResponseToolCallUpdate(String, FunctionCall)

Initializes a new instance of StreamingChatResponseToolCallUpdate.

Applies to