diff options
-rw-r--r-- | llm-adaptation/src/main/java/org/onap/usecaseui/llmadaptation/controller/LlmController.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llm-adaptation/src/main/java/org/onap/usecaseui/llmadaptation/controller/LlmController.java b/llm-adaptation/src/main/java/org/onap/usecaseui/llmadaptation/controller/LlmController.java index e2779da..b00f315 100644 --- a/llm-adaptation/src/main/java/org/onap/usecaseui/llmadaptation/controller/LlmController.java +++ b/llm-adaptation/src/main/java/org/onap/usecaseui/llmadaptation/controller/LlmController.java @@ -33,6 +33,7 @@ public class LlmController { @Autowired private LlmService llmService; + // Interacting with large models @PostMapping(value = "/stream", produces = MediaType.TEXT_EVENT_STREAM_VALUE) public Flux<String> streamData(@RequestBody String question) { return llmService.getStream(question); |