Optional
fields: WriterInputWriter API key
Model to use
Writer organization ID
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.
Optional
nNumber of completions to generate.
Optional
presencePenalizes repeated tokens regardless of frequency.
Optional
temperatureSampling temperature to use
Optional
topPTotal probability mass of tokens to consider at each step.
Generated using TypeDoc
Class representing a Writer Large Language Model (LLM). It interacts with the Writer API to generate text completions.