Generate a response from the LLM model.
cURL
curl --request POST \ --url https://platform.ai.gloo.com/ai/v1/kallm/generate \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "prompt": "<string>" } '
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
<token>
Prompt to generate a response
Successful Response