mirror of
https://github.com/langgenius/dify.git
synced 2026-05-02 16:38:04 +08:00
feat: config conversation role name
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
import { MemoryRole } from '../../types'
|
||||
import { BlockEnum } from '../../types'
|
||||
import type { QuestionClassifierNodeType } from './types'
|
||||
|
||||
export const mockData: QuestionClassifierNodeType = {
|
||||
title: 'Test',
|
||||
desc: 'Test',
|
||||
type: 'Test',
|
||||
type: BlockEnum.QuestionClassifier,
|
||||
query_variable_selector: ['aaa', 'name'],
|
||||
model: {
|
||||
provider: 'openai',
|
||||
@ -28,7 +28,6 @@ export const mockData: QuestionClassifierNodeType = {
|
||||
],
|
||||
instruction: 'You are an entity extraction model that accepts an input',
|
||||
memory: {
|
||||
role_prefix: MemoryRole.assistant,
|
||||
window: {
|
||||
enabled: false,
|
||||
size: 0,
|
||||
|
||||
Reference in New Issue
Block a user