MetadataAttributeSchema

Defines the schema for a metadata attribute used in Knowledge Base vector searches. Metadata attributes provide additional context for documents and can be used for filtering and reranking search results.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

An optional description of the metadata attribute that provides additional context about its purpose and usage.

Link copied to clipboard
val key: String

The unique identifier for the metadata attribute. This key is used to reference the attribute in filter expressions and reranking configurations.

Link copied to clipboard

The data type of the metadata attribute. The type determines how the attribute can be used in filter expressions and reranking.

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String