mirror of
https://github.com/jina-ai/node-DeepResearch.git
synced 2025-12-26 06:28:56 +08:00
chore: first commit
This commit is contained in:
parent
090e61591d
commit
2e83ae11ae
@ -645,7 +645,7 @@ async function storeContext(prompt: string, memory: any[][], step: number) {
|
||||
await fs.writeFile(`prompt-${step}.txt`, prompt);
|
||||
const [context, keywords, questions, knowledge] = memory;
|
||||
await fs.writeFile('context.json', JSON.stringify(context, null, 2));
|
||||
await fs.writeFile('keywords.json', JSON.stringify(keywords, null, 2));
|
||||
await fs.writeFile('queries.json', JSON.stringify(keywords, null, 2));
|
||||
await fs.writeFile('questions.json', JSON.stringify(questions, null, 2));
|
||||
await fs.writeFile('knowledge.json', JSON.stringify(knowledge, null, 2));
|
||||
} catch (error) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user