How to invoke the Thesys C1 API
Authorization
header:
model
: The model to use. See Models for more information.messages
: Array of message objects with role
and content
temperature
: Controls randomness (0.0 to 1.0)max_tokens
: Maximum tokens in the responsestream
: Whether to stream the responsetop_p
: Nucleus sampling parameterparallel_tool_calls
: Whether to call tools in parallelstop
: Stop sequences