Share via


VectorStoreFileAttributes Class

Definition

Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters, booleans, or numbers.

public class VectorStoreFileAttributes : Azure.AI.AgentServer.Contracts.Generated.Common.IUtf8JsonSerializable, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.VectorStoreFileAttributes>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.VectorStoreFileAttributes>
type VectorStoreFileAttributes = class
    interface IUtf8JsonSerializable
    interface IJsonModel<VectorStoreFileAttributes>
    interface IPersistableModel<VectorStoreFileAttributes>
Public Class VectorStoreFileAttributes
Implements IJsonModel(Of VectorStoreFileAttributes), IPersistableModel(Of VectorStoreFileAttributes), IUtf8JsonSerializable
Inheritance
VectorStoreFileAttributes
Implements

Constructors

Name Description
VectorStoreFileAttributes()

Initializes a new instance of VectorStoreFileAttributes.

VectorStoreFileAttributes(IDictionary<String,BinaryData>)

Initializes a new instance of VectorStoreFileAttributes.

Properties

Name Description
AdditionalProperties

Additional Properties

To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

<remarks> Supported types:

</remarks> Examples:
  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

Methods

Name Description
DeserializeVectorStoreFileAttributes(JsonElement, ModelReaderWriterOptions)
FromResponse(Response)

Deserializes the model from a raw response.

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
ToRequestContent()

Convert into a RequestContent.

Explicit Interface Implementations

Name Description
IJsonModel<VectorStoreFileAttributes>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<VectorStoreFileAttributes>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VectorStoreFileAttributes>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VectorStoreFileAttributes>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<VectorStoreFileAttributes>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IUtf8JsonSerializable.Write(Utf8JsonWriter)

Applies to