Class AnthropicContent
java.lang.Object
dev.langchain4j.model.vertexai.anthropic.internal.api.AnthropicContent
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AnthropicContentimageContent(AnthropicSource source) static AnthropicContenttextContent(String text) static AnthropicContenttextContentWithCache(String text, AnthropicCacheControl cacheControl) static AnthropicContenttoolResult(String toolUseId, String text) static AnthropicContent
-
Field Details
-
type
-
text
-
source
-
id
-
name
-
input
-
toolUseId
-
-
cacheControl
-
-
Constructor Details
-
AnthropicContent
public AnthropicContent() -
AnthropicContent
-
-
Method Details
-
textContent
-
textContentWithCache
public static AnthropicContent textContentWithCache(String text, AnthropicCacheControl cacheControl) -
imageContent
-
toolUse
-
toolResult
-