Skip to content

Commit 111c2a6

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

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ partial void ProcessEmbedResponseContent(
642642
/// </param>
643643
/// <param name="images">
644644
/// An array of image data URIs for the model to embed. Maximum number of images per call is `1`.<br/>
645-
/// The image must be a valid [data URI](https://developer.mozilla.org/en-US/docs/Web/URI/Schemes/data). The image must be in either `image/jpeg` or `image/png` format and has a maximum size of 5MB.<br/>
645+
/// The image must be a valid [data URI](https://developer.mozilla.org/en-US/docs/Web/URI/Schemes/data). The image must be in either `image/jpeg`, `image/png`, `image/webp`, or `image/gif` format and has a maximum size of 5MB.<br/>
646646
/// Images are only supported with Embed v3.0 and newer models.
647647
/// </param>
648648
/// <param name="inputType">

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ partial void ProcessEmbedv2ResponseContent(
644644
/// </param>
645645
/// <param name="images">
646646
/// An array of image data URIs for the model to embed. Maximum number of images per call is `1`.<br/>
647-
/// The image must be a valid [data URI](https://developer.mozilla.org/en-US/docs/Web/URI/Schemes/data). The image must be in either `image/jpeg` or `image/png` format and has a maximum size of 5MB.<br/>
647+
/// The image must be a valid [data URI](https://developer.mozilla.org/en-US/docs/Web/URI/Schemes/data). The image must be in either `image/jpeg`, `image/png`, `image/webp`, or `image/gif` format and has a maximum size of 5MB.<br/>
648648
/// Image embeddings are supported with Embed v3.0 and newer models.
649649
/// </param>
650650
/// <param name="inputType">

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public partial interface ICohereClient
3737
/// </param>
3838
/// <param name="images">
3939
/// An array of image data URIs for the model to embed. Maximum number of images per call is `1`.<br/>
40-
/// The image must be a valid [data URI](https://developer.mozilla.org/en-US/docs/Web/URI/Schemes/data). The image must be in either `image/jpeg` or `image/png` format and has a maximum size of 5MB.<br/>
40+
/// The image must be a valid [data URI](https://developer.mozilla.org/en-US/docs/Web/URI/Schemes/data). The image must be in either `image/jpeg`, `image/png`, `image/webp`, or `image/gif` format and has a maximum size of 5MB.<br/>
4141
/// Images are only supported with Embed v3.0 and newer models.
4242
/// </param>
4343
/// <param name="inputType">

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public partial interface ICohereClient
3939
/// </param>
4040
/// <param name="images">
4141
/// An array of image data URIs for the model to embed. Maximum number of images per call is `1`.<br/>
42-
/// The image must be a valid [data URI](https://developer.mozilla.org/en-US/docs/Web/URI/Schemes/data). The image must be in either `image/jpeg` or `image/png` format and has a maximum size of 5MB.<br/>
42+
/// The image must be a valid [data URI](https://developer.mozilla.org/en-US/docs/Web/URI/Schemes/data). The image must be in either `image/jpeg`, `image/png`, `image/webp`, or `image/gif` format and has a maximum size of 5MB.<br/>
4343
/// Image embeddings are supported with Embed v3.0 and newer models.
4444
/// </param>
4545
/// <param name="inputType">

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public sealed partial class EmbedRequest
2222

2323
/// <summary>
2424
/// An array of image data URIs for the model to embed. Maximum number of images per call is `1`.<br/>
25-
/// The image must be a valid [data URI](https://developer.mozilla.org/en-US/docs/Web/URI/Schemes/data). The image must be in either `image/jpeg` or `image/png` format and has a maximum size of 5MB.<br/>
25+
/// The image must be a valid [data URI](https://developer.mozilla.org/en-US/docs/Web/URI/Schemes/data). The image must be in either `image/jpeg`, `image/png`, `image/webp`, or `image/gif` format and has a maximum size of 5MB.<br/>
2626
/// Images are only supported with Embed v3.0 and newer models.
2727
/// </summary>
2828
[global::System.Text.Json.Serialization.JsonPropertyName("images")]
@@ -85,7 +85,7 @@ public sealed partial class EmbedRequest
8585
/// </param>
8686
/// <param name="images">
8787
/// An array of image data URIs for the model to embed. Maximum number of images per call is `1`.<br/>
88-
/// The image must be a valid [data URI](https://developer.mozilla.org/en-US/docs/Web/URI/Schemes/data). The image must be in either `image/jpeg` or `image/png` format and has a maximum size of 5MB.<br/>
88+
/// The image must be a valid [data URI](https://developer.mozilla.org/en-US/docs/Web/URI/Schemes/data). The image must be in either `image/jpeg`, `image/png`, `image/webp`, or `image/gif` format and has a maximum size of 5MB.<br/>
8989
/// Images are only supported with Embed v3.0 and newer models.
9090
/// </param>
9191
/// <param name="inputType">

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public sealed partial class Embedv2Request
2424

2525
/// <summary>
2626
/// An array of image data URIs for the model to embed. Maximum number of images per call is `1`.<br/>
27-
/// The image must be a valid [data URI](https://developer.mozilla.org/en-US/docs/Web/URI/Schemes/data). The image must be in either `image/jpeg` or `image/png` format and has a maximum size of 5MB.<br/>
27+
/// The image must be a valid [data URI](https://developer.mozilla.org/en-US/docs/Web/URI/Schemes/data). The image must be in either `image/jpeg`, `image/png`, `image/webp`, or `image/gif` format and has a maximum size of 5MB.<br/>
2828
/// Image embeddings are supported with Embed v3.0 and newer models.
2929
/// </summary>
3030
[global::System.Text.Json.Serialization.JsonPropertyName("images")]
@@ -109,7 +109,7 @@ public sealed partial class Embedv2Request
109109
/// </param>
110110
/// <param name="images">
111111
/// An array of image data URIs for the model to embed. Maximum number of images per call is `1`.<br/>
112-
/// The image must be a valid [data URI](https://developer.mozilla.org/en-US/docs/Web/URI/Schemes/data). The image must be in either `image/jpeg` or `image/png` format and has a maximum size of 5MB.<br/>
112+
/// The image must be a valid [data URI](https://developer.mozilla.org/en-US/docs/Web/URI/Schemes/data). The image must be in either `image/jpeg`, `image/png`, `image/webp`, or `image/gif` format and has a maximum size of 5MB.<br/>
113113
/// Image embeddings are supported with Embed v3.0 and newer models.
114114
/// </param>
115115
/// <param name="inputType">

src/libs/Cohere/openapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2165,7 +2165,7 @@ paths:
21652165
writeOnly: true
21662166
x-fern-audiences:
21672167
- public
2168-
description: "An array of image data URIs for the model to embed. Maximum number of images per call is `1`.\n\nThe image must be a valid [data URI](https://developer.mozilla.org/en-US/docs/Web/URI/Schemes/data). The image must be in either `image/jpeg` or `image/png` format and has a maximum size of 5MB.\n\nImages are only supported with Embed v3.0 and newer models."
2168+
description: "An array of image data URIs for the model to embed. Maximum number of images per call is `1`.\n\nThe image must be a valid [data URI](https://developer.mozilla.org/en-US/docs/Web/URI/Schemes/data). The image must be in either `image/jpeg`, `image/png`, `image/webp`, or `image/gif` format and has a maximum size of 5MB.\n\nImages are only supported with Embed v3.0 and newer models."
21692169
x-fern-audiences:
21702170
- public
21712171
input_type:
@@ -8865,7 +8865,7 @@ paths:
88658865
writeOnly: true
88668866
x-fern-audiences:
88678867
- public
8868-
description: "An array of image data URIs for the model to embed. Maximum number of images per call is `1`.\n\nThe image must be a valid [data URI](https://developer.mozilla.org/en-US/docs/Web/URI/Schemes/data). The image must be in either `image/jpeg` or `image/png` format and has a maximum size of 5MB.\n\nImage embeddings are supported with Embed v3.0 and newer models."
8868+
description: "An array of image data URIs for the model to embed. Maximum number of images per call is `1`.\n\nThe image must be a valid [data URI](https://developer.mozilla.org/en-US/docs/Web/URI/Schemes/data). The image must be in either `image/jpeg`, `image/png`, `image/webp`, or `image/gif` format and has a maximum size of 5MB.\n\nImage embeddings are supported with Embed v3.0 and newer models."
88698869
x-fern-audiences:
88708870
- public
88718871
input_type:

0 commit comments

Comments
 (0)