aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/chatbot/agentsystem
diff options
context:
space:
mode:
authorA.J. Shulman <Shulman.aj@gmail.com>2024-10-10 11:39:19 -0400
committerA.J. Shulman <Shulman.aj@gmail.com>2024-10-10 11:39:19 -0400
commitd347fc59feefd91a796012892da57511787bb6d0 (patch)
tree83b8950ade694a795a38fd2969d50978c1179b83 /src/client/views/nodes/chatbot/agentsystem
parent75b98f184260567c0dabb54dd8ef22a8e2510512 (diff)
added new file header comments and fixed some error handling
Diffstat (limited to 'src/client/views/nodes/chatbot/agentsystem')
-rw-r--r--src/client/views/nodes/chatbot/agentsystem/prompts.ts9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/client/views/nodes/chatbot/agentsystem/prompts.ts b/src/client/views/nodes/chatbot/agentsystem/prompts.ts
index 01c30d444..f5aec3130 100644
--- a/src/client/views/nodes/chatbot/agentsystem/prompts.ts
+++ b/src/client/views/nodes/chatbot/agentsystem/prompts.ts
@@ -1,4 +1,11 @@
-// prompts.ts
+/**
+ * @file prompts.ts
+ * @description This file contains functions that generate prompts for various AI tasks, including
+ * generating system messages for structured AI assistant interactions and summarizing document chunks.
+ * It defines prompt structures to ensure the AI follows specific guidelines for response formatting,
+ * tool usage, and citation rules, with a rigid structure in mind for tasks such as answering user queries
+ * and summarizing content from provided text chunks.
+ */
import { Tool } from '../types/types';