Variable: createLeuria
constcreateLeuria: (options) =>Leuria=createAI
Defined in: packages/client/src/leuria.ts:407
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" })] })
Parameters
options
Returns
Deprecated
The same as createAI, its first name.