Class AnthropicPdfContent
java.lang.Object
dev.langchain4j.model.anthropic.internal.api.AnthropicMessageContent
dev.langchain4j.model.anthropic.internal.api.AnthropicPdfContent
-
Field Summary
FieldsFields inherited from class AnthropicMessageContent
cacheControl, type -
Constructor Summary
ConstructorsConstructorDescriptionAnthropicPdfContent(AnthropicPdfContentSource source, AnthropicCacheControl cacheControl) AnthropicPdfContent(String base64Data) AnthropicPdfContent(String mediaType, String base64Data) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic AnthropicPdfContentfromBase64(String mediaType, String data) static AnthropicPdfContentfromBase64(String mediaType, String data, AnthropicCacheControl cacheControl) static AnthropicPdfContentstatic AnthropicPdfContentfromUrl(String url, AnthropicCacheControl cacheControl) inthashCode()toString()
-
Field Details
-
source
-
-
Constructor Details
-
AnthropicPdfContent
-
AnthropicPdfContent
-
AnthropicPdfContent
-
AnthropicPdfContent
-
-
Method Details
-
fromBase64
-
fromUrl
-
fromBase64
public static AnthropicPdfContent fromBase64(String mediaType, String data, AnthropicCacheControl cacheControl) -
fromUrl
-
equals
- Overrides:
equalsin classAnthropicMessageContent
-
hashCode
public int hashCode()- Overrides:
hashCodein classAnthropicMessageContent
-
toString
-