mirror of
https://github.com/mfts/papermark.git
synced 2025-12-20 01:03:24 +08:00
7 lines
168 B
TypeScript
7 lines
168 B
TypeScript
import OpenAI from "openai";
|
|
|
|
// Create an OpenAI API client (that's edge friendly!)
|
|
export const openai = new OpenAI({
|
|
apiKey: process.env.OPENAI_API_KEY || "",
|
|
});
|