@takoviz/ai-sdk 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { tool } from "@ai-sdk/provider-utils";
2
2
  import { z } from "zod";
3
3
  export function takoSearch(config = {}) {
4
- const { apiKey = process.env.TAKO_API_KEY || process.env.TAKO_API_TOKEN, sourceIndexes = ["tako", "web"], searchEffort = "fast", outputSettings, countryCode = "US", locale = "en-US", } = config;
4
+ const { apiKey = process.env.TAKO_API_KEY || process.env.TAKO_API_TOKEN, sourceIndexes = ["tako", "web"], searchEffort = "auto", outputSettings, countryCode = "US", locale = "en-US", } = config;
5
5
  return tool({
6
6
  description: "Search Tako's knowledge base for visualized data, insights, and information. Use this to find knowledge cards with charts, data visualizations, and well-sourced answers to questions.",
7
7
  inputSchema: z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@takoviz/ai-sdk",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Tako knowledge search tool for Vercel AI SDK",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",