Skip to content

Commit bfff558

Browse files
authored
deduplication query fix and UI changes
1 parent 97f1a35 commit bfff558

File tree

3 files changed

+1
-21
lines changed

3 files changed

+1
-21
lines changed

backend/src/graphDB_dataAccess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ def get_duplicate_nodes_list(self):
362362
score_value = float(os.environ.get('DUPLICATE_SCORE_VALUE'))
363363
text_distance = int(os.environ.get('DUPLICATE_TEXT_DISTANCE'))
364364
query_duplicate_nodes = """
365-
MATCH (n:!Chunk&!Session&!Document&!`__Community__`&!`__Entity__`) with n
365+
MATCH (n:!Chunk&!Session&!Document&!`__Community__`) with n
366366
WHERE n.embedding is not null and n.id is not null // and size(toString(n.id)) > 3
367367
WITH n ORDER BY count {{ (n)--() }} DESC, size(toString(n.id)) DESC // updated
368368
WITH collect(n) as nodes

frontend/src/components/Graph/GraphViewModal.tsx

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -349,15 +349,7 @@ const GraphViewModal: React.FunctionComponent<GraphViewModalProps> = ({
349349
'aria-labelledby': 'form-dialog-title',
350350
}}
351351
>
352-
<<<<<<< HEAD
353352
<Dialog.Header htmlAttributes={{ id: 'graph-title' }}>
354-
=======
355-
<Dialog.Header
356-
htmlAttributes={{
357-
id: 'graph-title',
358-
}}
359-
>
360-
>>>>>>> 6a46472dcebfb9282c1c9d7332bcfacb30811661
361353
{headerTitle}
362354
{viewPoint !== graphLabels.chatInfoView && (
363355
<div style={{ display: 'flex', alignItems: 'center' }}>
@@ -411,11 +403,7 @@ const GraphViewModal: React.FunctionComponent<GraphViewModalProps> = ({
411403
}}
412404
nvlCallbacks={nvlCallbacks}
413405
/>
414-
<<<<<<< HEAD
415406
<IconButtonArray orientation='vertical' isFloating={true} className='absolute bottom-4 right-4'>
416-
=======
417-
<IconButtonArray orientation='vertical' isFloating className='absolute bottom-4 right-4'>
418-
>>>>>>> 6a46472dcebfb9282c1c9d7332bcfacb30811661
419407
{viewPoint !== 'chatInfoView' && (
420408
<IconButtonWithToolTip
421409
label='Refresh'

frontend/src/components/UI/ErrroBoundary.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,7 @@ export default class ErrorBoundary extends React.Component<any, any> {
1919
return (
2020
<div className='n-size-full n-flex n-flex-col n-items-center n-justify-center n-rounded-md n-bg-palette-neutral-bg-weak n-box-border'>
2121
<Banner
22-
<<<<<<< HEAD
2322
hasIcon={true}
24-
=======
25-
hasIcon
26-
>>>>>>> 6a46472dcebfb9282c1c9d7332bcfacb30811661
2723
type='info'
2824
description={
2925
this.state.errorMessage === 'Missing required parameter client_id.'
@@ -53,11 +49,7 @@ export default class ErrorBoundary extends React.Component<any, any> {
5349
},
5450
]
5551
}
56-
<<<<<<< HEAD
5752
usage='inline'
58-
=======
59-
usage='global'
60-
>>>>>>> 6a46472dcebfb9282c1c9d7332bcfacb30811661
6153
></Banner>
6254
</div>
6355
);

0 commit comments

Comments
 (0)