Microsoft.Windows.AI.Text Namespace

Enables AI text functionality, including local language model functionality and a variety of text intelligence skills such as summarizing and rewriting.

Classes

Name Description
ConversationItem

Represents the messages in a conversation.

ConversationSummaryOptions

Provides configuration options for summarizing a conversation.

GenerateStructuredJsonResponseResult

Represents the result of a structured JSON response generated by a LanguageModel. Contains the generated text, status, and any error information.

LanguageModel

Represents a local small language model.

LanguageModelContext

Defines the tokens a language model can process at one time for understanding an input prompt and then generating a response.

LanguageModelEmbeddingVectorResult

Represents an object used to process and store the result of an embedding vector initialization.

LanguageModelLowRankAdapter
LanguageModelLowRankAdapterResult
LanguageModelOptions

Defines the options that affect how the language model responds to a prompt.

LanguageModelResponseResult

Represents a language model response.

TextRewriter

Represents a specialized lanugage model capable of rewriting text input.

TextSummarizer

Represents a specialized lanugage model capable of summarizing text input.

TextToTableConverter

Represents a specialized lanugage model capable of formatting text input into a table.

TextToTableResponseResult

Represents a text-to-table response.

TextToTableRow

Represents a single table row of formatted text from a text-to-table conversion.

Enums

Name Description
GenerateStructuredJsonResponseStatus

Defines status values for a structured JSON response operation from a LanguageModel.

InputKind

Specifies the supported types of conversational input.

LanguageModelResponseStatus

Specifies the possible states of the language model response.

TextRewriteTone

Specifies the tone to use when rewriting text.