Initial commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
INSERT INTO exercises (id, lesson_id, target_language, cefr_level, type, prompt_text, target_text, difficulty)
|
||||
VALUES
|
||||
('ex_a1_hello', 'les_a1_intro', 'en-US', 'A1', 'repeat_sentence', 'Sprich den Satz klar nach.', 'Hello, my name is Anna.', 1),
|
||||
('ex_a1_from', 'les_a1_intro', 'en-US', 'A1', 'repeat_sentence', 'Achte auf den Rhythmus im Satz.', 'I am from Berlin.', 1),
|
||||
('ex_a1_coffee', 'les_a1_cafe', 'en-US', 'A1', 'repeat_sentence', 'Sprich langsam und deutlich.', 'Can I have a coffee, please?', 2),
|
||||
('ex_a1_water', 'les_a1_cafe', 'en-US', 'A1', 'repeat_sentence', 'Achte auf die Endlaute.', 'I would like some water.', 2),
|
||||
('ex_a1_phone', 'les_a1_numbers', 'en-US', 'A1', 'repeat_sentence', 'Sprich jede Zahl einzeln sauber.', 'My phone number is five, two, nine.', 2)
|
||||
ON CONFLICT (id) DO UPDATE SET
|
||||
prompt_text = EXCLUDED.prompt_text,
|
||||
target_text = EXCLUDED.target_text,
|
||||
difficulty = EXCLUDED.difficulty;
|
||||
@@ -0,0 +1,6 @@
|
||||
INSERT INTO lessons (id, target_language, cefr_level, topic, title)
|
||||
VALUES
|
||||
('les_a1_intro', 'en-US', 'A1', 'introductions', 'Introduce yourself'),
|
||||
('les_a1_cafe', 'en-US', 'A1', 'cafe', 'Order a coffee'),
|
||||
('les_a1_numbers', 'en-US', 'A1', 'numbers', 'Numbers and names')
|
||||
ON CONFLICT (id) DO UPDATE SET title = EXCLUDED.title;
|
||||
@@ -0,0 +1,12 @@
|
||||
INSERT INTO language_profiles (
|
||||
code, display_name, azure_locale, default_tts_voice, voices_json,
|
||||
supports_pronunciation_assessment, supports_prosody
|
||||
) VALUES (
|
||||
'en-US', 'English (United States)', 'en-US', 'en-US-JennyNeural',
|
||||
'["en-US-JennyNeural", "en-US-GuyNeural", "en-US-AriaNeural"]'::jsonb,
|
||||
true, true
|
||||
) ON CONFLICT (code) DO UPDATE SET
|
||||
display_name = EXCLUDED.display_name,
|
||||
azure_locale = EXCLUDED.azure_locale,
|
||||
default_tts_voice = EXCLUDED.default_tts_voice,
|
||||
voices_json = EXCLUDED.voices_json;
|
||||
Reference in New Issue
Block a user