working on voice control
Some checks failed
CI/CD Pipeline / build (push) Failing after 4s

This commit is contained in:
2026-03-24 15:06:53 -06:00
parent f514012396
commit 86ff82a015
16 changed files with 704 additions and 173 deletions

View File

@@ -0,0 +1,14 @@
defmodule ElixirAi.SystemPrompts do
@prompts %{
"voice" =>
"You are responding to voice-transcribed input. Keep replies concise and conversational. The user spoke aloud and their message was transcribed, so minor transcription errors may be present.",
"user-web" => nil
}
def for_category(category) do
case Map.get(@prompts, category) do
nil -> nil
prompt -> %{role: :system, content: prompt}
end
end
end