办学质量监测教学评价系统
ageerle
2025-04-08 00f362acf194ba459b4d583860eb018179053961
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package org.ruoyi.common.chat.localModels;
 
 
 
import org.ruoyi.common.chat.entity.models.LocalModelsSearchRequest;
import org.ruoyi.common.chat.entity.models.LocalModelsSearchResponse;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.POST;
/**
 * @program: RUOYIAI
 * @ClassName SearchService
 * @description: 请求模型
 * @author: hejh
 * @create: 2025-03-15 17:27
 * @Version 1.0
 **/
 
 
public interface SearchService {
    @POST("/vectorize") // 与 Flask 服务中的路由匹配
    Call<LocalModelsSearchResponse> vectorize(@Body LocalModelsSearchRequest request);
}