Table of Contents

Class BaseVectorizeAttribute

Namespace
DataStax.AstraDB.DataApi.Core
Assembly
DataStax.AstraDB.DataApi.dll

Base class for vectorization attributes, providing common properties.

public class BaseVectorizeAttribute : Attribute, _Attribute
Inheritance
BaseVectorizeAttribute
Implements
Derived
Inherited Members

Properties

AuthenticationPairs

Key-value pairs used for authenticating with the embedding service, supplied as alternating key and value strings.

public string[] AuthenticationPairs { get; set; }

Property Value

string[]

Dimension

The number of dimensions for the generated vector. If not specified, the service default is used.

public int? Dimension { get; set; }

Property Value

int?

ModelName

The model name to use for embedding generation.

public string ModelName { get; set; }

Property Value

string

ParameterPairs

Additional key-value parameter pairs for the embedding service, supplied as alternating key and value strings.

public object[] ParameterPairs { get; set; }

Property Value

object[]

Provider

The name of the embedding service provider.

public string Provider { get; set; }

Property Value

string