Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dify
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tech
dify
Commits
18ca6d0f
Commit
18ca6d0f
authored
Jan 15, 2024
by
jyong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
check thread block
parent
d3622fb7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
dataset_multi_retriever_tool.py
api/core/tool/dataset_multi_retriever_tool.py
+1
-0
No files found.
api/core/tool/dataset_multi_retriever_tool.py
View file @
18ca6d0f
...
@@ -95,6 +95,7 @@ class DatasetMultiRetrieverTool(BaseTool):
...
@@ -95,6 +95,7 @@ class DatasetMultiRetrieverTool(BaseTool):
document_context_list
=
[]
document_context_list
=
[]
index_node_ids
=
[
document
.
metadata
[
'doc_id'
]
for
document
in
all_documents
]
index_node_ids
=
[
document
.
metadata
[
'doc_id'
]
for
document
in
all_documents
]
segments
=
DocumentSegment
.
query
.
filter
(
segments
=
DocumentSegment
.
query
.
filter
(
DocumentSegment
.
dataset_id
.
in_
(
self
.
dataset_ids
),
DocumentSegment
.
completed_at
.
isnot
(
None
),
DocumentSegment
.
completed_at
.
isnot
(
None
),
DocumentSegment
.
status
==
'completed'
,
DocumentSegment
.
status
==
'completed'
,
DocumentSegment
.
enabled
==
True
,
DocumentSegment
.
enabled
==
True
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment