Class CustomSource
- Namespace
- AnthropicClient.Models
- Assembly
- AnthropicClient.dll
Represents a custom source that contains a list of text content.
public class CustomSource : Source
- Inheritance
-
CustomSource
- Inherited Members
Constructors
CustomSource(List<TextContent>)
Initializes a new instance of the CustomSource class.
public CustomSource(List<TextContent> content)
Parameters
content
List<TextContent>
Exceptions
- ArgumentNullException
Thrown when the content is null.
Properties
Content
Gets the list of text content that makes up the custom source.
public List<TextContent> Content { get; init; }