forked from openai/openai-chatkit-starter-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.ts
More file actions
31 lines (25 loc) · 744 Bytes
/
config.ts
File metadata and controls
31 lines (25 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import { ColorScheme, StartScreenPrompt, ThemeOption } from "@openai/chatkit";
export const WORKFLOW_ID =
process.env.NEXT_PUBLIC_CHATKIT_WORKFLOW_ID?.trim() ?? "";
export const CREATE_SESSION_ENDPOINT = "/api/create-session";
export const STARTER_PROMPTS: StartScreenPrompt[] = [];
export const PLACEHOLDER_INPUT = "Ask anything...";
export const GREETING = "Що придумаємо сьогодні?";
export const getThemeConfig = (theme: ColorScheme): ThemeOption => ({
color: {
grayscale: {
hue: 220,
tint: 6,
shade: theme === "dark" ? -1 : -4,
},
accent: {
primary: "#FF6602",
level: 1,
},
},
radius: "round",
density: "spacious",
typography: {
baseSize: 18,
},
});