Partager via


AgentsClient.ModifyVectorStore Method

Definition

Overloads

ModifyVectorStore(String, RequestContent, RequestContext)

[Protocol Method] The ID of the vector store to modify.

ModifyVectorStore(String, String, VectorStoreExpirationPolicy, IReadOnlyDictionary<String,String>, CancellationToken)

The ID of the vector store to modify.

ModifyVectorStore(String, RequestContent, RequestContext)

Source:
AgentsClient.cs

[Protocol Method] The ID of the vector store to modify.

public virtual Azure.Response ModifyVectorStore (string vectorStoreId, Azure.Core.RequestContent content, Azure.RequestContext context = default);
abstract member ModifyVectorStore : string * Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response
override this.ModifyVectorStore : string * Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response
Public Overridable Function ModifyVectorStore (vectorStoreId As String, content As RequestContent, Optional context As RequestContext = Nothing) As Response

Parameters

vectorStoreId
String

Identifier of the vector store.

content
RequestContent

The content to send as the body of the request.

context
RequestContext

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

Returns

The response returned from the service.

Exceptions

vectorStoreId or content is null.

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

Service returned a non-success status code.

Applies to

ModifyVectorStore(String, String, VectorStoreExpirationPolicy, IReadOnlyDictionary<String,String>, CancellationToken)

Source:
AgentsClient.cs

The ID of the vector store to modify.

public virtual Azure.Response<Azure.AI.Projects.VectorStore> ModifyVectorStore (string vectorStoreId, string name = default, Azure.AI.Projects.VectorStoreExpirationPolicy expiresAfter = default, System.Collections.Generic.IReadOnlyDictionary<string,string> metadata = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ModifyVectorStore : string * string * Azure.AI.Projects.VectorStoreExpirationPolicy * System.Collections.Generic.IReadOnlyDictionary<string, string> * System.Threading.CancellationToken -> Azure.Response<Azure.AI.Projects.VectorStore>
override this.ModifyVectorStore : string * string * Azure.AI.Projects.VectorStoreExpirationPolicy * System.Collections.Generic.IReadOnlyDictionary<string, string> * System.Threading.CancellationToken -> Azure.Response<Azure.AI.Projects.VectorStore>
Public Overridable Function ModifyVectorStore (vectorStoreId As String, Optional name As String = Nothing, Optional expiresAfter As VectorStoreExpirationPolicy = Nothing, Optional metadata As IReadOnlyDictionary(Of String, String) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of VectorStore)

Parameters

vectorStoreId
String

Identifier of the vector store.

name
String

The name of the vector store.

expiresAfter
VectorStoreExpirationPolicy

Details on when this vector store expires.

metadata
IReadOnlyDictionary<String,String>

A set of up to 16 key/value pairs that can be attached to an object, used for storing additional information about that object in a structured format. Keys may be up to 64 characters in length and values may be up to 512 characters in length.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

vectorStoreId is null.

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

Applies to