|
|
@@ -17,6 +17,7 @@ import org.ruoyi.domain.ThinkModel;
|
|
|
import org.ruoyi.domain.ThinkRag;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
+import java.io.IOException;
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
|
|
|
|
@@ -68,7 +69,7 @@ public class ragController {
|
|
|
*/
|
|
|
@PostMapping("/schema")
|
|
|
@ResponseBody
|
|
|
- public SchemaMessage schema(@RequestBody @Valid SchemaRequest schemaRequest, HttpServletRequest request) {
|
|
|
+ public SchemaMessage schema(@RequestBody @Valid SchemaRequest schemaRequest, HttpServletRequest request) throws IOException {
|
|
|
return sseService.getSchema(schemaRequest, request);
|
|
|
}
|
|
|
|