From d97405e0a172b03a759452a1e9a7291974d89248 Mon Sep 17 00:00:00 2001 From: "A.J. Shulman" Date: Fri, 16 Aug 2024 14:17:04 -0400 Subject: fixed up prompt by fixing examples and also removed link creation in search tool and fixed dangling promise in AM --- src/client/views/nodes/ChatBox/tools/SearchTool.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/views/nodes/ChatBox/tools') diff --git a/src/client/views/nodes/ChatBox/tools/SearchTool.ts b/src/client/views/nodes/ChatBox/tools/SearchTool.ts index 91ecc71ff..6523fd11c 100644 --- a/src/client/views/nodes/ChatBox/tools/SearchTool.ts +++ b/src/client/views/nodes/ChatBox/tools/SearchTool.ts @@ -29,7 +29,7 @@ export class SearchTool extends BaseTool<{ query: string }> { const data: { type: string; text: string }[] = results.map((result: { url: string; snippet: string }) => { console.log; const id = uuidv4(); - this._addLinkedUrlDoc(result.url, id); + //this._addLinkedUrlDoc(result.url, id); //not needed right now because it shouldn't use this information to ground responses and should scrape afterwards return { type: 'text', text: ` -- cgit v1.2.3-70-g09d2