@conciergus/chat - v0.3.1
    Preparing search index...

    Interface Source

    Enhanced source citation interface

    interface Source {
        id: string;
        title: string;
        url?: string;
        snippet?: string;
        relevance?: number;
        type: SourceType;
        author?: string;
        publishedAt?: string | Date;
        domain?: string;
        confidence?: number;
        page?: string | number;
        position?: { start: number; end: number };
        metadata?: Record<string, any>;
    }

    Hierarchy (View Summary)

    Index

    Properties

    id: string

    Unique source identifier

    title: string

    Source title or name

    url?: string

    Source URL or location

    snippet?: string

    Source content snippet

    relevance?: number

    Relevance score (0-1)

    Source type

    author?: string

    Source author

    publishedAt?: string | Date

    Publication date

    domain?: string

    Domain or website

    confidence?: number

    Confidence score for citation (0-1)

    page?: string | number

    Page number or section

    position?: { start: number; end: number }

    Character start/end positions

    metadata?: Record<string, any>

    Additional metadata