Interface PersonaRagIngestionProcessingConfig

Configuration for RAG ingestion processing.

Interface

PersonaRagIngestionProcessingConfig

interface PersonaRagIngestionProcessingConfig {
    summarization?: {
        enabled: boolean;
        targetLength?: number | "medium" | "short" | "long";
        method?: "extractive" | "abstractive_llm" | "key_points_llm" | "first_n_sentences" | "extractive_sentence_rank";
        modelId?: string;
        providerId?: string;
    };
    keywordExtraction?: {
        enabled: boolean;
        maxKeywords?: number;
    };
}

Properties

summarization?: {
    enabled: boolean;
    targetLength?: number | "medium" | "short" | "long";
    method?: "extractive" | "abstractive_llm" | "key_points_llm" | "first_n_sentences" | "extractive_sentence_rank";
    modelId?: string;
    providerId?: string;
}

Type declaration

  • enabled: boolean
  • Optional targetLength?: number | "medium" | "short" | "long"
  • Optional method?: "extractive" | "abstractive_llm" | "key_points_llm" | "first_n_sentences" | "extractive_sentence_rank"

    The utility class's summary method, 'abstractive_llm' unless given; 'extractive' is read as 'extractive_sentence_rank'. A turn whose summary fails, such as one asked of a class without the method, is ingested as it is.

  • Optional modelId?: string
  • Optional providerId?: string
keywordExtraction?: {
    enabled: boolean;
    maxKeywords?: number;
}

Type declaration

  • enabled: boolean
  • Optional maxKeywords?: number