import type { VbenFormProps } from "@vben/common-ui";


export const FormSchema: VbenFormProps = {
  showDefaultActions: false,
  schema: [
    {
      component: 'Input',
      fieldName: 'name',
      label: '名称',
      rules: 'required',
    },
    {
      component: 'Input',
      fieldName: 'description',
      label: '描述',
    },
    {
      component: 'ApiSelect',
      fieldName: 'embeddingModelId',
      label: '向量模型',
      rules: 'selectRequired',
      componentProps: {
        options: [
          { label: '模型1', value: 'model1' },
          { label: '模型2', value: 'model2' },
        ],
      }
    }
  ]
}
