Files
sqlchat/process.d.ts
2023-05-02 17:47:57 +08:00

14 lines
562 B
TypeScript

declare namespace NodeJS {
export interface ProcessEnv {
// Required. Do not share your OpenAI API key with anyone! It should remain a secret.
OPENAI_API_KEY: string;
// Optional. OpenAI API endpoint. Defaults to https://api.openai.com.
OPENAI_API_ENDPOINT: string;
// Optional. Database connection string to store the data.
DATABASE_URL: string;
// Optional. API key to protect the backend API endpoint.
// This needs to be exposed to the frontend and must be prefixed with NEXT_PUBLIC_.
NEXT_PUBLIC_API_KEY: string;
}
}