openai/openai-dotnet
Publicmirrored from https://github.com/openai/openai-dotnetAvailable
src/Generated/Models/AssistantCreationOptions.cs
34lines · modecode
| 1 | // <auto-generated/> |
| 2 | |
| 3 | #nullable disable |
| 4 | |
| 5 | using System; |
| 6 | using System.Collections.Generic; |
| 7 | |
| 8 | namespace OpenAI.Assistants |
| 9 | { |
| 10 | public partial class AssistantCreationOptions |
| 11 | { |
| 12 | internal IDictionary<string, BinaryData> _serializedAdditionalRawData; |
| 13 | |
| 14 | internal AssistantCreationOptions(string model, string name, string description, string instructions, IList<ToolDefinition> tools, ToolResources toolResources, IDictionary<string, string> metadata, float? temperature, float? nucleusSamplingFactor, AssistantResponseFormat responseFormat, IDictionary<string, BinaryData> serializedAdditionalRawData) |
| 15 | { |
| 16 | Model = model; |
| 17 | Name = name; |
| 18 | Description = description; |
| 19 | Instructions = instructions; |
| 20 | Tools = tools; |
| 21 | ToolResources = toolResources; |
| 22 | Metadata = metadata; |
| 23 | Temperature = temperature; |
| 24 | NucleusSamplingFactor = nucleusSamplingFactor; |
| 25 | ResponseFormat = responseFormat; |
| 26 | _serializedAdditionalRawData = serializedAdditionalRawData; |
| 27 | } |
| 28 | public string Name { get; init; } |
| 29 | public string Description { get; init; } |
| 30 | public string Instructions { get; init; } |
| 31 | public IDictionary<string, string> Metadata { get; } |
| 32 | public float? Temperature { get; init; } |
| 33 | } |
| 34 | } |
| 35 | |