Playground

Playground

Completion

LLM completion request and response.

chatchatStreamlistModelsembeddings

Schema

FieldTypeNotes
model*stringModel identifier (e.g., 'gpt-4', 'claude-3').
messages*jsonArray of message objects (role, content).
temperaturenumberSampling temperature (0.0-2.0).
max_tokensintegerMaximum tokens to generate.
top_pnumberNucleus sampling parameter.
frequency_penaltynumberPenalize frequent tokens.
presence_penaltynumberPenalize already-present tokens.
stopjsonStop sequences.
streambooleanWhether to stream responses.

API

Loading manifest…