chat
llm

Autocomplete

post/v1/chat/autocomplete

Request body

promptstring nullable

FIM prompt/prefix for Copilot-style autocomplete

suffixstring nullable

FIM suffix for Copilot-style autocomplete

ninteger nullable

Number of completion choices to request

streamboolean nullable

Whether to stream Copilot-style completion chunks

top_pnumber nullable

Top-p sampling value

code_annotationsboolean nullable

Whether code annotations are requested

filenamestring nullable

File name

lineinteger nullable

Line number

characterinteger nullable

Character position

offsetinteger nullable

Offset from start

beforeLengthinteger nullable

Length of before text

afterLengthinteger nullable

Length of after text

region_includes_beginningboolean nullable

Whether region includes beginning

region_includes_endboolean nullable

Whether region includes end

max_num_resultsinteger nullable

Maximum number of results

maxResultsinteger nullable

Maximum number of results (alternative)

indentation_sizeinteger nullable

Indentation size

modelstring nullable

Internal model ID to use

max_tokensinteger nullable

Max tokens to generate

temperaturenumber nullable

Temperature

Response

Successful Response

{"stackTrail":"paths:/v1/chat/autocomplete:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

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