Class AiApiExecutor
Inheritance
System.Object
AiApiExecutor
Assembly: Crowdin.Api.dll
Syntax
public class AiApiExecutor : object
Constructors
|
Improve this Doc
View Source
AiApiExecutor(ICrowdinApiClient)
Declaration
public AiApiExecutor(ICrowdinApiClient apiClient)
Parameters
|
Improve this Doc
View Source
AiApiExecutor(ICrowdinApiClient, IJsonParser)
Declaration
public AiApiExecutor(ICrowdinApiClient apiClient, IJsonParser jsonParser)
Parameters
Methods
|
Improve this Doc
View Source
AddAiPrompt(Nullable<Int32>, AddAiPromptRequest)
Declaration
public async Task<AiPromptResource> AddAiPrompt(int? userId, AddAiPromptRequest request)
Parameters
Returns
|
Improve this Doc
View Source
AddAiProvider(Nullable<Int32>, AddAiProviderRequest)
Declaration
public async Task<AiProviderResource> AddAiProvider(int? userId, AddAiProviderRequest request)
Parameters
Returns
|
Improve this Doc
View Source
CancelAiPromptCompletion(Nullable<Int32>, Int32, String)
Declaration
public async Task CancelAiPromptCompletion(int? userId, int aiPromptId, string completionId)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
userId |
|
System.Int32 |
aiPromptId |
|
System.String |
completionId |
|
Returns
|
Improve this Doc
View Source
CheckAiReportGenerationStatus(Nullable<Int32>, String)
Declaration
public async Task<AiReportGenerationStatus> CheckAiReportGenerationStatus(int? userId, string aiReportId)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
userId |
|
System.String |
aiReportId |
|
Returns
|
Improve this Doc
View Source
CloneAiPrompt(Nullable<Int32>, Int32, CloneAiPromptRequest)
Declaration
public async Task<AiPromptResource> CloneAiPrompt(int? userId, int aiPromptId, CloneAiPromptRequest request)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
userId |
|
System.Int32 |
aiPromptId |
|
CloneAiPromptRequest |
request |
|
Returns
|
Improve this Doc
View Source
CreateAiPromptFineTuningJob(Nullable<Int32>, Int32, CreateAiPromptFineTuningJobRequest)
Declaration
public async Task<AiFineTuningJob> CreateAiPromptFineTuningJob(int? userId, int aiPromptId, CreateAiPromptFineTuningJobRequest request)
Parameters
Returns
|
Improve this Doc
View Source
CreateAiProxyChatCompletion(Nullable<Int32>, Int32, IDictionary<String, Object>)
Declaration
public async Task<AiProxyChatCompletion> CreateAiProxyChatCompletion(int? userId, int aiProviderId, IDictionary<string, object> request)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
userId |
|
System.Int32 |
aiProviderId |
|
IDictionary<System.String, System.Object> |
request |
|
Returns
|
Improve this Doc
View Source
DeleteAiPrompt(Nullable<Int32>, Int32)
Declaration
public async Task DeleteAiPrompt(int? userId, int aiPromptId)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
userId |
|
System.Int32 |
aiPromptId |
|
Returns
|
Improve this Doc
View Source
DeleteAiProvider(Nullable<Int32>, Int32)
Declaration
public async Task DeleteAiProvider(int? userId, int aiProviderId)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
userId |
|
System.Int32 |
aiProviderId |
|
Returns
|
Improve this Doc
View Source
DownloadAiPromptCompletion(Nullable<Int32>, Int32, String)
Declaration
public async Task<DownloadLink> DownloadAiPromptCompletion(int? userId, int aiPromptId, string completionId)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
userId |
|
System.Int32 |
aiPromptId |
|
System.String |
completionId |
|
Returns
|
Improve this Doc
View Source
DownloadAiPromptFineTuningDataset(Nullable<Int32>, Int32, String)
Declaration
public async Task<DownloadLink> DownloadAiPromptFineTuningDataset(int? userId, int aiPromptId, string jobIdentifier)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
userId |
|
System.Int32 |
aiPromptId |
|
System.String |
jobIdentifier |
|
Returns
|
Improve this Doc
View Source
DownloadAiReport(Nullable<Int32>, String)
Declaration
public async Task<DownloadLink> DownloadAiReport(int? userId, string aiReportId)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
userId |
|
System.String |
aiReportId |
|
Returns
|
Improve this Doc
View Source
EditAiPrompt(Nullable<Int32>, Int32, IEnumerable<AiPromptPatch>)
Declaration
public async Task<AiPromptResource> EditAiPrompt(int? userId, int aiPromptId, IEnumerable<AiPromptPatch> patches)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
userId |
|
System.Int32 |
aiPromptId |
|
IEnumerable<AiPromptPatch> |
patches |
|
Returns
|
Improve this Doc
View Source
EditAiProvider(Nullable<Int32>, Int32, IEnumerable<AiProviderPatch>)
Declaration
public async Task<AiProviderResource> EditAiProvider(int? userId, int aiProviderId, IEnumerable<AiProviderPatch> patches)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
userId |
|
System.Int32 |
aiProviderId |
|
IEnumerable<AiProviderPatch> |
patches |
|
Returns
|
Improve this Doc
View Source
EditAiSettings(Nullable<Int32>, IEnumerable<AiSettingsPatch>)
Declaration
public async Task<AiSettings> EditAiSettings(int? userId, IEnumerable<AiSettingsPatch> patches)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
userId |
|
IEnumerable<AiSettingsPatch> |
patches |
|
Returns
|
Improve this Doc
View Source
GenerateAiPromptCompletion(Nullable<Int32>, Int32, GenerateAiPromptCompletionRequest)
Declaration
public async Task<AiPromptCompletion> GenerateAiPromptCompletion(int? userId, int aiPromptId, GenerateAiPromptCompletionRequest request)
Parameters
Returns
|
Improve this Doc
View Source
GenerateAiPromptFineTuningDataset(Nullable<Int32>, Int32, GenerateAiPromptFineTuningDatasetRequest)
Declaration
public async Task<AiFineTuningDataset> GenerateAiPromptFineTuningDataset(int? userId, int aiPromptId, GenerateAiPromptFineTuningDatasetRequest request)
Parameters
Returns
|
Improve this Doc
View Source
GenerateAiReport(Nullable<Int32>, GenerateAiReport)
Declaration
public async Task<AiReportGenerationStatus> GenerateAiReport(int? userId, GenerateAiReport request)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
userId |
|
GenerateAiReport |
request |
|
Returns
|
Improve this Doc
View Source
GetAiPrompt(Nullable<Int32>, Int32)
Declaration
public async Task<AiPromptResource> GetAiPrompt(int? userId, int aiPromptId)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
userId |
|
System.Int32 |
aiPromptId |
|
Returns
|
Improve this Doc
View Source
GetAiPromptCompletionStatus(Nullable<Int32>, Int32, String)
Declaration
public async Task<AiPromptCompletion> GetAiPromptCompletionStatus(int? userId, int aiPromptId, string completionId)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
userId |
|
System.Int32 |
aiPromptId |
|
System.String |
completionId |
|
Returns
|
Improve this Doc
View Source
GetAiPromptFineTuningDatasetGenerationStatus(Nullable<Int32>, Int32, String)
Declaration
public async Task<AiFineTuningDataset> GetAiPromptFineTuningDatasetGenerationStatus(int? userId, int aiPromptId, string jobIdentifier)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
userId |
|
System.Int32 |
aiPromptId |
|
System.String |
jobIdentifier |
|
Returns
|
Improve this Doc
View Source
GetAiPromptFineTuningJobStatus(Nullable<Int32>, Int32, String)
Declaration
public async Task<AiFineTuningJob> GetAiPromptFineTuningJobStatus(int? userId, int aiPromptId, string jobIdentifier)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
userId |
|
System.Int32 |
aiPromptId |
|
System.String |
jobIdentifier |
|
Returns
|
Improve this Doc
View Source
GetAiProvider(Nullable<Int32>, Int32)
Declaration
public async Task<AiProviderResource> GetAiProvider(int? userId, int aiProviderId)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
userId |
|
System.Int32 |
aiProviderId |
|
Returns
|
Improve this Doc
View Source
GetAiSettings(Nullable<Int32>)
Declaration
public async Task<AiSettings> GetAiSettings(int? userId)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
userId |
|
Returns
|
Improve this Doc
View Source
ListAiPrompts(Nullable<Int32>, Nullable<Int32>, Nullable<AiPromptAction>, Int32, Int32)
Declaration
public async Task<ResponseList<AiPromptResource>> ListAiPrompts(int? userId, int? projectId = null, AiPromptAction? action = null, int limit = 25, int offset = 0)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
userId |
|
System.Nullable<System.Int32> |
projectId |
|
System.Nullable<AiPromptAction> |
action |
|
System.Int32 |
limit |
|
System.Int32 |
offset |
|
Returns
|
Improve this Doc
View Source
ListAiProviderModels(Nullable<Int32>, Int32)
Declaration
public async Task<ResponseList<AiProviderModelResource>> ListAiProviderModels(int? userId, int aiProviderId)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
userId |
|
System.Int32 |
aiProviderId |
|
Returns
|
Improve this Doc
View Source
ListAiProviders(Nullable<Int32>, Int32, Int32)
Declaration
public async Task<ResponseList<AiProviderResource>> ListAiProviders(int? userId, int limit = 25, int offset = 0)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
userId |
|
System.Int32 |
limit |
|
System.Int32 |
offset |
|
Returns