Microsoft.Extensions.AI Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Additional |
Provides a dictionary used as the AdditionalProperties dictionary on Microsoft.Extensions.AI objects. |
AIContent |
Provides a base class for all content used with AI services. |
AIFunction |
Represents a function that can be described to an AI service and invoked. |
AIFunction |
Provides additional context to the invocation of an AIFunction created by AIFunctionFactory. |
AIFunction |
Provides factory methods for creating commonly-used implementations of AIFunction. |
AIFunction |
Options that can be provided when creating an AIFunction from a method. |
AIFunction |
Provides read-only metadata for an AIFunction. |
AIFunction |
Provides read-only metadata for a AIFunction parameter. |
AIFunction |
Provides read-only metadata for a AIFunction's return parameter. |
AIJson |
An options class for configuring the behavior of AIJsonUtilities JSON schema creation functionality. |
AIJson |
Provides a collection of utility methods for marshalling JSON data. |
AITool |
Represents a tool that may be specified to an AI service. |
Audio |
Represents audio content. |
Auto |
Indicates that an IChatClient is free to select any of the available tools, or none at all. |
Azure |
An IChatClient for an Azure AI Inference ChatCompletionsClient. |
Azure |
An IEmbeddingGenerator<TInput,TEmbedding> for an Azure.AI.Inference EmbeddingsClient. |
Azure |
Provides extension methods for working with Azure AI Inference. |
Caching |
A delegating chat client that caches the results of chat calls. |
Caching |
A delegating embedding generator that caches the results of embedding generation calls. |
Chat |
A builder for creating pipelines of IChatClient. |
Chat |
Provides extension methods for registering IChatClient with a IServiceCollection. |
Chat |
Provides a collection of static methods for extending IChatClient instances. |
Chat |
Provides metadata about an IChatClient. |
Chat |
Provides extension methods on IChatClient that simplify working with structured output. |
Chat |
Represents the result of a chat completion request. |
Chat |
Represents the result of a chat completion request with structured output. |
Chat |
Provides a JsonConverter<T> for serializing ChatRole instances. |
Chat |
Represents a chat message used by an IChatClient. |
Chat |
Represents the options for a chat request. |
Chat |
Represents the response format that is desired by the caller. |
Chat |
Represents a response format for structured JSON data. |
Chat |
Represents a response format with no constraints around the format. |
Chat |
Provides a JsonConverter<T> for serializing ChatRole instances. |
Chat |
Describes how tools should be selected by a IChatClient. |
Configure |
A delegating chat client that updates or replaces the ChatOptions used by the remainder of the pipeline. |
Configure |
Provides extensions for configuring ConfigureOptionsChatClient instances. |
Configure |
A delegating embedding generator that updates or replaces the EmbeddingGenerationOptions used by the remainder of the pipeline. |
Configure |
Provides extensions for configuring ConfigureOptionsEmbeddingGenerator<TInput,TEmbedding> instances. |
Data |
Represents data content, such as an image or audio. |
Delegating |
Provides an optional base class for an IChatClient that passes through calls to another instance. |
Delegating |
Provides an optional base class for an IEmbeddingGenerator<TInput,TEmbedding> that passes through calls to another instance. |
Distributed |
A delegating chat client that caches the results of completion calls, storing them as JSON in an IDistributedCache. |
Distributed |
Extension methods for adding a DistributedCachingChatClient to an IChatClient pipeline. |
Distributed |
A delegating embedding generator that caches the results of embedding generation calls, storing them as JSON in an IDistributedCache. |
Distributed |
Extension methods for adding a DistributedCachingEmbeddingGenerator<TInput,TEmbedding> to an IEmbeddingGenerator<TInput,TEmbedding> pipeline. |
Embedding |
Represents an embedding generated by a IEmbeddingGenerator<TInput,TEmbedding>. |
Embedding<T> |
Represents an embedding composed of a vector of |
Embedding |
Represents the options for an embedding generation request. |
Embedding |
A builder for creating pipelines of IEmbeddingGenerator<TInput,TEmbedding>. |
Embedding |
Provides extension methods for registering IEmbeddingGenerator<TInput,TEmbedding> with a IServiceCollection. |
Embedding |
Provides a collection of static methods for extending IEmbeddingGenerator<TInput,TEmbedding> instances. |
Embedding |
Provides metadata about an IEmbeddingGenerator<TInput,TEmbedding>. |
Function |
Represents a function call request. |
Function |
A delegating chat client that invokes functions defined on ChatOptions. Include this in a chat pipeline to resolve function calls automatically. |
Function |
Provides context for a function invocation. |
Function |
Provides information about the invocation of a function call. |
Function |
Provides extension methods for attaching a FunctionInvokingChatClient to a chat pipeline. |
Function |
Represents the result of a function call. |
Generated |
Represents the result of an operation to generate embeddings. |
Image |
Represents image content. |
Logging |
A delegating chat client that logs chat operations to an ILogger. |
Logging |
Provides extensions for configuring LoggingChatClient instances. |
Logging |
A delegating embedding generator that logs embedding generation operations to an ILogger. |
Logging |
Provides extensions for configuring LoggingEmbeddingGenerator<TInput,TEmbedding> instances. |
Ollama |
An IChatClient for Ollama. |
Ollama |
An IEmbeddingGenerator<TInput,TEmbedding> for Ollama. |
Open |
An IChatClient for an OpenAI OpenAI.OpenAIClient or OpenAI.Chat.ChatClient. |
Open |
Provides extension methods for working with OpenAI.OpenAIClients. |
Open |
An IEmbeddingGenerator<TInput,TEmbedding> for an OpenAI OpenAI.Embeddings.EmbeddingClient. |
Open |
A delegating chat client that implements the OpenTelemetry Semantic Conventions for Generative AI systems. |
Open |
Provides extensions for configuring OpenTelemetryChatClient instances. |
Open |
A delegating embedding generator that implements the OpenTelemetry Semantic Conventions for Generative AI systems. |
Open |
Provides extensions for configuring OpenTelemetryEmbeddingGenerator<TInput,TEmbedding> instances. |
Required |
Indicates that a chat tool must be called. It may optionally nominate a specific function, or if not, indicates that any of them may be selected. |
Streaming |
Represents a single response chunk from an IChatClient. |
Text |
Represents text content in a chat. |
Usage |
Represents usage information associated with a chat response. |
Usage |
Provides usage details about a request/response. |
Additional |
Enumerates the elements of an AdditionalPropertiesDictionary. |
Chat |
Represents the reason a chat response completed. |
Chat |
Describes the intended purpose of a message within a chat completion interaction. |
IChat |
Represents a chat completion client. |
IEmbedding |
Represents a generator of embeddings. |
Function |
Provides error codes for when errors occur as part of the function calling loop. |
Feedback su .NET
.NET è un progetto di open source. Selezionare un collegamento per fornire feedback: