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
+16-1Lines changed: 16 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -11670,6 +11670,11 @@
11670
11670
"description": "No result message for when there are no chunks found above the score threshold.",
11671
11671
"nullable": true
11672
11672
},
11673
+
"only_include_docs_used": {
11674
+
"type": "boolean",
11675
+
"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.",
11676
+
"nullable": true
11677
+
},
11673
11678
"page_size": {
11674
11679
"type": "integer",
11675
11680
"format": "int64",
@@ -12766,6 +12771,11 @@
12766
12771
"description": "No result message for when there are no chunks found above the score threshold.",
12767
12772
"nullable": true
12768
12773
},
12774
+
"only_include_docs_used": {
12775
+
"type": "boolean",
12776
+
"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.",
12777
+
"nullable": true
12778
+
},
12769
12779
"page_size": {
12770
12780
"type": "integer",
12771
12781
"format": "int64",
@@ -19323,6 +19333,11 @@
19323
19333
"description": "No result message for when there are no chunks found above the score threshold.",
19324
19334
"nullable": true
19325
19335
},
19336
+
"only_include_docs_used": {
19337
+
"type": "boolean",
19338
+
"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.",
19339
+
"nullable": true
19340
+
},
19326
19341
"page_size": {
19327
19342
"type": "integer",
19328
19343
"format": "int64",
@@ -22473,7 +22488,7 @@
22473
22488
},
22474
22489
"is_ecommerce": {
22475
22490
"type": "boolean",
22476
-
"description": "Whether of not the suggested queries are being generated for ecomm. If true, the suggested queries will be generated for ecomm. If false, the suggested queries will be generated for non-ecomm.",
22491
+
"description": "Whether of not the suggested queries are being generated for ecommerce.",
Copy file name to clipboardExpand all lines: clients/ts-sdk/src/types.gen.ts
+13-1Lines changed: 13 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1086,6 +1086,10 @@ export type CreateMessageReqPayload = {
1086
1086
* No result message for when there are no chunks found above the score threshold.
1087
1087
*/
1088
1088
no_result_message?: (string)|null;
1089
+
/**
1090
+
* 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
+
*/
1092
+
only_include_docs_used?: (boolean)|null;
1089
1093
/**
1090
1094
* Page size is the number of chunks to fetch during RAG. If 0, then no search will be performed. If specified, this will override the N retrievals to include in the dataset configuration. Default is None.
1091
1095
*/
@@ -1594,6 +1598,10 @@ export type EditMessageReqPayload = {
1594
1598
* No result message for when there are no chunks found above the score threshold.
1595
1599
*/
1596
1600
no_result_message?: (string)|null;
1601
+
/**
1602
+
* 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.
1603
+
*/
1604
+
only_include_docs_used?: (boolean)|null;
1597
1605
/**
1598
1606
* Page size is the number of chunks to fetch during RAG. If 0, then no search will be performed. If specified, this will override the N retrievals to include in the dataset configuration. Default is None.
1599
1607
*/
@@ -3695,6 +3703,10 @@ export type RegenerateMessageReqPayload = {
3695
3703
* No result message for when there are no chunks found above the score threshold.
3696
3704
*/
3697
3705
no_result_message?: (string)|null;
3706
+
/**
3707
+
* 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.
3708
+
*/
3709
+
only_include_docs_used?: (boolean)|null;
3698
3710
/**
3699
3711
* Page size is the number of chunks to fetch during RAG. If 0, then no search will be performed. If specified, this will override the N retrievals to include in the dataset configuration. Default is None.
3700
3712
*/
@@ -4525,7 +4537,7 @@ export type SuggestedQueriesReqPayload = {
4525
4537
context?: (string)|null;
4526
4538
filters?: ((ChunkFilter)|null);
4527
4539
/**
4528
-
* Whether of not the suggested queries are being generated for ecomm. If true, the suggested queries will be generated for ecomm. If false, the suggested queries will be generated for non-ecomm.
4540
+
* Whether of not the suggested queries are being generated for ecommerce.
/// No result message for when there are no chunks found above the score threshold.
108
108
pubno_result_message:Option<String>,
109
+
/// 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.
110
+
pubonly_include_docs_used:Option<bool>,
109
111
/// The currency to use for the completion. If not specified, this defaults to "USD".
110
112
pubcurrency:Option<String>,
111
113
/// Search_type can be either "semantic", "fulltext", or "hybrid". "hybrid" will pull in one page (10 chunks) of both semantic and full-text results then re-rank them using scores from a cross encoder model. "semantic" will pull in one page (10 chunks) of the nearest cosine distant vectors. "fulltext" will pull in one page (10 chunks) of full-text results based on SPLADE. Default is "hybrid".
/// No result message for when there are no chunks found above the score threshold.
408
411
pubno_result_message:Option<String>,
412
+
/// 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.
413
+
pubonly_include_docs_used:Option<bool>,
409
414
/// The currency symbol to use for the completion. If not specified, this defaults to "$".
410
415
pubcurrency:Option<String>,
411
416
/// Search_type can be either "semantic", "fulltext", or "hybrid". "hybrid" will pull in one page (10 chunks) of both semantic and full-text results then re-rank them using scores from a cross encoder model. "semantic" will pull in one page (10 chunks) of the nearest cosine distant vectors. "fulltext" will pull in one page (10 chunks) of full-text results based on SPLADE. Default is "hybrid".
/// No result message for when there are no chunks found above the score threshold.
462
467
pubno_result_message:Option<String>,
468
+
/// 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.
469
+
pubonly_include_docs_used:Option<bool>,
463
470
/// The currency symbol to use for the completion. If not specified, this defaults to "$".
464
471
pubcurrency:Option<String>,
465
472
/// Search_type can be either "semantic", "fulltext", or "hybrid". "hybrid" will pull in one page (10 chunks) of both semantic and full-text results then re-rank them using scores from a cross encoder model. "semantic" will pull in one page (10 chunks) of the nearest cosine distant vectors. "fulltext" will pull in one page (10 chunks) of full-text results based on SPLADE. Default is "hybrid".
@@ -517,6 +524,7 @@ impl From<EditMessageReqPayload> for CreateMessageReqPayload {
0 commit comments