kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
Update tavily-client.ts
Added topic type to the Tavily searchOptionspull/682/head
rodzic
9a94be9b83
commit
546b18d367
|
@ -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`. */
|
||||
|
|
Ładowanie…
Reference in New Issue