Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add retriever rank fe #1557

Merged
merged 73 commits into from
Nov 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
37b28fb
feat: split param item comp
iamjoel Nov 1, 2023
e49b777
feat: topk and scroe threshold item
iamjoel Nov 1, 2023
ac7e7a6
feat: retail params to modal
iamjoel Nov 1, 2023
ad563b0
feat: retive type
iamjoel Nov 1, 2023
92fae8f
feat: handle retriver action
iamjoel Nov 1, 2023
9eeaef8
feat: choose search type
iamjoel Nov 1, 2023
b8ca395
feat: retrieval method config
iamjoel Nov 2, 2023
3de44bb
chore: rereank model enbale logic
iamjoel Nov 2, 2023
161e8c9
feat: retrival i18n
iamjoel Nov 2, 2023
622a080
feat: hybrid recommand
iamjoel Nov 2, 2023
a7c1a10
feat: not enmomic
iamjoel Nov 2, 2023
e3ec1f8
feat: invert index config
iamjoel Nov 2, 2023
76e4e9c
files
iamjoel Nov 2, 2023
5cdc09b
feat: create page support retrival config
iamjoel Nov 2, 2023
8b9d195
feat: edit upload placeholder
iamjoel Nov 2, 2023
01cf9c6
feat: retrieval info
iamjoel Nov 2, 2023
8bcb677
feat: test hit add change methods
iamjoel Nov 2, 2023
95faab4
feat: model retrival modal and i18n
iamjoel Nov 2, 2023
c207614
just add
iamjoel Nov 2, 2023
14d9207
feat: retrival bottom
iamjoel Nov 3, 2023
a63898c
feat: rerank model and other i18n
iamjoel Nov 3, 2023
0d7a9da
feat: new dataset setting ui
iamjoel Nov 3, 2023
f92dd0f
feat: dataset config set retrival
iamjoel Nov 3, 2023
38ea552
feat: add system-model
zxhlyh Nov 6, 2023
dd8db95
merge main
zxhlyh Nov 7, 2023
b9409ec
chore: merge
iamjoel Nov 14, 2023
4bf2601
fix: remove code
zxhlyh Nov 14, 2023
8859d27
feat: support choose retrieve
iamjoel Nov 14, 2023
1a649dc
chore: dataset setting new ui
iamjoel Nov 14, 2023
23078ad
feat: remove useless code and change code to adapt universal chat
iamjoel Nov 14, 2023
96a4b92
feat: add reranking model list
zxhlyh Nov 14, 2023
605bd31
feat: add cohere
zxhlyh Nov 14, 2023
04a234d
feat: form setting search search type
iamjoel Nov 14, 2023
e3212fb
fix: text
zxhlyh Nov 14, 2023
bc8974f
fix: new dataset format show error
iamjoel Nov 15, 2023
dd0329a
feat: support choose reranking model
iamjoel Nov 15, 2023
0863cf5
fix: handle retrival model value
iamjoel Nov 15, 2023
65d9e21
fix: rerank model selector
zxhlyh Nov 15, 2023
617e4e2
feat: setting support set retrival
iamjoel Nov 15, 2023
cee1c03
fix: model selector
zxhlyh Nov 15, 2023
0a66262
feat: support reranking model check
iamjoel Nov 15, 2023
0daa5b3
feat: econmic inverert index
iamjoel Nov 15, 2023
97517bd
fix: debugger page rerank model valid
iamjoel Nov 15, 2023
a9bc549
fix: add cohere icon
zxhlyh Nov 15, 2023
fda4ede
feat: create and edit pass setting
iamjoel Nov 15, 2023
a7e354f
chore: handle ensure create dataset retrival
iamjoel Nov 15, 2023
21922de
feat: support retrival test pass retrival config
iamjoel Nov 15, 2023
8b10fd4
feat: support index method
iamjoel Nov 15, 2023
db41035
fix: hybrid search i18n
iamjoel Nov 16, 2023
319e0d7
fix: model-selector
zxhlyh Nov 16, 2023
105eacc
fix: retriveer methods show
iamjoel Nov 16, 2023
7a94c7f
fix: textarea ui
iamjoel Nov 16, 2023
0666d07
fix: retrival text not support econmy methods
iamjoel Nov 16, 2023
987f36e
fix: fulltext no rank model not show scroe
iamjoel Nov 16, 2023
bad63f0
fix: dataset detail style
zxhlyh Nov 16, 2023
7efee80
chore: hide scroe when full search not open rerank
iamjoel Nov 16, 2023
b82d60f
feat: app support retrival
iamjoel Nov 16, 2023
f58085a
feat: show tip
iamjoel Nov 16, 2023
647275f
fix: system model
zxhlyh Nov 16, 2023
d473218
feat: dataset setting ui
iamjoel Nov 16, 2023
e34da0e
feat: support set permission
iamjoel Nov 16, 2023
5dd1725
feat: add dataset doc
iamjoel Nov 16, 2023
8989d6a
fix: text
zxhlyh Nov 16, 2023
29ce324
feat: support methods than show
iamjoel Nov 16, 2023
6c63b19
chore: remove log
iamjoel Nov 16, 2023
8b34cf8
fix: save bug
iamjoel Nov 16, 2023
167597a
feat: support default
iamjoel Nov 17, 2023
63c3020
chore: remove log
iamjoel Nov 17, 2023
6ed64c0
fix: rename
zxhlyh Nov 17, 2023
4526e4a
fix: rename
zxhlyh Nov 17, 2023
30bcb63
chore: mrege
iamjoel Nov 17, 2023
510467b
Merge branch 'feat/add-retriever-rank-fe' of https://github.com/langg…
iamjoel Nov 17, 2023
dfadfa3
fix: add retrieval icon
zxhlyh Nov 17, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ const DatasetDetailLayout: FC<IAppDetailLayoutProps> = (props) => {
return <Loading />

return (
<div className='flex' style={{ height: 'calc(100vh - 56px)' }}>
<div className='flex'>
{!hideSideBar && <AppSideBar
title={datasetRes?.name || '--'}
icon={datasetRes?.icon || 'https://static.dify.ai/images/dataset-default-icon.png'}
Expand All @@ -168,7 +168,7 @@ const DatasetDetailLayout: FC<IAppDetailLayoutProps> = (props) => {
dataset: datasetRes,
mutateDatasetRes: () => mutateDatasetRes(),
}}>
<div className="bg-white grow">{children}</div>
<div className="bg-white grow" style={{ minHeight: 'calc(100vh - 56px)' }}>{children}</div>
</DatasetDetailContext.Provider>
</div>
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export type ICardItemProps = {
onRemove: (id: string) => void
readonly?: boolean
}

// used in universal-chat
const CardItem: FC<ICardItemProps> = ({
className,
config,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
.card {
box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
width: calc(50% - 4px);
width: 100%;
}

.card:hover {
box-shadow: 0px 4px 8px -2px rgba(16, 24, 40, 0.1), 0px 2px 4px -2px rgba(16, 24, 40, 0.06);
}

.deleteBtn {
.btnWrap {
padding-left: 64px;
visibility: hidden;
background: linear-gradient(270deg, #FFF 49.99%, rgba(255, 255, 255, 0.00) 98.1%);
}

.card:hover .deleteBtn {
.card:hover .btnWrap {
visibility: visible;
}

.settingBtn:hover {
background-color: rgba(0, 0, 0, 0.05);
}
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ const DatasetConfig: FC = () => {
onChange={handleSelectContextVar}
/>
)}

</FeaturePanel>
)
}
Expand Down
Loading
Loading