diff options
author | kaixiliu <liukaixi@chinamobile.com> | 2024-06-20 16:49:32 +0800 |
---|---|---|
committer | kaixiliu <liukaixi@chinamobile.com> | 2024-06-20 16:49:50 +0800 |
commit | fbef3025d61fa23265f1733c6e6de7588b168681 (patch) | |
tree | eaf3963d9176a5d1f5074dc7598c7e145498cecc | |
parent | e17713f89b0818b8f34ad324f6b318e22b6a3642 (diff) |
add comment14.0.0
Issue-ID: USECASEUI-838
Change-Id: I67334bf8f19ca4d571e112153320a219814ce84a
Signed-off-by: kaixiliu <liukaixi@chinamobile.com>
-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); |