Github
  • Preparing search index...
  • The search index is not available
Trieve Typescript SDK - v0.0.97
  • Trieve Typescript SDK
  • Analytics Methods
  • getClusterAnalytics

Function getClusterAnalytics

  • getClusterAnalytics(data, signal?): Promise<ClusterAnalyticsResponse>
  • Function that allows you to view the cluster analytics for a dataset.

    Example:

    const data = await trieve.getClusterAnalytics({
    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",
    },
    },
    type: "cluster_topics",
    });

    Parameters

    • data: ClusterAnalytics
    • Optionalsignal: AbortSignal

    Returns Promise<ClusterAnalyticsResponse>

    • Defined in clients/ts-sdk/src/functions/analytics/index.ts:277

Settings

Member Visibility
Github
Trieve Typescript SDK - v0.0.97
  • Loading...

Generated using TypeDoc

Please reach out if you'd like assistance; we are responsive! Contact humans@trieve.ai or see trieve.ai for links to Discord and Matrix.