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@request_RequestOptions.hrl
-record(request_options, {
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@request:metadata()),
tools :: gleam@option:option(list(anthropic@tool:tool())),
tool_choice :: gleam@option:option(anthropic@tool:tool_choice())
}).