Packages
A well-typed, idiomatic Gleam client for Anthropic's Claude API with streaming support and tool use
Current section
Files
Jump to
Current section
Files
include/anthropic@types@request_CreateMessageRequest.hrl
-record(create_message_request, {
model :: binary(),
messages :: list(anthropic@types@message:message()),
max_tokens :: integer(),
system :: gleam@option:option(binary()),
temperature :: gleam@option:option(float()),
top_p :: gleam@option:option(float()),
top_k :: gleam@option:option(integer()),
stop_sequences :: gleam@option:option(list(binary())),
stream :: gleam@option:option(boolean()),
metadata :: gleam@option:option(anthropic@types@request:metadata()),
tools :: gleam@option:option(list(anthropic@types@tool:tool())),
tool_choice :: gleam@option:option(anthropic@types@tool:tool_choice())
}).