Class AnthropicApi.ContentBlock.ContentBlockBuilder
java.lang.Object
org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.ContentBlockBuilder
- Enclosing class:
AnthropicApi.ContentBlock
- Since:
- 1.0.0
- Author:
- Christian Tzolov, Mariusz Bernacki, Thomas Vitale, Jihoon Kim, Alexandros Pappas, Jonghoon Park, Claudio Silva Junior, Filip Hrisafov, Soby Chacko, Austin Dase
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()cacheControl(AnthropicApi.ChatCompletionRequest.CacheControl cacheControl)
-
Constructor Details
-
ContentBlockBuilder
-
-
Method Details
-
type
-
source
public AnthropicApi.ContentBlock.ContentBlockBuilder source(AnthropicApi.ContentBlock.Source source) -
text
-
index
-
id
-
name
-
input
-
toolUseId
-
content
-
signature
-
thinking
-
data
-
cacheControl
public AnthropicApi.ContentBlock.ContentBlockBuilder cacheControl(AnthropicApi.ChatCompletionRequest.CacheControl cacheControl) -
build
-