@deno-agents/utils@1.0.1
latest
Works with
•JSR Score82%•It is unknown whether this package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers




Publisheda year ago (1.0.1)
Functions
f
completeWithSchema(): Promise<[string, string | undefined]>
apiKey: string,
baseURL: string,
schema: Record<string, unknown>,
systemPrompt: string,
userPrompt: string,
model?: string
Performs a completion using the provided schema, system prompt, and user prompt. The schema instruction is automatically appended to the system prompt.