Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Use LETHE as a provider with createOpenAI().
baseURL
import { createOpenAI } from "@ai-sdk/openai"; const lethe = createOpenAI({ baseURL: "https://asklethe.ai/v1", apiKey: process.env.LETHE_API_KEY, }); const { text } = await generateText({ model: lethe("lethe"), prompt, });
LETHE_API_KEY
"lethe"
"lethe-vision"