Function: createAI()
createAI(
options):Leuria
Defined in: packages/client/src/leuria.ts:402
One AI client for the page, over the AIs you list, in order: the first that can answer does.
const ai = createAI({ providers: [leuria({ app: "My shop" }), promptAPI(), server({ url: "/api/ai" })] })