mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-02 01:27:14 +00:00
feat(ChatKnowledge): ChatKnowledge Support Keyword Retrieve (#1624)
Co-authored-by: Fangyin Cheng <staneyffer@gmail.com>
This commit is contained in:
@@ -71,7 +71,7 @@ export default function SpaceCard(props: IProps) {
|
||||
<GptCard
|
||||
title={space.name}
|
||||
desc={space.desc}
|
||||
icon={space.vector_type === 'KnowledgeGraph'?"/models/knowledge-graph.png":"/models/knowledge-default.jpg"}
|
||||
icon={space.vector_type === 'KnowledgeGraph'?"/models/knowledge-graph.png":space.vector_type === 'FullText'?"/models/knowledge-full-text.jpg":"/models/knowledge-default.jpg"}
|
||||
iconBorder={false}
|
||||
tags={[
|
||||
{
|
||||
|
@@ -70,6 +70,7 @@ export default function SpaceForm(props: IProps) {
|
||||
<Select className="mb-5 h-12" placeholder={t('Please_select_the_storage')}>
|
||||
<Select.Option value="VectorStore">Vector Store</Select.Option>
|
||||
<Select.Option value="KnowledgeGraph">Knowledge Graph</Select.Option>
|
||||
<Select.Option value="FullText">Full Text</Select.Option>
|
||||
</Select>
|
||||
</Form.Item>
|
||||
<Form.Item<FieldType> label={t('Description')} name="description" rules={[{ required: true, message: t('Please_input_the_description') }]}>
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 106 KiB |
BIN
web/public/models/knowledge-full-text.jpg
Normal file
BIN
web/public/models/knowledge-full-text.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 64 KiB |
Reference in New Issue
Block a user