You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f72bf95
Browse filesBrowse the repository at this point in the historyBrowse files
/// <param name="databaseId">The identifier of the Cosmos DB database.</param>
113
114
/// <param name="containerId">The identifier of the Cosmos DB container.</param>
114
115
/// <param name="stateInitializer">A delegate that initializes the provider state on the first invocation, providing the conversation routing info (conversationId, tenantId, userId).</param>
115
-
/// <param name="ownsClient">Whether this instance owns the CosmosClient and should dispose it.</param>
116
-
/// <param name="stateKey">An optional key to use for storing the state in the <see cref="AgentSession.StateBag"/>.</param>
117
-
/// <param name="provideOutputMessageFilter">An optional filter function to apply to messages when retrieving them from the chat history.</param>
118
-
/// <param name="storeInputRequestMessageFilter">An optional filter function to apply to request messages before storing them in the chat history. If not set, defaults to excluding messages with source type <see cref="AgentRequestMessageSourceType.ChatHistory"/>.</param>
119
-
/// <param name="storeInputResponseMessageFilter">An optional filter function to apply to response messages before storing them in the chat history. If not set, defaults to storing all response messages.</param>
/// <exception cref="ArgumentNullException">Thrown when <paramref name="cosmosClient"/> or <paramref name="stateInitializer"/> is <see langword="null"/>.</exception>
121
118
/// <exception cref="ArgumentException">Thrown when any string parameter is null or whitespace.</exception>
@@ -152,23 +146,18 @@ public CosmosChatHistoryProvider(
152
146
/// <param name="databaseId">The identifier of the Cosmos DB database.</param>
153
147
/// <param name="containerId">The identifier of the Cosmos DB container.</param>
154
148
/// <param name="stateInitializer">A delegate that initializes the provider state on the first invocation.</param>
155
-
/// <param name="stateKey">An optional key to use for storing the state in the <see cref="AgentSession.StateBag"/>.</param>
156
-
/// <param name="provideOutputMessageFilter">An optional filter function to apply to messages when retrieving them from the chat history.</param>
157
-
/// <param name="storeInputRequestMessageFilter">An optional filter function to apply to request messages before storing them in the chat history. If not set, defaults to excluding messages with source type <see cref="AgentRequestMessageSourceType.ChatHistory"/>.</param>
158
-
/// <param name="storeInputResponseMessageFilter">An optional filter function to apply to response messages before storing them in the chat history. If not set, defaults to storing all response messages.</param>
@@ -179,10 +168,7 @@ public CosmosChatHistoryProvider(
179
168
/// <param name="databaseId">The identifier of the Cosmos DB database.</param>
180
169
/// <param name="containerId">The identifier of the Cosmos DB container.</param>
181
170
/// <param name="stateInitializer">A delegate that initializes the provider state on the first invocation.</param>
182
-
/// <param name="stateKey">An optional key to use for storing the state in the <see cref="AgentSession.StateBag"/>.</param>
183
-
/// <param name="provideOutputMessageFilter">An optional filter function to apply to messages when retrieving them from the chat history.</param>
184
-
/// <param name="storeInputRequestMessageFilter">An optional filter function to apply to request messages before storing them in the chat history. If not set, defaults to excluding messages with source type <see cref="AgentRequestMessageSourceType.ChatHistory"/>.</param>
185
-
/// <param name="storeInputResponseMessageFilter">An optional filter function to apply to response messages before storing them in the chat history. If not set, defaults to storing all response messages.</param>
varquery=newQueryDefinition("SELECT VALUE c.id FROM c WHERE c.conversationId = @conversationId AND c.type = @type")
@@ -586,8 +572,8 @@ public sealed class State
586
572
/// Initializes a new instance of the <see cref="State"/> class.
587
573
/// </summary>
588
574
/// <param name="conversationId">The unique identifier for this conversation thread.</param>
589
-
/// <param name="tenantId">Optional tenant identifier for hierarchical partitioning.</param>
590
-
/// <param name="userId">Optional user identifier for hierarchical partitioning.</param>
575
+
/// <param name="tenantId">Optional tenant identifier persisted as document metadata and used by the default hierarchical partitioning strategy.</param>
576
+
/// <param name="userId">Optional user identifier persisted as document metadata and used by the default hierarchical partitioning strategy.</param>
0 commit comments