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 SummaryNested Classes
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
userIdAn 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- 
AnthropicMetadatapublic AnthropicMetadata()
- 
AnthropicMetadata
 
- 
- 
Method Details- 
getUserId
- 
setUserId
- 
builder
- 
toBuilder
- 
equals
- 
hashCode
- 
toString
 
-