Files
doctate/server
Brummel bbc9b53609 Refine system prompt and normalize logic
The system prompt has been updated to include an explicit instruction
for the LLM to return an empty string if no suitable keyword is found.
This improves robustness by handling cases where the input transcript
might not contain easily extractable medical terms.

Additionally, the `normalize` function's logic for finding the first
non-empty line has been slightly refined to use a more idiomatic Rust
approach by chaining `.lines().find(...)` and `.unwrap_or("")`. This
change improves code clarity and maintainability without altering the
functional behavior of finding the first non-empty line.
2026-04-16 02:08:24 +02:00
..
2026-04-16 01:56:55 +02:00
2026-04-16 01:56:55 +02:00
2026-04-13 12:20:11 +02:00
2026-04-15 21:31:21 +02:00