Try in playground
Test Cogito 671B v2.1 in the Runpod Hub playground.
This endpoint is fully compatible with the OpenAI API. See the OpenAI compatibility examples below.
Request
All parameters are passed within theinput object in the request body.
Prompt for text generation.
Maximum number of tokens to output.
Randomness of the output. Lower values make output more predictable and deterministic. Range: 0.0-1.0.
Nucleus sampling threshold. Samples from the smallest set of words whose cumulative probability exceeds this threshold.
Restricts sampling to the top K most probable words.
Stops generation if the given string is encountered.
Response
Unique identifier for the request.
Request status. Returns
COMPLETED on success, FAILED on error.Time in milliseconds the request spent in queue before processing began.
Time in milliseconds the model took to generate the response.
OpenAI API compatibility
Cogito 671B v2.1 is fully compatible with the OpenAI API format. You can use the OpenAI Python client to interact with this endpoint.Python (OpenAI SDK)
stream=True:
Python (Streaming)