Skip to content

Commit 4acce73

Browse files
HavenDVgithub-actions[bot]
andauthored
feat: Updated OpenAPI spec (#252)
Co-authored-by: github-actions[bot] <[email protected]>
1 parent bb4f47a commit 4acce73

File tree

4 files changed

+0
-33
lines changed

4 files changed

+0
-33
lines changed

src/libs/Cohere/Generated/Cohere.CohereClient.Chatv2.g.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -668,11 +668,6 @@ partial void ProcessChatv2ResponseContent(
668668
/// Defaults to `0.0`, min value of `0.0`, max value of `1.0`.<br/>
669669
/// Used to reduce repetitiveness of generated tokens. Similar to `frequency_penalty`, except that this penalty is applied equally to all tokens that have already appeared, regardless of their exact frequencies.
670670
/// </param>
671-
/// <param name="rawPrompting">
672-
/// When enabled, the user's prompt will be sent to the model without<br/>
673-
/// any pre-processing.<br/>
674-
/// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments
675-
/// </param>
676671
/// <param name="responseFormat">
677672
/// Configuration for forcing the model output to adhere to the specified format. Supported on [Command R](https://docs.cohere.com/v2/docs/command-r), [Command R+](https://docs.cohere.com/v2/docs/command-r-plus) and newer models.<br/>
678673
/// The model can be forced into outputting JSON objects by setting `{ "type": "json_object" }`.<br/>
@@ -738,7 +733,6 @@ partial void ProcessChatv2ResponseContent(
738733
int? maxTokens = default,
739734
float? p = default,
740735
float? presencePenalty = default,
741-
bool? rawPrompting = default,
742736
global::Cohere.ResponseFormatV2? responseFormat = default,
743737
global::Cohere.Chatv2RequestSafetyMode? safetyMode = default,
744738
int? seed = default,
@@ -763,7 +757,6 @@ partial void ProcessChatv2ResponseContent(
763757
Model = model,
764758
P = p,
765759
PresencePenalty = presencePenalty,
766-
RawPrompting = rawPrompting,
767760
ResponseFormat = responseFormat,
768761
SafetyMode = safetyMode,
769762
Seed = seed,

src/libs/Cohere/Generated/Cohere.ICohereClient.Chatv2.g.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,6 @@ public partial interface ICohereClient
6363
/// Defaults to `0.0`, min value of `0.0`, max value of `1.0`.<br/>
6464
/// Used to reduce repetitiveness of generated tokens. Similar to `frequency_penalty`, except that this penalty is applied equally to all tokens that have already appeared, regardless of their exact frequencies.
6565
/// </param>
66-
/// <param name="rawPrompting">
67-
/// When enabled, the user's prompt will be sent to the model without<br/>
68-
/// any pre-processing.<br/>
69-
/// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments
70-
/// </param>
7166
/// <param name="responseFormat">
7267
/// Configuration for forcing the model output to adhere to the specified format. Supported on [Command R](https://docs.cohere.com/v2/docs/command-r), [Command R+](https://docs.cohere.com/v2/docs/command-r-plus) and newer models.<br/>
7368
/// The model can be forced into outputting JSON objects by setting `{ "type": "json_object" }`.<br/>
@@ -133,7 +128,6 @@ public partial interface ICohereClient
133128
int? maxTokens = default,
134129
float? p = default,
135130
float? presencePenalty = default,
136-
bool? rawPrompting = default,
137131
global::Cohere.ResponseFormatV2? responseFormat = default,
138132
global::Cohere.Chatv2RequestSafetyMode? safetyMode = default,
139133
int? seed = default,

src/libs/Cohere/Generated/Cohere.Models.Chatv2Request.g.cs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,6 @@ public sealed partial class Chatv2Request
8181
[global::System.Text.Json.Serialization.JsonPropertyName("presence_penalty")]
8282
public float? PresencePenalty { get; set; }
8383

84-
/// <summary>
85-
/// When enabled, the user's prompt will be sent to the model without<br/>
86-
/// any pre-processing.<br/>
87-
/// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments
88-
/// </summary>
89-
[global::System.Text.Json.Serialization.JsonPropertyName("raw_prompting")]
90-
public bool? RawPrompting { get; set; }
91-
9284
/// <summary>
9385
/// Configuration for forcing the model output to adhere to the specified format. Supported on [Command R](https://docs.cohere.com/v2/docs/command-r), [Command R+](https://docs.cohere.com/v2/docs/command-r-plus) and newer models.<br/>
9486
/// The model can be forced into outputting JSON objects by setting `{ "type": "json_object" }`.<br/>
@@ -221,11 +213,6 @@ public sealed partial class Chatv2Request
221213
/// Defaults to `0.0`, min value of `0.0`, max value of `1.0`.<br/>
222214
/// Used to reduce repetitiveness of generated tokens. Similar to `frequency_penalty`, except that this penalty is applied equally to all tokens that have already appeared, regardless of their exact frequencies.
223215
/// </param>
224-
/// <param name="rawPrompting">
225-
/// When enabled, the user's prompt will be sent to the model without<br/>
226-
/// any pre-processing.<br/>
227-
/// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments
228-
/// </param>
229216
/// <param name="responseFormat">
230217
/// Configuration for forcing the model output to adhere to the specified format. Supported on [Command R](https://docs.cohere.com/v2/docs/command-r), [Command R+](https://docs.cohere.com/v2/docs/command-r-plus) and newer models.<br/>
231218
/// The model can be forced into outputting JSON objects by setting `{ "type": "json_object" }`.<br/>
@@ -291,7 +278,6 @@ public Chatv2Request(
291278
int? maxTokens,
292279
float? p,
293280
float? presencePenalty,
294-
bool? rawPrompting,
295281
global::Cohere.ResponseFormatV2? responseFormat,
296282
global::Cohere.Chatv2RequestSafetyMode? safetyMode,
297283
int? seed,
@@ -313,7 +299,6 @@ public Chatv2Request(
313299
this.MaxTokens = maxTokens;
314300
this.P = p;
315301
this.PresencePenalty = presencePenalty;
316-
this.RawPrompting = rawPrompting;
317302
this.ResponseFormat = responseFormat;
318303
this.SafetyMode = safetyMode;
319304
this.Seed = seed;

src/libs/Cohere/openapi.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7439,11 +7439,6 @@ paths:
74397439
format: float
74407440
x-fern-audiences:
74417441
- public
7442-
raw_prompting:
7443-
type: boolean
7444-
description: "When enabled, the user's prompt will be sent to the model without\nany pre-processing.\n\nCompatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments\n"
7445-
x-fern-audiences:
7446-
- sdk-only
74477442
response_format:
74487443
$ref: '#/components/schemas/ResponseFormatV2'
74497444
safety_mode:

0 commit comments

Comments
 (0)