openai/openai-dotnet

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
achandmsft-patch-1

Branches

Tags

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

Clone

HTTPS

Download ZIP

src/Custom/Assistants/AssistantCollectionOptions.cs

34lines · modeblame

79014abcShivangiReja1 years ago1using System.Diagnostics.CodeAnalysis;
2
58f93c8dShivangiReja2 years ago3namespace OpenAI.Assistants;
7bdecfd8Anne Thompson2 years ago4
2ab1a942Jose Arriaga Maldonado1 years ago5/// <summary> The options to configure how <see cref="Assistant"/> objects are retrieved and paginated. </summary>
79014abcShivangiReja1 years ago6[Experimental("OPENAI001")]
7bdecfd8Anne Thompson2 years ago7public class AssistantCollectionOptions
8{
2ab1a942Jose Arriaga Maldonado1 years ago9/// <summary> Initializes a new instance of <see cref="AssistantCollectionOptions"/>. </summary>
7bdecfd8Anne Thompson2 years ago10public AssistantCollectionOptions() { }
11
2ab1a942Jose Arriaga Maldonado1 years ago12/// <summary>
13/// A limit on the number of <see cref="Assistant"/> objects to be returned per page.
7bdecfd8Anne Thompson2 years ago14/// </summary>
2ab1a942Jose Arriaga Maldonado1 years ago15public int? PageSizeLimit { get; set; }
7bdecfd8Anne Thompson2 years ago16
17/// <summary>
2ab1a942Jose Arriaga Maldonado1 years ago18/// The order in which to retrieve <see cref="Assistant"/> objects when sorted by their
19/// <see cref="Assistant.CreatedAt"/> timestamp.
7bdecfd8Anne Thompson2 years ago20/// </summary>
2ab1a942Jose Arriaga Maldonado1 years ago21public AssistantCollectionOrder? Order { get; set; }
7bdecfd8Anne Thompson2 years ago22
23/// <summary>
2ab1a942Jose Arriaga Maldonado1 years ago24/// The <see cref="Assistant.Id"/> used to retrieve the page of <see cref="Assistant"/> objects that come
25/// after this one.
7bdecfd8Anne Thompson2 years ago26/// </summary>
58f93c8dShivangiReja2 years ago27public string AfterId { get; set; }
7bdecfd8Anne Thompson2 years ago28
29/// <summary>
2ab1a942Jose Arriaga Maldonado1 years ago30/// The <see cref="Assistant.Id"/> used to retrieve the page of <see cref="Assistant"/> objects that come
31/// before this one.
7bdecfd8Anne Thompson2 years ago32/// </summary>
58f93c8dShivangiReja2 years ago33public string BeforeId { get; set; }
7bdecfd8Anne Thompson2 years ago34}