-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathseed.sql
More file actions
37 lines (35 loc) · 1.29 KB
/
seed.sql
File metadata and controls
37 lines (35 loc) · 1.29 KB
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
32
33
34
35
36
37
-- First create a test user
INSERT INTO auth.users (id, email)
VALUES ('d0e7df0e-3f3a-4d3c-9e4b-b7d286e7a5f2', 'test@example.com')
ON CONFLICT (id) DO NOTHING;
-- Seed data for user_manuals table
INSERT INTO
user_manuals (
id,
url,
context,
created_at,
updated_at,
gemini_key,
user_id,
prompt
)
VALUES
(
'c2d6f9a0-1f1a-4c1c-9cf3-b7d286e7a5f1',
'www.linkedin.com',
'To edit the services that a user provides on LinkedIn, follow these steps:
1. Click the Me icon at the top of your LinkedIn homepage.
2. Click "View profile".
3. Click the "View my Services" button.
4. Click on "Edit Services".
Modify the services you want to edit in the pop-up window that appears.',
'2024-12-31 12:23:22+07',
'2024-12-31 12:23:22+07',
'your gemini key here',
'd0e7df0e-3f3a-4d3c-9e4b-b7d286e7a5f2',
'You are an AI assistant for the App2Agent test environment. Help users test the extension functionality. Provide clear and concise responses to demonstrate how the AI assistant works.'
);
-- Use this api key to test the extension
INSERT INTO api_keys (key, user_id, is_active)
VALUES ('f47ac10b-58cc-4372-a567-0e02b2c3d479', 'd0e7df0e-3f3a-4d3c-9e4b-b7d286e7a5f2', true);