feat: all other code expand

This commit is contained in:
Joel
2024-03-06 17:59:23 +08:00
parent a45ec15a56
commit 5ec3a967b5
16 changed files with 91 additions and 56 deletions

View File

@ -2,7 +2,7 @@ import { BlockEnum } from '../../types'
import type { QuestionClassifierNodeType } from './types'
export const mockData: QuestionClassifierNodeType = {
title: 'Test',
title: 'Question Classifier',
desc: 'Test',
type: BlockEnum.QuestionClassifier,
query_variable_selector: ['aaa', 'name'],
@ -18,12 +18,10 @@ export const mockData: QuestionClassifierNodeType = {
{
id: '1',
name: 'topic 1',
topic: 'xxxxx',
},
{
id: '2',
name: 'topic 2',
topic: 'xxxxx2',
},
],
instruction: 'You are an entity extraction model that accepts an input',