feat(chat): 优化提示词,时间参数直接放在提示词中
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user