diff options
| author | A.J. Shulman <Shulman.aj@gmail.com> | 2024-08-22 11:17:28 -0400 |
|---|---|---|
| committer | A.J. Shulman <Shulman.aj@gmail.com> | 2024-08-22 11:17:28 -0400 |
| commit | 3d290c126623404b56958d16becc244d04548658 (patch) | |
| tree | cfc3be59b6aa1d2d18c5d362b5fd7612ce4b80a1 /src/client/views/nodes/ChatBox/prompts.ts | |
| parent | 74208b86f0b4d32bcf071fea23dd629d2cc7b46b (diff) | |
fixed table citations and now formatted chunks show table info as well
Diffstat (limited to 'src/client/views/nodes/ChatBox/prompts.ts')
| -rw-r--r-- | src/client/views/nodes/ChatBox/prompts.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/nodes/ChatBox/prompts.ts b/src/client/views/nodes/ChatBox/prompts.ts index 845b4d255..76d958daf 100644 --- a/src/client/views/nodes/ChatBox/prompts.ts +++ b/src/client/views/nodes/ChatBox/prompts.ts @@ -27,6 +27,8 @@ export function getReactPrompt(tools: Tool[], summaries: () => string, chatHisto <point>If a tool is needed, ALWAYS select the most appropriate tool based on the user's query.</point> <point>If the query could relate to user documents or require external information (e.g., RAG, search + website scraping, data analysis), USE the appropriate tool to gather that information.</point> <point>If there are no user docs or the user docs have not yielded helpful information, use the search tool to find websites followed by the website scraper tool to get useful infromation from one of those websites. You can use the website scraper (or even the search tool), multiple times to find information from multiple websites either from the same search or different searches.</point> + <point>Always follow the response structure provided in the instructions.</point> + <point>If you are stuck in a loop because a tool isn't helping you even though you think it should, use the 'no_tool' action to proceed with the response and ask the user for more information or clarification or let them know you cannot answer their question and why.</point> </critical_points> <response_structure> |
