Class FileSource
- Namespace
- AnthropicClient.Models
- Assembly
- AnthropicClient.dll
Represents a file source in the Anthropic API.
public class FileSource : Source
- Inheritance
-
FileSource
- Inherited Members
Constructors
FileSource()
Initializes a new instance of the FileSource class.
public FileSource()
FileSource(string)
Initializes a new instance of the FileSource class with a specified file ID.
public FileSource(string id)
Parameters
id
stringThe unique identifier for the file source.
Properties
Id
Gets or sets the unique identifier for the file source.
[JsonPropertyName("file_id")]
public string Id { get; init; }