Skip to content

AnthropicUploadedFile

Namespace: Vercel.AI.Anthropic

public sealed class AnthropicUploadedFile

Files API upload result.

Inheritance: object

View source

AnthropicUploadedFile(string, string?, JsonElement)

Section titled “AnthropicUploadedFile(string, string?, JsonElement)”
public AnthropicUploadedFile(string id, string? fileName, JsonElement raw)

Creates an upload result.

Parameters

Name Type Description
id string
fileName string
raw JsonElement

View source

public string? FileName { get; }

File name.

Value: string

View source

public string Id { get; }

File id.

Value: string

View source

public JsonElement Raw { get; }

Raw response.

Value: JsonElement

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product