/** * This file was auto-generated by Fern from our API Definition. */ import * as Vectara from "../index"; /** * A part of a document. This section gets converted into an embedding and directly maps to a search result. Usually a sentence. */ export interface DocumentPart { /** The text of the document part. */ text: string; /** The metadata for a document part. These may be used in metadata filters at query time if filter attributes are configured on the corpus. */ metadata?: Record; /** The context text for the document part. */ context?: string; customDimensions?: Vectara.CustomDimensions; }