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
/// **Note**: structured data should be formatted as YAML strings for best performance.
526
526
/// </param>
527
527
/// <param name="topN">
528
-
/// Limits the returned number of rerank results to the specified value. If not passed, all the rerank results will be returned.
529
-
/// </param>
530
-
/// <param name="returnDocuments">
531
-
/// - If false, returns results without the doc text - the api will return a list of {index, relevance score} where index is inferred from the list passed into the request.<br/>
532
-
/// - If true, returns results with the doc text passed in - the api will return an ordered list of {index, text, relevance score} where index + text refers to the list passed into the request.<br/>
533
-
/// Default Value: false
528
+
/// Limits the number of returned rerank results to the specified value. If not passed, all the rerank results will be returned.
534
529
/// </param>
535
530
/// <param name="maxTokensPerDoc">
536
531
/// Defaults to `4096`. Long documents will be automatically truncated to the specified number of tokens.
Copy file name to clipboardExpand all lines: src/libs/Cohere/Generated/Cohere.ICohereApi.Rerankv2.g.cs
+3-9Lines changed: 3 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ public partial interface ICohereApi
23
23
/// </summary>
24
24
/// <param name="xClientName"></param>
25
25
/// <param name="model">
26
-
/// The identifier of the model to use.<br/>
26
+
/// The identifier of the model to use.<br/>
27
27
/// Supported models:<br/>
28
28
/// - `rerank-english-v3.0`<br/>
29
29
/// - `rerank-multilingual-v3.0`<br/>
@@ -40,12 +40,7 @@ public partial interface ICohereApi
40
40
/// **Note**: structured data should be formatted as YAML strings for best performance.
41
41
/// </param>
42
42
/// <param name="topN">
43
-
/// Limits the returned number of rerank results to the specified value. If not passed, all the rerank results will be returned.
44
-
/// </param>
45
-
/// <param name="returnDocuments">
46
-
/// - If false, returns results without the doc text - the api will return a list of {index, relevance score} where index is inferred from the list passed into the request.<br/>
47
-
/// - If true, returns results with the doc text passed in - the api will return an ordered list of {index, text, relevance score} where index + text refers to the list passed into the request.<br/>
48
-
/// Default Value: false
43
+
/// Limits the number of returned rerank results to the specified value. If not passed, all the rerank results will be returned.
49
44
/// </param>
50
45
/// <param name="maxTokensPerDoc">
51
46
/// Defaults to `4096`. Long documents will be automatically truncated to the specified number of tokens.
@@ -55,10 +50,9 @@ public partial interface ICohereApi
/// - If false, returns results without the doc text - the api will return a list of {index, relevance score} where index is inferred from the list passed into the request.<br/>
50
-
/// - If true, returns results with the doc text passed in - the api will return an ordered list of {index, text, relevance score} where index + text refers to the list passed into the request.<br/>
/// Defaults to `4096`. Long documents will be automatically truncated to the specified number of tokens.
58
48
/// </summary>
@@ -69,7 +59,7 @@ public sealed partial class Rerankv2Request
69
59
/// Initializes a new instance of the <see cref="Rerankv2Request" /> class.
70
60
/// </summary>
71
61
/// <param name="model">
72
-
/// The identifier of the model to use.<br/>
62
+
/// The identifier of the model to use.<br/>
73
63
/// Supported models:<br/>
74
64
/// - `rerank-english-v3.0`<br/>
75
65
/// - `rerank-multilingual-v3.0`<br/>
@@ -86,12 +76,7 @@ public sealed partial class Rerankv2Request
86
76
/// **Note**: structured data should be formatted as YAML strings for best performance.
87
77
/// </param>
88
78
/// <param name="topN">
89
-
/// Limits the returned number of rerank results to the specified value. If not passed, all the rerank results will be returned.
90
-
/// </param>
91
-
/// <param name="returnDocuments">
92
-
/// - If false, returns results without the doc text - the api will return a list of {index, relevance score} where index is inferred from the list passed into the request.<br/>
93
-
/// - If true, returns results with the doc text passed in - the api will return an ordered list of {index, text, relevance score} where index + text refers to the list passed into the request.<br/>
94
-
/// Default Value: false
79
+
/// Limits the number of returned rerank results to the specified value. If not passed, all the rerank results will be returned.
95
80
/// </param>
96
81
/// <param name="maxTokensPerDoc">
97
82
/// Defaults to `4096`. Long documents will be automatically truncated to the specified number of tokens.
@@ -100,16 +85,14 @@ public sealed partial class Rerankv2Request
/// Corresponds to the index in the original list of documents to which the ranked document belongs. (i.e. if the first value in the `results` object has an `index` value of 3, it means in the list of documents passed in, the document at `index=3` had the highest relevance)
19
13
/// </summary>
@@ -38,9 +32,6 @@ public sealed partial class Rerankv2ResponseResult
38
32
/// <summary>
39
33
/// Initializes a new instance of the <see cref="Rerankv2ResponseResult" /> class.
40
34
/// </summary>
41
-
/// <param name="document">
42
-
/// If `return_documents` is set as `false` this will return none, if `true` it will return the documents passed in
43
-
/// </param>
44
35
/// <param name="index">
45
36
/// Corresponds to the index in the original list of documents to which the ranked document belongs. (i.e. if the first value in the `results` object has an `index` value of 3, it means in the list of documents passed in, the document at `index=3` had the highest relevance)
46
37
/// </param>
@@ -51,11 +42,9 @@ public sealed partial class Rerankv2ResponseResult
0 commit comments