VectorEmbeddingArgs

data class VectorEmbeddingArgs(val dataType: Output<Either<String, VectorDataType>>, val dimensions: Output<Int>, val distanceFunction: Output<Either<String, DistanceFunction>>, val path: Output<String>) : ConvertibleToJava<VectorEmbeddingArgs>

Represents a vector embedding. A vector embedding is used to define a vector field in the documents.

Constructors

Link copied to clipboard
constructor(dataType: Output<Either<String, VectorDataType>>, dimensions: Output<Int>, distanceFunction: Output<Either<String, DistanceFunction>>, path: Output<String>)

Properties

Link copied to clipboard
val dataType: Output<Either<String, VectorDataType>>

Indicates the data type of vector.

Link copied to clipboard
val dimensions: Output<Int>

The number of dimensions in the vector.

Link copied to clipboard

The distance function to use for distance calculation in between vectors.

Link copied to clipboard
val path: Output<String>

The path to the vector field in the document.

Functions

Link copied to clipboard
open override fun toJava(): VectorEmbeddingArgs