add help info (#142)

This commit is contained in:
KevinHuSh
2024-03-22 15:35:06 +08:00
committed by GitHub
parent 73c2f4d418
commit 1edbd36baf
11 changed files with 131 additions and 84 deletions

View File

@@ -66,7 +66,7 @@ const ApiKeyModal = ({
<Form.Item<FieldType>
label="Api-Key"
name="api_key"
tooltip="coming soon"
tooltip="The API key can be obtained by registering the corresponding LLM supplier."
rules={[{ required: true, message: 'Please input api key!' }]}
>
<Input />

View File

@@ -43,25 +43,27 @@ const SystemModelSettingModal = ({
confirmLoading={loading}
>
<Form form={form} onValuesChange={onFormLayoutChange} layout={'vertical'}>
<Form.Item
label="Sequence2txt model"
name="asr_id"
tooltip="coming soon"
>
<Select options={allOptions[LlmModelType.Speech2text]} />
<Form.Item label="Chat model" name="llm_id" tooltip="The default chat LLM all the newly created knowledgebase will use.">
<Select options={allOptions[LlmModelType.Chat]} />
</Form.Item>
<Form.Item label="Embedding model" name="embd_id" tooltip="coming soon">
<Form.Item label="Embedding model" name="embd_id" tooltip="The default embedding model all the newly created knowledgebase will use.">
<Select options={allOptions[LlmModelType.Embedding]} />
</Form.Item>
<Form.Item
label="Img2txt model"
name="img2txt_id"
tooltip="coming soon"
tooltip="The default multi-module model all the newly created knowledgebase will use. It can describe a picture or video."
>
<Select options={allOptions[LlmModelType.Image2text]} />
</Form.Item>
<Form.Item label="Chat model" name="llm_id" tooltip="coming soon">
<Select options={allOptions[LlmModelType.Chat]} />
<Form.Item
label="Sequence2txt model"
name="asr_id"
tooltip="The default ASR model all the newly created knowledgebase will use. Use this model to translate voices to corresponding text."
>
<Select options={allOptions[LlmModelType.Speech2text]} />
</Form.Item>
</Form>
</Modal>

View File

@@ -110,9 +110,6 @@ const UserSettingProfile = () => {
<div>
<Space>
Your photo
<Tooltip title="coming soon">
<QuestionCircleOutlined />
</Tooltip>
</Space>
<div>This will be displayed on your profile.</div>
</div>
@@ -140,7 +137,6 @@ const UserSettingProfile = () => {
<Form.Item<FieldType>
label="Color schema"
name="color_schema"
tooltip="coming soon"
rules={[
{ required: true, message: 'Please select your color schema!' },
]}
@@ -154,7 +150,6 @@ const UserSettingProfile = () => {
<Form.Item<FieldType>
label="Language"
name="language"
tooltip="coming soon"
rules={[{ required: true, message: 'Please input your language!' }]}
>
<Select placeholder="select your language">
@@ -166,7 +161,6 @@ const UserSettingProfile = () => {
<Form.Item<FieldType>
label="Timezone"
name="timezone"
tooltip="coming soon"
rules={[{ required: true, message: 'Please input your timezone!' }]}
>
<Select placeholder="select your timezone" showSearch>