stable POC version 1 - chat and topics

This commit is contained in:
Adrien
2026-04-02 21:04:33 +02:00
parent 618e28b354
commit bcc80d250b
74 changed files with 11692 additions and 278 deletions
@@ -65,8 +65,8 @@ public class TopicSummaryService {
List<TopicSummaryResponse.SourceReference> sources = extractSources(response);
return new TopicSummaryResponse(
topic.id(),
topic.name(),
topic.getId(),
topic.getName(),
summary,
sources,
Instant.now()
@@ -78,7 +78,7 @@ public class TopicSummaryService {
"Please provide a comprehensive educational summary of the following neurosurgery topic: " +
"%s. Topic description: %s. " +
"Include key concepts, clinical considerations, and important details that a neurosurgeon should know.",
topic.name(), topic.description()
topic.getName(), topic.getDescription()
);
}