| | |
| | | <div className='flex flex-col gap-4 self-stretch'> |
| | | <div className='flex flex-col gap-1 self-stretch'> |
| | | <div className='flex flex-col justify-center self-stretch'> |
| | | <label className='system-sm-semibold text-text-secondary'>{t('dataset.externalKnowledgeName')}</label> |
| | | <label className='text-text-secondary system-sm-semibold'>{t('dataset.externalKnowledgeName')}</label> |
| | | </div> |
| | | <Input |
| | | value={name} |
| | |
| | | </div> |
| | | <div className='flex flex-col gap-1 self-stretch'> |
| | | <div className='flex flex-col justify-center self-stretch'> |
| | | <label className='system-sm-semibold text-text-secondary'>{t('dataset.externalKnowledgeDescription')}</label> |
| | | <label className='text-text-secondary system-sm-semibold'>{t('dataset.externalKnowledgeDescription')}</label> |
| | | </div> |
| | | <div className='flex flex-col gap-1 self-stretch'> |
| | | <textarea |
| | | value={description} |
| | | onChange={ e => handleDescriptionChange(e)} |
| | | placeholder={t('dataset.externalKnowledgeDescriptionPlaceholder') ?? ''} |
| | | className={`flex h-20 items-start self-stretch rounded-lg bg-components-input-bg-normal p-3 py-2 ${description ? 'text-components-input-text-filled' : 'text-components-input-text-placeholder'} system-sm-regular`} |
| | | className={`flex h-20 py-2 p-3 self-stretch items-start rounded-lg bg-components-input-bg-normal ${description ? 'text-components-input-text-filled' : 'text-components-input-text-placeholder'} system-sm-regular`} |
| | | /> |
| | | </div> |
| | | </div> |