Files
ragflow/web/src/pages/next-chats/chat/interface.ts
chanx f2a1d59c36 Refactor: Remove ant design component (#13143)
### What problem does this PR solve?

_Briefly describe what this PR aims to solve. Include background context
that will help reviewers understand the purpose of the PR._

### Type of change

- [x] Refactoring
2026-02-13 18:40:41 +08:00

24 lines
516 B
TypeScript

import { FormInstance } from '@/interfaces/antd-compat';
export interface ISegmentedContentProps {
show: boolean;
form: FormInstance;
setHasError: (hasError: boolean) => void;
}
export interface IVariable {
temperature: number;
top_p: number;
frequency_penalty: number;
presence_penalty: number;
max_tokens: number;
}
export interface VariableTableDataType {
key: string;
variable: string;
optional: boolean;
}
export type IPromptConfigParameters = Omit<VariableTableDataType, 'variable'>;