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
|
||||
|
||||
@@ -222,7 +222,7 @@
|
||||
"document/content/docs/self-host/upgrading/4-14/4141.mdx": "2026-03-03T17:39:47+08:00",
|
||||
"document/content/docs/self-host/upgrading/4-14/41410.en.mdx": "2026-03-31T23:15:29+08:00",
|
||||
"document/content/docs/self-host/upgrading/4-14/41410.mdx": "2026-04-08T16:15:25+08:00",
|
||||
"document/content/docs/self-host/upgrading/4-14/41411.mdx": "2026-04-09T15:12:39+08:00",
|
||||
"document/content/docs/self-host/upgrading/4-14/41411.mdx": "2026-04-10T13:58:10+08:00",
|
||||
"document/content/docs/self-host/upgrading/4-14/4142.en.mdx": "2026-03-03T17:39:47+08:00",
|
||||
"document/content/docs/self-host/upgrading/4-14/4142.mdx": "2026-03-03T17:39:47+08:00",
|
||||
"document/content/docs/self-host/upgrading/4-14/4143.en.mdx": "2026-03-03T17:39:47+08:00",
|
||||
|
||||
Reference in New Issue
Block a user