Skip to main content

completion

completion

Request Body REQUIRED
language string

Language identifier, full list is maintained at https://code.visualstudio.com/docs/languages/identifiers

segments object
prefix string REQUIRED

Content that appears before the cursor in the editor window.

suffix string

Content that appears after the cursor in the editor window.

clipboard string

Clipboard content when requesting code completion.

user string

A unique identifier representing your end-user, which can help Tabby to monitor & generating reports.

temperature float

The temperature parameter for the model, used to tune variance and "creativity" of the model output

seed int64

The seed used for randomly selecting tokens

Responses
200

Success

Schema OPTIONAL
id string
choices object[]
index int32
text string
400

Bad Request