<YOUR API KEY>
, you substitute your actual key value in the brackets.
Endpoint path
The path to the endpoint determines the action to be completed from the server. For example, https://api.sambanova.ai/v1/chat/completions
refers to the chat endpoint and is outlined further in our API Reference.
Model name
An API request needs the complete model name to properly connect to. A complete name, like Meta-Llama-3.1-405b-Instruct, may be shortened to Llama 3.1 405B in casual reference. When making a request, use the complete names available on the Supported models page.
Prompt input
Prompts are distinguished by two different roles: ‘system’
and ‘user’
. System prompts configure the behavior of the model when returning your request. User prompts dynamically outline the instructions for a model to complete a task or query.
Stop sequence
List of sequences where the API will stop generating further tokens. This can be a string, or an array of strings.
MAX_INT
.