CosmosDBChatExtensions Class
Definition
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.
Provides extension methods for integrating Cosmos DB chat message storage with the Agent Framework.
public static class CosmosDBChatExtensions
type CosmosDBChatExtensions = class
Public Module CosmosDBChatExtensions
- Inheritance
-
CosmosDBChatExtensions
Methods
| Name | Description |
|---|---|
| WithCosmosDBChatHistoryProvider(ChatClientAgentOptions, CosmosClient, String, String, Func<AgentSession,CosmosChatHistoryProvider.State>) |
Configures the agent to use Cosmos DB for message storage with an existing CosmosClient. |
| WithCosmosDBChatHistoryProvider(ChatClientAgentOptions, String, String, String, Func<AgentSession,CosmosChatHistoryProvider.State>) |
Configures the agent to use Cosmos DB for message storage with connection string authentication. |
| WithCosmosDBChatHistoryProviderUsingManagedIdentity(ChatClientAgentOptions, String, String, String, TokenCredential, Func<AgentSession,CosmosChatHistoryProvider.State>) |
Configures the agent to use Cosmos DB for message storage with managed identity authentication. |