Skip to content

Latest commit

 

History

History
99 lines (89 loc) · 3.88 KB

File metadata and controls

99 lines (89 loc) · 3.88 KB

Advanced Message

Description

Send a structured list of input messages with text and/or image content, and the model will generate the next message in the conversation. The Messages API can be used for either single queries or stateless multi-turn conversations. Type : VI.

Advanced Message

Input parameters

Anthropic in Anthropic in : class
json_request json_request : string

Output parameters

Anthropic out Anthropic out : class

response response : cluster

id id : string
type type : string
role role : string
model model : string
content content : array of cluster
  • type type : string
  • text text : string
stop_reason stop_reason : string
stop_sequence stop_sequence : string
usage usage : cluster
  • input_tokens input_tokens : integer
  • cache_creation_input_tokens cache_creation_input_tokens : integer
  • cache_read_input_tokens cache_read_input_tokens : integer
  • output_tokens output_tokens : integer

response

last_response last_response : string