openai/openai-dotnet

Public

mirrored from https://github.com/openai/openai-dotnetAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
OpenAI_2.2.0-beta.2

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

src/Custom/Assistants/AssistantCollectionOptions.cs

34lines · modecode

1using System.Diagnostics.CodeAnalysis;
2
3namespace OpenAI.Assistants;
4
5/// <summary> The options to configure how <see cref="Assistant"/> objects are retrieved and paginated. </summary>
6[Experimental("OPENAI001")]
7public class AssistantCollectionOptions
8{
9 /// <summary> Initializes a new instance of <see cref="AssistantCollectionOptions"/>. </summary>
10 public AssistantCollectionOptions() { }
11
12 /// <summary>
13 /// A limit on the number of <see cref="Assistant"/> objects to be returned per page.
14 /// </summary>
15 public int? PageSizeLimit { get; set; }
16
17 /// <summary>
18 /// The order in which to retrieve <see cref="Assistant"/> objects when sorted by their
19 /// <see cref="Assistant.CreatedAt"/> timestamp.
20 /// </summary>
21 public AssistantCollectionOrder? Order { get; set; }
22
23 /// <summary>
24 /// The <see cref="Assistant.Id"/> used to retrieve the page of <see cref="Assistant"/> objects that come
25 /// after this one.
26 /// </summary>
27 public string AfterId { get; set; }
28
29 /// <summary>
30 /// The <see cref="Assistant.Id"/> used to retrieve the page of <see cref="Assistant"/> objects that come
31 /// before this one.
32 /// </summary>
33 public string BeforeId { get; set; }
34}
35