mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-04 14:50:30 +08:00
### 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
24 lines
516 B
TypeScript
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'>;
|