Optional
fields: WriterInputWriter API key
Optional
bestGenerates this many completions server-side and returns the "best"."
Optional
frequencyPenalizes repeated tokens according to frequency.
Optional
logprobsWhether to return log probabilities.
Optional
maxMaximum number of tokens to generate in the completion.
Optional
minMinimum number of tokens to generate.
Model to use
Optional
nNumber of completions to generate.
Writer organization ID
Optional
presencePenalizes repeated tokens regardless of frequency.
Optional
temperatureSampling temperature to use
Optional
topTotal probability mass of tokens to consider at each step.
Class representing a Writer Large Language Model (LLM). It interacts with the Writer API to generate text completions.