AssistantReasoningFilePart
Namespace: Vercel.AI.Provider
public sealed class AssistantReasoningFilePart : AssistantFilePartA file the model produced as part of its reasoning. Maps to the assistant reasoning-file part.
Inheritance: object → AssistantContentPart → AssistantFilePart
Constructors
Section titled “Constructors”AssistantReasoningFilePart(string, string?, byte[]?, IReadOnlyDictionary<string, JsonElement>?)
Section titled “AssistantReasoningFilePart(string, string?, byte[]?, IReadOnlyDictionary<string, JsonElement>?)”public AssistantReasoningFilePart(string mediaType, string? url, byte[]? data, IReadOnlyDictionary<string, JsonElement>? providerOptions = null)Creates a reasoning-file part.
Parameters
| Name | Type | Description |
|---|---|---|
mediaType |
string | IANA media type. |
url |
string | Remote URL, when the file is not inlined. |
data |
byte[] | Inline bytes. |
providerOptions |
IReadOnlyDictionary<string, JsonElement> | Provider-specific options for this part. |
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product