mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-22 14:16:42 +08:00
### What problem does this PR solve? feat: fetch flow #918 feat: save graph ### Type of change - [x] New Feature (non-breaking change which adds functionality)
13 lines
306 B
TypeScript
13 lines
306 B
TypeScript
export enum MessageType {
|
|
Assistant = 'assistant',
|
|
User = 'user',
|
|
}
|
|
|
|
export const variableEnabledFieldMap = {
|
|
temperatureEnabled: 'temperature',
|
|
topPEnabled: 'top_p',
|
|
presencePenaltyEnabled: 'presence_penalty',
|
|
frequencyPenaltyEnabled: 'frequency_penalty',
|
|
maxTokensEnabled: 'max_tokens',
|
|
};
|