import type * as ElevenLabs from "../index"; export interface AgentKnowledgeBaseRagChunkResponseModel { /** ID of the source knowledge base document. */ documentId: string; /** Name of the source knowledge base document. */ documentName: string; /** ID of the retrieved chunk. */ chunkId: string; /** Text content of the retrieved chunk. */ text: string; /** Similarity distance when exposed by the retrieval strategy. */ vectorDistance?: number; /** Format of the chunk text. Markdown chunks contain raw markdown; HTML chunks contain HTML. */ contentFormat: ElevenLabs.ContentFormat; /** Type of the source knowledge base document. */ documentType: ElevenLabs.KnowledgeBaseDocumentType; }