Complete model

Completes your fine-tuned model with the specified prompt string. The model will generate a completion.

Path Params
string
required
length ≥ 1

The ID of the base model or fine-tuned model that is being completed.

Body Params
boolean | null
Defaults to true

Automatically adds the recommended base model templating.

guidance
object | null
integer | null
0 to 512

The maximum number of tokens to generate.

string
required
length ≥ 1

The prompt string you are providing the model, to which the model will generate a completion in response.

rag
object | null
number | null

This parameter adjusts the degree of randomness in generation. Higher temperature results in more diverse generations.

integer | null

This parameter ensures that only the top k most likely tokens are considered for generation at each step.

number | null

This parameter ensures that only the most likely tokens, with total probability mass of p, are considered for generation at each step. If topK is also enabled, topP acts after topK.

Headers
string
required
length ≥ 1
Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json