openai/openai-dotnet
Publicmirrored from https://github.com/openai/openai-dotnetAvailable
src/Custom/Assistants/Assistant.cs
21lines · modecode
| 1 | namespace OpenAI.Assistants; |
| 2 | |
| 3 | [CodeGenModel("AssistantObject")] |
| 4 | public partial class Assistant |
| 5 | { |
| 6 | // CUSTOM: Made internal. |
| 7 | /// <summary> The object type, which is always `assistant`. </summary> |
| 8 | [CodeGenMember("Object")] |
| 9 | internal InternalAssistantObjectObject Object { get; } = InternalAssistantObjectObject.Assistant; |
| 10 | |
| 11 | /// <inheritdoc cref="AssistantResponseFormat"/> |
| 12 | public AssistantResponseFormat ResponseFormat { get; } |
| 13 | |
| 14 | /// <summary> |
| 15 | /// An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered. |
| 16 | /// |
| 17 | /// We generally recommend altering this or temperature but not both. |
| 18 | /// </summary> |
| 19 | [CodeGenMember("TopP")] |
| 20 | public float? NucleusSamplingFactor { get; } |
| 21 | } |
| 22 | |