API
interface CompletionCreateParams {
messages: Message[];
model: KnownModelIds ;
responseFormat?: object;
system: string;
toolChoice?: CompletionToolChoiceOption;
tools?: Tool[];
}
interface CompletionCreateParams {
messages: Message[];
model: KnownModelIds ;
responseFormat?: object;
system: string;
toolChoice?: CompletionToolChoiceOption;
tools?: Tool[];
}