-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathtryAGI.OpenAI.IProjectsClient.UpdateProjectRateLimits.g.cs
More file actions
58 lines (55 loc) · 2.52 KB
/
tryAGI.OpenAI.IProjectsClient.UpdateProjectRateLimits.g.cs
File metadata and controls
58 lines (55 loc) · 2.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#nullable enable
namespace tryAGI.OpenAI
{
public partial interface IProjectsClient
{
/// <summary>
/// Updates a project rate limit.
/// </summary>
/// <param name="projectId"></param>
/// <param name="rateLimitId"></param>
/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::tryAGI.OpenAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::tryAGI.OpenAI.ProjectRateLimit> UpdateProjectRateLimitsAsync(
string projectId,
string rateLimitId,
global::tryAGI.OpenAI.ProjectRateLimitUpdateRequest request,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Updates a project rate limit.
/// </summary>
/// <param name="projectId"></param>
/// <param name="rateLimitId"></param>
/// <param name="maxRequestsPer1Minute">
/// The maximum requests per minute.
/// </param>
/// <param name="maxTokensPer1Minute">
/// The maximum tokens per minute.
/// </param>
/// <param name="maxImagesPer1Minute">
/// The maximum images per minute. Only relevant for certain models.
/// </param>
/// <param name="maxAudioMegabytesPer1Minute">
/// The maximum audio megabytes per minute. Only relevant for certain models.
/// </param>
/// <param name="maxRequestsPer1Day">
/// The maximum requests per day. Only relevant for certain models.
/// </param>
/// <param name="batch1DayMaxInputTokens">
/// The maximum batch input tokens per day. Only relevant for certain models.
/// </param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::tryAGI.OpenAI.ProjectRateLimit> UpdateProjectRateLimitsAsync(
string projectId,
string rateLimitId,
int? maxRequestsPer1Minute = default,
int? maxTokensPer1Minute = default,
int? maxImagesPer1Minute = default,
long? maxAudioMegabytesPer1Minute = default,
int? maxRequestsPer1Day = default,
int? batch1DayMaxInputTokens = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}