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: 1 addition & 1 deletion src/libs/Mistral/Generated/Mistral.AgentsClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace Mistral
{
/// <summary>
/// Agents API.<br/>
/// Agents<br/>
/// If no httpClient is provided, a new one will be created.<br/>
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ partial void ProcessCreateStreamingTranscriptionSseResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);


/// <summary>
/// Create Streaming Transcription (SSE)
/// </summary>

/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Mistral.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>
/// Create Transcription
/// </summary>

/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Mistral.ApiException"></exception>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace Mistral
{
/// <summary>
/// API for audio transcription.<br/>
/// Transcriptions API<br/>
/// If no httpClient is provided, a new one will be created.<br/>
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ partial void ProcessCancelBatchJobResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Cancel Batch Job<br/>
/// Request the cancellation of a batch job.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ partial void ProcessCreateBatchJobResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Create Batch Job<br/>
/// Create a new batch job, it will be queued for processing.
/// </summary>

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


/// <summary>
/// Get Batch Job<br/>
/// Get a batch job details by its UUID.<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ partial void ProcessGetBatchJobsResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Get Batch Jobs<br/>
/// Get a list of batch jobs for your organization and user.
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Mistral/Generated/Mistral.BatchClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace Mistral
{
/// <summary>
/// Batch API<br/>
/// Batch<br/>
/// If no httpClient is provided, a new one will be created.<br/>
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ partial void ProcessCreateAAgentThatCanBeUsedWithinAConversationResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Create a agent that can be used within a conversation.<br/>
/// Create a new agent giving it instructions, tools, description. The agent is then available to be used as a regular assistant in a conversation or as part of an agent pool from which it can be used.
/// </summary>

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


/// <summary>
/// Create or update an agent version alias.<br/>
/// Create a new alias or update an existing alias to point to a specific version. Aliases are unique per agent and can be reassigned to different versions.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ partial void ProcessDeleteAnAgentEntityResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);


/// <summary>
/// Delete an agent entity.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ partial void ProcessDeleteAnAgentVersionAliasResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);


/// <summary>
/// Delete an agent version alias.<br/>
/// Delete an existing alias for an agent.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ partial void ProcessListAgentEntitiesResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// List agent entities.<br/>
/// Retrieve a list of agent entities sorted by creation time.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ partial void ProcessListAllAliasesForAnAgentResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// List all aliases for an agent.<br/>
/// Retrieve all version aliases for a specific agent.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ partial void ProcessListAllVersionsOfAnAgentResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// List all versions of an agent.<br/>
/// Retrieve all versions for a specific agent with full agent context. Supports pagination.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ partial void ProcessRetrieveASpecificVersionOfAnAgentResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Retrieve a specific version of an agent.<br/>
/// Get a specific agent version by version number.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ partial void ProcessRetrieveAnAgentEntityResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Retrieve an agent entity.<br/>
/// Given an agent, retrieve an agent entity with its attributes. The agent_version parameter can be an integer version number or a string alias.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@ partial void ProcessUpdateAnAgentEntityResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Update an agent entity.<br/>
/// Update an agent attributes and create a new version.
/// </summary>
/// <param name="agentId"></param>

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


/// <summary>
/// Update an agent version.<br/>
/// Switch the version of an agent.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,15 @@ partial void ProcessAppendNewEntriesToAnExistingConversationResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Append new entries to an existing conversation.<br/>
/// Run completion on the history of the conversation and the user entries. Return the new created entries.
/// </summary>
/// <param name="conversationId">
/// ID of the conversation to which we append entries.
/// </param>

/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Mistral.ApiException"></exception>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@ partial void ProcessAppendNewEntriesToAnExistingConversation2Response(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);


/// <summary>
/// Append new entries to an existing conversation.<br/>
/// Run completion on the history of the conversation and the user entries. Return the new created entries.
/// </summary>
/// <param name="conversationId">
/// ID of the conversation to which we append entries.
/// </param>

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


/// <summary>
/// Create a conversation and append entries to it.<br/>
/// Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.
/// </summary>

/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Mistral.ApiException"></exception>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ partial void ProcessCreateAConversationAndAppendEntriesToIt2Response(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);


/// <summary>
/// Create a conversation and append entries to it.<br/>
/// Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.
/// </summary>

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


/// <summary>
/// Delete a conversation.<br/>
/// Delete a conversation given a conversation_id.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ partial void ProcessListAllCreatedConversationsResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// List all created conversations.<br/>
/// Retrieve a list of conversation entities sorted by creation time.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,15 @@ partial void ProcessRestartAConversationStartingFromAGivenEntryResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Restart a conversation starting from a given entry.<br/>
/// Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.
/// </summary>
/// <param name="conversationId">
/// ID of the original conversation which is being restarted.
/// </param>

/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Mistral.ApiException"></exception>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@ partial void ProcessRestartAConversationStartingFromAGivenEntry2Response(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);


/// <summary>
/// Restart a conversation starting from a given entry.<br/>
/// Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.
/// </summary>
/// <param name="conversationId">
/// ID of the original conversation which is being restarted.
/// </param>

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


/// <summary>
/// Retrieve a conversation information.<br/>
/// Given a conversation_id retrieve a conversation entity with its attributes.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ partial void ProcessRetrieveAllEntriesInAConversationResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Retrieve all entries in a conversation.<br/>
/// Given a conversation_id retrieve all the entries belonging to that conversation. The entries are sorted in the order they were appended, those can be messages, connectors or function_call.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ partial void ProcessRetrieveAllMessagesInAConversationResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Retrieve all messages in a conversation.<br/>
/// Given a conversation_id retrieve all the messages belonging to that conversation. This is similar to retrieving all entries except we filter the messages only.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@ partial void ProcessCreateOrUpdateAnAccessLevelResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Create or update an access level.<br/>
/// Given a library id, you can create or update the access level of an entity. You have to be owner of the library to share a library. An owner cannot change their own role. A library cannot be shared outside of the organization.
/// </summary>
/// <param name="libraryId"></param>

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


/// <summary>
/// Delete an access level.<br/>
/// Given a library id, you can delete the access level of an entity. An owner cannot delete it's own access. You have to be the owner of the library to delete an acces other than yours.
/// </summary>
/// <param name="libraryId"></param>

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


/// <summary>
/// List all of the access to this library.<br/>
/// Given a library, list all of the Entity that have access and to what level.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace Mistral
{
/// <summary>
/// (beta) Libraries API - manage access to a library.<br/>
/// (beta) Libraries API - Access<br/>
/// If no httpClient is provided, a new one will be created.<br/>
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ partial void ProcessCreateANewLibraryResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Create a new Library.<br/>
/// Create a new Library, you will be marked as the owner and only you will have the possibility to share it with others. When first created this will only be accessible by you.
/// </summary>

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


/// <summary>
/// Delete a library and all of it's document.<br/>
/// Given a library id, deletes it together with all documents that have been uploaded to that library.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ partial void ProcessDetailedInformationAboutASpecificLibraryResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Detailed information about a specific Library.<br/>
/// Given a library id, details information about that Library.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ partial void ProcessListAllLibrariesYouHaveAccessToResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// List all libraries you have access to.<br/>
/// List all libraries that you have created or have been shared with you.
Expand Down
Loading
Loading