feat: add loading to ChatContainer and set font family to inter and add tooltip to Form.Item and download documents on the document list page (#136)
* feat: download documents on the document list page * feat: add tooltip to Form.Item * feat: set font family to inter * feat: add loading to ChatContainer
This commit is contained in:
@@ -66,6 +66,7 @@ const ApiKeyModal = ({
|
||||
<Form.Item<FieldType>
|
||||
label="Api-Key"
|
||||
name="api_key"
|
||||
tooltip="coming soon"
|
||||
rules={[{ required: true, message: 'Please input api key!' }]}
|
||||
>
|
||||
<Input />
|
||||
|
||||
@@ -43,16 +43,24 @@ const SystemModelSettingModal = ({
|
||||
confirmLoading={loading}
|
||||
>
|
||||
<Form form={form} onValuesChange={onFormLayoutChange} layout={'vertical'}>
|
||||
<Form.Item label="Sequence2txt model" name="asr_id">
|
||||
<Form.Item
|
||||
label="Sequence2txt model"
|
||||
name="asr_id"
|
||||
tooltip="coming soon"
|
||||
>
|
||||
<Select options={allOptions[LlmModelType.Speech2text]} />
|
||||
</Form.Item>
|
||||
<Form.Item label="Embedding model" name="embd_id">
|
||||
<Form.Item label="Embedding model" name="embd_id" tooltip="coming soon">
|
||||
<Select options={allOptions[LlmModelType.Embedding]} />
|
||||
</Form.Item>
|
||||
<Form.Item label="Img2txt model" name="img2txt_id">
|
||||
<Form.Item
|
||||
label="Img2txt model"
|
||||
name="img2txt_id"
|
||||
tooltip="coming soon"
|
||||
>
|
||||
<Select options={allOptions[LlmModelType.Image2text]} />
|
||||
</Form.Item>
|
||||
<Form.Item label="Chat model" name="llm_id">
|
||||
<Form.Item label="Chat model" name="llm_id" tooltip="coming soon">
|
||||
<Select options={allOptions[LlmModelType.Chat]} />
|
||||
</Form.Item>
|
||||
</Form>
|
||||
|
||||
@@ -110,7 +110,7 @@ const UserSettingProfile = () => {
|
||||
<div>
|
||||
<Space>
|
||||
Your photo
|
||||
<Tooltip title="prompt text">
|
||||
<Tooltip title="coming soon">
|
||||
<QuestionCircleOutlined />
|
||||
</Tooltip>
|
||||
</Space>
|
||||
@@ -140,6 +140,7 @@ const UserSettingProfile = () => {
|
||||
<Form.Item<FieldType>
|
||||
label="Color schema"
|
||||
name="color_schema"
|
||||
tooltip="coming soon"
|
||||
rules={[
|
||||
{ required: true, message: 'Please select your color schema!' },
|
||||
]}
|
||||
@@ -153,6 +154,7 @@ 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">
|
||||
@@ -164,6 +166,7 @@ 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>
|
||||
|
||||
Reference in New Issue
Block a user