mirror of
https://github.com/jina-ai/node-DeepResearch.git
synced 2025-12-26 06:28:56 +08:00
refactor: query rewriter
This commit is contained in:
parent
53cb3a4318
commit
a890e19ce6
@ -856,7 +856,7 @@ But unfortunately, you failed to solve the issue. You need to think out of the b
|
||||
await storeContext(system, schema, {allContext, allKeywords, allQuestions, allKnowledge, weightedURLs}, totalStep);
|
||||
|
||||
// max return 300 urls
|
||||
const returnedURLs = weightedURLs.slice(0, 300).map(r => r.url)
|
||||
const returnedURLs = Object.keys(allURLs).slice(0, 300);
|
||||
return {
|
||||
result: thisStep,
|
||||
context,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user