Mercurial Hosting > lang
comparison src/edit_course.html.luan @ 69:f5e72f2d1025
add stt_prompt
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sat, 23 Aug 2025 07:07:59 -0600 |
parents | a366d27db8f1 |
children |
comparison
equal
deleted
inserted
replaced
68:a366d27db8f1 | 69:f5e72f2d1025 |
---|---|
28 ai_system_prompt = "" | 28 ai_system_prompt = "" |
29 ai_first_message = "" | 29 ai_first_message = "" |
30 tts_instructions = "" | 30 tts_instructions = "" |
31 has_ruby = false | 31 has_ruby = false |
32 description = "" | 32 description = "" |
33 stt_prompt = "" | |
33 } | 34 } |
34 end | 35 end |
35 Io.stdout = Http.response.text_writer() | 36 Io.stdout = Http.response.text_writer() |
36 %> | 37 %> |
37 <!doctype html> | 38 <!doctype html> |
81 <textarea name=ai_first_message oninput="fixTextarea(event.target)"><%=html_encode(course.ai_first_message)%></textarea> | 82 <textarea name=ai_first_message oninput="fixTextarea(event.target)"><%=html_encode(course.ai_first_message)%></textarea> |
82 | 83 |
83 <h4>Text to speech instructions</h4> | 84 <h4>Text to speech instructions</h4> |
84 <textarea name=tts_instructions oninput="fixTextarea(event.target)"><%=html_encode(course.tts_instructions)%></textarea> | 85 <textarea name=tts_instructions oninput="fixTextarea(event.target)"><%=html_encode(course.tts_instructions)%></textarea> |
85 | 86 |
87 <h4>Speech to text prompt</h4> | |
88 <textarea name=stt_prompt oninput="fixTextarea(event.target)"><%=html_encode(course.stt_prompt)%></textarea> | |
89 | |
86 <input type=submit> | 90 <input type=submit> |
87 | 91 |
88 <hr> | 92 <hr> |
89 | 93 |
90 <p>Text areas take <a href="/tools/markdown.html">Markdown</a>. AI generally recognizes Markdown.</p> | 94 <p>Text areas take <a href="/tools/markdown.html">Markdown</a>. AI generally recognizes Markdown.</p> |