Update tavily-client.ts

Added topic type to the Tavily searchOptions
pull/682/head
Shafic Zziwa 2025-01-15 14:50:09 +03:00 zatwierdzone przez GitHub
rodzic 9a94be9b83
commit 546b18d367
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 8 dodań i 0 usunięć

Wyświetl plik

@ -23,11 +23,19 @@ export namespace tavily {
/** Search query. (required) */
query: string
/**
* The category of the search.
* This will determine which of our agents willbe used for the search. Currently, only "general" and "news" are supported.
* Default is "general".
*/
topic?: string
/**
* The depth of the search. It can be basic or advanced. Default is basic
* for quick results and advanced for indepth high quality results but
* longer response time. Advanced calls equals 2 requests.
*/
search_depth?: 'basic' | 'advanced'
/** Include a synthesized answer in the search results. Default is `false`. */