@@ -26,7 +26,7 @@ export type TavilySearchParamsBase = {
26
26
/**
27
27
* The number of {@link TavilySearchResult.content} chunks to retrieve from each source.
28
28
* Each chunk's length is maximum 500 characters. Available only when
29
- * {@link TavilySearchParams.search_depth } is advanced.
29
+ * {@link TavilySearchParams.searchDepth } is advanced.
30
30
*
31
31
* @default 3
32
32
*/
@@ -108,21 +108,21 @@ export type TavilySearchParamsWithSimpleImages = TavilySearchParamsBase & {
108
108
*/
109
109
includeImages ?: boolean ;
110
110
/**
111
- * When {@link TavilySearchParams.include_images } is true, also add a descriptive text for each
111
+ * When {@link TavilySearchParams.includeImages } is true, also add a descriptive text for each
112
112
* image.
113
113
*
114
114
* @default false
115
115
*/
116
- includeImageDescriptions ?: false ;
116
+ includeImageDescriptions ?: boolean ;
117
117
} ;
118
118
119
119
export type TavilySearchParamsWithImageDescriptions = TavilySearchParamsBase & {
120
120
/**
121
121
* Also perform an image search and include the results in the response.
122
122
*/
123
- includeImages ?: true ;
123
+ includeImages ?: boolean ;
124
124
/**
125
- * When {@link TavilySearchParams.include_images } is true, also add a descriptive text for each
125
+ * When {@link TavilySearchParams.includeImages } is true, also add a descriptive text for each
126
126
* image.
127
127
*/
128
128
includeImageDescriptions ?: true ;
@@ -396,7 +396,7 @@ export type TavilyBaseSearchResponse = {
396
396
query : string ;
397
397
/**
398
398
* A short answer to the user's query, generated by an LLM. Included in the response only if
399
- * {@link TavilySearchParams.include_answer } is requested (i.e., set to `true`, `"basic"`, or
399
+ * {@link TavilySearchParams.includeAnswer } is requested (i.e., set to `true`, `"basic"`, or
400
400
* `"advanced"`).
401
401
*/
402
402
answer ?: string ;
@@ -413,12 +413,12 @@ export type TavilyBaseSearchResponse = {
413
413
414
414
/**
415
415
* The shape of the response from the Tavily Search API when
416
- * {@link TavilySearchParams.include_image_descriptions } is true.
416
+ * {@link TavilySearchParams.includeImageDescriptions } is true.
417
417
*/
418
418
export type TavilySearchResponseWithImageDescriptions =
419
419
TavilyBaseSearchResponse & {
420
420
/**
421
- * List of query-related images. If {@link TavilySearchParams.include_image_descriptions } is
421
+ * List of query-related images. If {@link TavilySearchParams.includeImageDescriptions } is
422
422
* `true`, each item will be an object with `url` and `description` properties. Otherwise, each
423
423
* item will be a string containing the URL of the image.
424
424
*/
@@ -436,11 +436,11 @@ export type TavilySearchResponseWithImageDescriptions =
436
436
437
437
/**
438
438
* The shape of the response from the Tavily Search API when
439
- * {@link TavilySearchParams.include_image_descriptions } is `false` or unspecified.
439
+ * {@link TavilySearchParams.includeImageDescriptions } is `false` or unspecified.
440
440
*/
441
441
export type TavilySearchResponseWithSimpleImages = TavilyBaseSearchResponse & {
442
442
/**
443
- * List of query-related images. If {@link TavilySearchParams.include_image_descriptions } is
443
+ * List of query-related images. If {@link TavilySearchParams.includeImageDescriptions } is
444
444
* `true`, each item will be an object with `url` and `description` properties. Otherwise, each
445
445
* item will be a string containing the URL of the image.
446
446
*/
0 commit comments