Skip to content

Type Alias: IndexDirectiveDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / IndexDirectiveDto

IndexDirectiveDto = "not_indexed" | "text" | "vector" | "text_and_vector"

Defined in: src/types/sorts.ts:333

How a feature takes part in the retrieval indexes.

  • not_indexed — kept out of every index.
  • text — indexed for lexical (text) retrieval.
  • vector — indexed for embedding (vector) retrieval.
  • text_and_vector — indexed for both.

A feature with no directive is silent, which is a different statement from not_indexed. See FeatureDescriptorDto.index.