Dedicated.Completions

Stream completions

Generate text based on the given text prompt.

post/dedicated/v1/completions#stream

Request

Headers

X-Friendli-Teamstring nullable

ID of team to run requests as (optional parameter).

Request body

OR

Example request

{
  "model": "(endpoint-id)",
  "max_tokens": 200,
  "top_k": 1
}

Response

Successfully generated a chat response.

Changes

No recorded changes to this operation across all 1 revision of this API.