mirror of
https://github.com/labring/FastGPT.git
synced 2026-05-07 01:02:55 +08:00
feat: zod schema (#6740)
* feat: zod schema move file api feat: chat and dataset zod * fix: review * feat: dataset openapi * fix: test * update cr
This commit is contained in:
@@ -243,7 +243,7 @@ type ResponseType = {
|
||||
temperature?: number; // Temperature
|
||||
maxToken?: number; // Model max tokens
|
||||
quoteList?: SearchDataResponseItemType[]; // Citation list
|
||||
historyPreview?: ChatItemType[]; // Context preview (history may be truncated)
|
||||
historyPreview?: ChatItemMiniType[]; // Context preview (history may be truncated)
|
||||
|
||||
similarity?: number; // Minimum similarity threshold
|
||||
limit?: number; // Max citation tokens
|
||||
|
||||
@@ -243,7 +243,7 @@ type ResponseType = {
|
||||
temperature?: number; // 温度
|
||||
maxToken?: number; // 模型的最大token
|
||||
quoteList?: SearchDataResponseItemType[]; // 引用列表
|
||||
historyPreview?: ChatItemType[]; // 上下文预览(历史记录会被裁剪)
|
||||
historyPreview?: ChatItemMiniType[]; // 上下文预览(历史记录会被裁剪)
|
||||
|
||||
similarity?: number; // 最低相关度
|
||||
limit?: number; // 引用上限token
|
||||
|
||||
Reference in New Issue
Block a user