feat(chat): 优化提示词,时间参数直接放在提示词中

This commit is contained in:
v-zhangjc9
2025-06-04 17:42:46 +08:00
parent 6d4dedc3f4
commit 4124a8a851
6 changed files with 110 additions and 75 deletions

View File

@@ -18,5 +18,8 @@ public interface KnowledgeService {
ImmutableList<String> query(@Query("id") Long id, @Body String text);
@Post(value = "/query", contentType = "plain/text")
ImmutableList<String> query(@Query("id") Long id, @Query("limit") Integer limit, @Query("threshold") Double threshold, @Body String text);
ImmutableList<String> query(@Query("id") Long id, @Body String text, @Query("threshold") Double threshold);
@Post(value = "/query", contentType = "plain/text")
ImmutableList<String> query(@Query("id") Long id, @Body String text, @Query("limit") Integer limit, @Query("threshold") Double threshold);
}