merge main

This commit is contained in:
Joel
2025-08-28 14:57:30 +08:00
889 changed files with 35835 additions and 13273 deletions

View File

@ -545,6 +545,7 @@ export type Segment = {
keywords: string[]
hit_count: number
index_node_hash: string
answer: string
}
export type Document = {

View File

@ -9,7 +9,7 @@ import type {
MetadataFilteringModeEnum,
} from '@/app/components/workflow/nodes/knowledge-retrieval/types'
import type { ModelConfig as NodeModelConfig } from '@/app/components/workflow/types'
export type Inputs = Record<string, string | number | object>
export type Inputs = Record<string, string | number | object | boolean>
export enum PromptMode {
simple = 'simple',
@ -60,6 +60,7 @@ export type PromptVariable = {
icon?: string
icon_background?: string
hide?: boolean // used in frontend to hide variable
json_schema?: string
}
export type CompletionParams = {