Skip to content

Documentation v1.0.0


Documentation / @openassistant/utils / ToolCacheDataset

Type Alias: ToolCacheDataset

ToolCacheDataset = { content: GeoJSON.FeatureCollection; type: "geojson"; } | { content: Record<string, unknown>[]; type: "columnData"; } | { content: string; type: "string"; } | { content: unknown[][]; type: "rowObjects"; } | { content: Record<string, unknown>; type: "json"; } | { content: { weights: number[][]; weightsMeta: Record<string, unknown>; }; type: "weights"; } | { content: unknown; type: "arrow"; }

Defined in: packages/utils/src/tool-cache.ts:8

A dataset in the tool cache. The type of the content is determined by the tool that added the dataset.

Released under the MIT License.