mirror of
https://github.com/jina-ai/node-DeepResearch.git
synced 2026-03-22 15:39:06 +08:00
feat: add hostnames bw filter
This commit is contained in:
@@ -463,7 +463,7 @@ export async function getResponse(question?: string,
|
||||
console.log('Weighted URLs:', weightedURLs.length);
|
||||
}
|
||||
|
||||
// allowSearch = allowSearch && (weightedURLs.length < 70); // disable search when too many urls already
|
||||
allowSearch = allowSearch && (weightedURLs.length < 200); // disable search when too many urls already
|
||||
|
||||
// generate prompt for this step
|
||||
system = getPrompt(
|
||||
|
||||
@@ -3,7 +3,7 @@ import {ObjectGeneratorSafe} from "./safe-generator";
|
||||
import {EvaluationType, PromptPair} from "../types";
|
||||
|
||||
export const MAX_URLS_PER_STEP = 4
|
||||
export const MAX_QUERIES_PER_STEP = 7
|
||||
export const MAX_QUERIES_PER_STEP = 5
|
||||
export const MAX_REFLECT_PER_STEP = 2
|
||||
|
||||
function getLanguagePrompt(question: string): PromptPair {
|
||||
|
||||
Reference in New Issue
Block a user