Ensure that you replace
YOUR_API_KEY_HERE
with the actual API key generated
from your profile in the B-Bot hub.The
temperature
parameter is optional. If not provided, a default value will
be used.The
max_tokens
parameter is optional. If not provided, a default value will
be used.Authorizations
API key for authentication
Body
application/json
This endpoint allows you to invoke a language model using specific parameters, such as the expert and model IDs, input data, and additional configuration options.
The ID of the expert you want to invoke.
Example:
37
The ID of the language model to be used.
Example:
6
A list of message objects containing the role and content of the input data.
The sampling temperature, which controls the randomness of the model's outputs.
Example:
1
The maximum number of tokens (words or word pieces) to generate in the response.
Example:
250
Response
Successful response with generated content