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",}); Copy
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",});
Optional
Function that allows you to view the cluster analytics for a dataset.
Example: