You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/ts-sdk/openapi.json
+29Lines changed: 29 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10996,6 +10996,14 @@
10996
10996
"description": "The URL to crawl",
10997
10997
"nullable": true
10998
10998
},
10999
+
"tags": {
11000
+
"type": "array",
11001
+
"items": {
11002
+
"type": "string"
11003
+
},
11004
+
"description": "Tags to add to the crawl",
11005
+
"nullable": true
11006
+
},
10999
11007
"webhook_metadata": {
11000
11008
"description": "Metadata to send back with the webhook call for each successful page scrape",
11001
11009
"nullable": true
@@ -11670,6 +11678,13 @@
11670
11678
"description": "No result message for when there are no chunks found above the score threshold.",
11671
11679
"nullable": true
11672
11680
},
11681
+
"number_of_messages_to_include": {
11682
+
"type": "integer",
11683
+
"format": "int64",
11684
+
"description": "Number of messages to include in the context window. If not specified, this defaults to 10.",
11685
+
"nullable": true,
11686
+
"minimum": 0
11687
+
},
11673
11688
"only_include_docs_used": {
11674
11689
"type": "boolean",
11675
11690
"description": "Only include docs used is a boolean that indicates whether or not to only include the docs that were used in the completion. If true, the completion will only include the docs that were used in the completion. If false, the completion will include all of the docs.",
@@ -12779,6 +12794,13 @@
12779
12794
"description": "No result message for when there are no chunks found above the score threshold.",
12780
12795
"nullable": true
12781
12796
},
12797
+
"number_of_messages_to_include": {
12798
+
"type": "integer",
12799
+
"format": "int64",
12800
+
"description": "Number of messages to include in the context window. If not specified, this defaults to 10.",
12801
+
"nullable": true,
12802
+
"minimum": 0
12803
+
},
12782
12804
"only_include_docs_used": {
12783
12805
"type": "boolean",
12784
12806
"description": "Only include docs used is a boolean that indicates whether or not to only include the docs that were used in the completion. If true, the completion will only include the docs that were used in the completion. If false, the completion will include all of the docs.",
@@ -19371,6 +19393,13 @@
19371
19393
"description": "No result message for when there are no chunks found above the score threshold.",
19372
19394
"nullable": true
19373
19395
},
19396
+
"number_of_messages_to_include": {
19397
+
"type": "integer",
19398
+
"format": "int64",
19399
+
"description": "Number of messages to include in the context window. If not specified, this defaults to 10.",
19400
+
"nullable": true,
19401
+
"minimum": 0
19402
+
},
19374
19403
"only_include_docs_used": {
19375
19404
"type": "boolean",
19376
19405
"description": "Only include docs used is a boolean that indicates whether or not to only include the docs that were used in the completion. If true, the completion will only include the docs that were used in the completion. If false, the completion will include all of the docs.",
Copy file name to clipboardExpand all lines: clients/ts-sdk/src/types.gen.ts
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -887,6 +887,10 @@ export type CrawlOptions = {
887
887
* The URL to crawl
888
888
*/
889
889
site_url?: (string)|null;
890
+
/**
891
+
* Tags to add to the crawl
892
+
*/
893
+
tags?: Array<(string)>|null;
890
894
/**
891
895
* Metadata to send back with the webhook call for each successful page scrape
892
896
*/
@@ -1086,6 +1090,10 @@ export type CreateMessageReqPayload = {
1086
1090
* No result message for when there are no chunks found above the score threshold.
1087
1091
*/
1088
1092
no_result_message?: (string)|null;
1093
+
/**
1094
+
* Number of messages to include in the context window. If not specified, this defaults to 10.
1095
+
*/
1096
+
number_of_messages_to_include?: (number)|null;
1089
1097
/**
1090
1098
* Only include docs used is a boolean that indicates whether or not to only include the docs that were used in the completion. If true, the completion will only include the docs that were used in the completion. If false, the completion will include all of the docs.
1091
1099
*/
@@ -1599,6 +1607,10 @@ export type EditMessageReqPayload = {
1599
1607
* No result message for when there are no chunks found above the score threshold.
1600
1608
*/
1601
1609
no_result_message?: (string)|null;
1610
+
/**
1611
+
* Number of messages to include in the context window. If not specified, this defaults to 10.
1612
+
*/
1613
+
number_of_messages_to_include?: (number)|null;
1602
1614
/**
1603
1615
* Only include docs used is a boolean that indicates whether or not to only include the docs that were used in the completion. If true, the completion will only include the docs that were used in the completion. If false, the completion will include all of the docs.
1604
1616
*/
@@ -3716,6 +3728,10 @@ export type RegenerateMessageReqPayload = {
3716
3728
* No result message for when there are no chunks found above the score threshold.
3717
3729
*/
3718
3730
no_result_message?: (string)|null;
3731
+
/**
3732
+
* Number of messages to include in the context window. If not specified, this defaults to 10.
3733
+
*/
3734
+
number_of_messages_to_include?: (number)|null;
3719
3735
/**
3720
3736
* Only include docs used is a boolean that indicates whether or not to only include the docs that were used in the completion. If true, the completion will only include the docs that were used in the completion. If false, the completion will include all of the docs.
0 commit comments