Class AnthropicMetadata
java.lang.Object
dev.langchain4j.model.anthropic.internal.api.AnthropicMetadata
Represents metadata for Anthropic API requests.
Currently supports user_id for tracking and abuse detection.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
userId
An external identifier for the user who is associated with the request. This should be a uuid, hash value, or other opaque identifier. Anthropic may use this id to help detect abuse. Do not include any identifying information such as name, email address, or phone number.
-
-
Constructor Details
-
AnthropicMetadata
public AnthropicMetadata() -
AnthropicMetadata
-
-
Method Details