Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/libs/Groq/Generated/Groq.AudioClient.CreateSpeech.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ partial void ProcessCreateSpeechResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref byte[] content);


/// <summary>
/// Generates audio from the input text.
/// </summary>

/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Groq.ApiException"></exception>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ partial void ProcessCreateTranscriptionResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Transcribes audio into the input language.
/// </summary>

/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Groq.ApiException"></exception>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ partial void ProcessCreateTranslationResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Translates audio into English.
/// </summary>

/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Groq.ApiException"></exception>
Expand Down
1 change: 1 addition & 0 deletions src/libs/Groq/Generated/Groq.BatchClient.CancelBatch.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ partial void ProcessCancelBatchResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Cancels a batch.
/// </summary>
Expand Down
2 changes: 2 additions & 0 deletions src/libs/Groq/Generated/Groq.BatchClient.CreateBatch.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ partial void ProcessCreateBatchResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Creates and executes a batch from an uploaded file of requests. [Learn more](/docs/batch).
/// </summary>

/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Groq.ApiException"></exception>
Expand Down
1 change: 1 addition & 0 deletions src/libs/Groq/Generated/Groq.BatchClient.ListBatches.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ partial void ProcessListBatchesResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// List your organization's batches.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ partial void ProcessRetrieveBatchResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Retrieves a batch.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ partial void ProcessCreateChatCompletionResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Creates a model response for the given chat conversation.
/// </summary>

/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Groq.ApiException"></exception>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ partial void ProcessCreateEmbeddingResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Creates an embedding vector representing the input text.
/// </summary>

/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Groq.ApiException"></exception>
Expand Down
1 change: 1 addition & 0 deletions src/libs/Groq/Generated/Groq.FilesClient.DeleteFile.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ partial void ProcessDeleteFileResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Delete a file.
/// </summary>
Expand Down
1 change: 1 addition & 0 deletions src/libs/Groq/Generated/Groq.FilesClient.DownloadFile.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ partial void ProcessDownloadFileResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref byte[] content);


/// <summary>
/// Returns the contents of the specified file.
/// </summary>
Expand Down
1 change: 1 addition & 0 deletions src/libs/Groq/Generated/Groq.FilesClient.ListFiles.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ partial void ProcessListFilesResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Returns a list of files.
/// </summary>
Expand Down
1 change: 1 addition & 0 deletions src/libs/Groq/Generated/Groq.FilesClient.RetrieveFile.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ partial void ProcessRetrieveFileResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Returns information about a file.
/// </summary>
Expand Down
4 changes: 3 additions & 1 deletion src/libs/Groq/Generated/Groq.FilesClient.UploadFile.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,13 @@
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Upload a file that can be used across various endpoints.<br/>
/// The Batch API only supports `.jsonl` files up to 100 MB in size. The input also has a specific required [format](/docs/batch).<br/>
/// Please contact us if you need to increase these storage limits.
/// </summary>

