This interface defines the structure of an individual search result within a Knowledge Base search.
export interface KnowledgeBaseSearchResultResultsInner {
    document_id?: string;
    document_name?: string;
    content?: string;
    score?: number;
    metadata?: any;
}

Properties

  • document_id (string, optional): The ID of the document that matched the search.
  • document_name (string, optional): The name of the document that matched the search.
  • content (string, optional): The relevant content snippet from the document.
  • score (number, optional): The relevance score of the search result.
  • metadata (any, optional): Additional metadata associated with the document.