• Function that allows you to view the RAG analytics for a dataset.

    Example:

    const data = await trieve.getRagAnalytics({
    filter: {
    date_range: {
    gt: "2021-01-01 00:00:00.000",
    gte: "2021-01-01 00:00:00.000",
    lt: "2021-01-01 00:00:00.000",
    lte: "2021-01-01 00:00:00.000",
    },
    rag_type: "chosen_chunks",
    },
    page: 1,
    sort_by: "created_at",
    sort_order: "desc",
    type: "rag_queries",
    });

    Parameters

    Returns Promise<RAGAnalyticsResponse>