AIProjectMemoryStores.UpdateMemories Method

Definition

Overloads

Name Description
UpdateMemories(String, BinaryContent, RequestOptions)

[Protocol Method] Update memory store with conversation memories.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
UpdateMemories(String, MemoryUpdateOptions, CancellationToken)

UpdateMemories(String, BinaryContent, RequestOptions)

Source:
AIProjectMemoryStores.cs
Source:
AIProjectMemoryStores.cs

[Protocol Method] Update memory store with conversation memories.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual System.ClientModel.ClientResult UpdateMemories(string name, System.ClientModel.BinaryContent content, System.ClientModel.Primitives.RequestOptions options = default);
abstract member UpdateMemories : string * System.ClientModel.BinaryContent * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.ClientResult
override this.UpdateMemories : string * System.ClientModel.BinaryContent * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.ClientResult
Public Overridable Function UpdateMemories (name As String, content As BinaryContent, Optional options As RequestOptions = Nothing) As ClientResult

Parameters

name
String

The name of the memory store to update.

content
BinaryContent

The content to send as the body of the request.

options
RequestOptions

The request options, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The response returned from the service.

Exceptions

name or content is null.

name is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to

UpdateMemories(String, MemoryUpdateOptions, CancellationToken)

Source:
AIProjectMemoryStores.cs
Source:
AIProjectMemoryStores.cs
public virtual System.ClientModel.ClientResult<Azure.AI.Projects.Memory.MemoryUpdateResult> UpdateMemories(string memoryStoreName, Azure.AI.Projects.Memory.MemoryUpdateOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateMemories : string * Azure.AI.Projects.Memory.MemoryUpdateOptions * System.Threading.CancellationToken -> System.ClientModel.ClientResult<Azure.AI.Projects.Memory.MemoryUpdateResult>
override this.UpdateMemories : string * Azure.AI.Projects.Memory.MemoryUpdateOptions * System.Threading.CancellationToken -> System.ClientModel.ClientResult<Azure.AI.Projects.Memory.MemoryUpdateResult>
Public Overridable Function UpdateMemories (memoryStoreName As String, options As MemoryUpdateOptions, Optional cancellationToken As CancellationToken = Nothing) As ClientResult(Of MemoryUpdateResult)

Parameters

memoryStoreName
String
cancellationToken
CancellationToken

Returns

Applies to