/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Groq.ApiException"></exception>
Expand Down Expand Up @@ -83,7 +85,7 @@
{

__httpRequestContent.Add(
content: new global::System.Net.Http.StringContent($"{request.Purpose.ToValueString()}"),
content: new global::System.Net.Http.StringContent($"{request.Purpose?.ToValueString()}"),

Check failure on line 88 in src/libs/Groq/Generated/Groq.FilesClient.UploadFile.g.cs

View workflow job for this annotation

GitHub Actions / Test / Build, test and publish

Operator '?' cannot be applied to operand of type 'CreateFileRequestPurpose'

Check failure on line 88 in src/libs/Groq/Generated/Groq.FilesClient.UploadFile.g.cs

View workflow job for this annotation

GitHub Actions / Test / Build, test and publish

Operator '?' cannot be applied to operand of type 'CreateFileRequestPurpose'
name: "\"purpose\"");
}
__httpRequest.Content = __httpRequestContent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ partial void ProcessCreateFineTuningResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Creates a new fine tuning for the already uploaded files This endpoint is in closed beta. [Contact us](https://groq.com/contact) for more information.
/// </summary>

/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Groq.ApiException"></exception>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ partial void ProcessDeleteFineTuningResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Deletes an existing fine tuning by id This endpoint is in closed beta. [Contact us](https://groq.com/contact) for more information.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ partial void ProcessGetFineTuningResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Retrieves an existing fine tuning by id This endpoint is in closed beta. [Contact us](https://groq.com/contact) for more information.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ partial void ProcessListFineTuningsResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Lists all previously created fine tunings. This endpoint is in closed beta. [Contact us](https://groq.com/contact) for more information.
/// </summary>
Expand Down
2 changes: 2 additions & 0 deletions src/libs/Groq/Generated/Groq.IAudioClient.CreateSpeech.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ namespace Groq
{
public partial interface IAudioClient
{

/// <summary>
/// Generates audio from the input text.
/// </summary>

/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Groq.ApiException"></exception>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ namespace Groq
{
public partial interface IAudioClient
{

/// <summary>
/// Transcribes audio into the input language.
/// </summary>

/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Groq.ApiException"></exception>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ namespace Groq
{
public partial interface IAudioClient
{

/// <summary>
/// Translates audio into English.
/// </summary>

/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Groq.ApiException"></exception>
Expand Down
1 change: 1 addition & 0 deletions src/libs/Groq/Generated/Groq.IBatchClient.CancelBatch.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ namespace Groq
{
public partial interface IBatchClient
{

/// <summary>
/// Cancels a batch.
/// </summary>
Expand Down
2 changes: 2 additions & 0 deletions src/libs/Groq/Generated/Groq.IBatchClient.CreateBatch.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ namespace Groq
{
public partial interface IBatchClient
{

/// <summary>
/// Creates and executes a batch from an uploaded file of requests. [Learn more](/docs/batch).
/// </summary>

/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Groq.ApiException"></exception>
Expand Down
1 change: 1 addition & 0 deletions src/libs/Groq/Generated/Groq.IBatchClient.ListBatches.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ namespace Groq
{
public partial interface IBatchClient
{

/// <summary>
/// List your organization's batches.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ namespace Groq
{
public partial interface IBatchClient
{

/// <summary>
/// Retrieves a batch.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ namespace Groq
{
public partial interface IChatClient
{

/// <summary>
/// Creates a model response for the given chat conversation.
/// </summary>

/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Groq.ApiException"></exception>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ namespace Groq
{
public partial interface IEmbeddingsClient
{

/// <summary>
/// Creates an embedding vector representing the input text.
/// </summary>

/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Groq.ApiException"></exception>
Expand Down
1 change: 1 addition & 0 deletions src/libs/Groq/Generated/Groq.IFilesClient.DeleteFile.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ namespace Groq
{
public partial interface IFilesClient
{

/// <summary>
/// Delete a file.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ namespace Groq
{
public partial interface IFilesClient
{

/// <summary>
/// Returns the contents of the specified file.
/// </summary>
Expand Down
1 change: 1 addition & 0 deletions src/libs/Groq/Generated/Groq.IFilesClient.ListFiles.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ namespace Groq
{
public partial interface IFilesClient
{

/// <summary>
/// Returns a list of files.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ namespace Groq
{
public partial interface IFilesClient
{

/// <summary>
/// Returns information about a file.
/// </summary>
Expand Down
2 changes: 2 additions & 0 deletions src/libs/Groq/Generated/Groq.IFilesClient.UploadFile.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ namespace Groq
{
public partial interface IFilesClient
{

/// <summary>
/// Upload a file that can be used across various endpoints.<br/>
/// The Batch API only supports `.jsonl` files up to 100 MB in size. The input also has a specific required [format](/docs/batch).<br/>
/// Please contact us if you need to increase these storage limits.
/// </summary>

/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Groq.ApiException"></exception>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ namespace Groq
{
public partial interface IFineTuningClient
{

/// <summary>
/// Creates a new fine tuning for the already uploaded files This endpoint is in closed beta. [Contact us](https://groq.com/contact) for more information.
/// </summary>

/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Groq.ApiException"></exception>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ namespace Groq
{
public partial interface IFineTuningClient
{

/// <summary>
/// Deletes an existing fine tuning by id This endpoint is in closed beta. [Contact us](https://groq.com/contact) for more information.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ namespace Groq
{
public partial interface IFineTuningClient
{

/// <summary>
/// Retrieves an existing fine tuning by id This endpoint is in closed beta. [Contact us](https://groq.com/contact) for more information.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ namespace Groq
{
public partial interface IFineTuningClient
{

/// <summary>
/// Lists all previously created fine tunings. This endpoint is in closed beta. [Contact us](https://groq.com/contact) for more information.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ namespace Groq
{
public partial interface IModelsClient
{

/// <summary>
/// Delete model<br/>
/// Delete a model
Expand Down
1 change: 1 addition & 0 deletions src/libs/Groq/Generated/Groq.IModelsClient.ListModels.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ namespace Groq
{
public partial interface IModelsClient
{

/// <summary>
/// List all available [models](https://console.groq.com/docs/models).<br/>
/// get all available models
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ namespace Groq
{
public partial interface IModelsClient
{

/// <summary>
/// Get detailed information about a [model](https://console.groq.com/docs/models).<br/>
/// Get a specific model
Expand Down
Loading
Loading