diff options
| author | A.J. Shulman <Shulman.aj@gmail.com> | 2024-10-10 11:39:19 -0400 |
|---|---|---|
| committer | A.J. Shulman <Shulman.aj@gmail.com> | 2024-10-10 11:39:19 -0400 |
| commit | d347fc59feefd91a796012892da57511787bb6d0 (patch) | |
| tree | 83b8950ade694a795a38fd2969d50978c1179b83 /src/client/views/nodes/chatbot/tools | |
| parent | 75b98f184260567c0dabb54dd8ef22a8e2510512 (diff) | |
added new file header comments and fixed some error handling
Diffstat (limited to 'src/client/views/nodes/chatbot/tools')
| -rw-r--r-- | src/client/views/nodes/chatbot/tools/BaseTool.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/client/views/nodes/chatbot/tools/BaseTool.ts b/src/client/views/nodes/chatbot/tools/BaseTool.ts index 10780617b..a77f567a5 100644 --- a/src/client/views/nodes/chatbot/tools/BaseTool.ts +++ b/src/client/views/nodes/chatbot/tools/BaseTool.ts @@ -1,3 +1,11 @@ +/** + * @file BaseTool.ts + * @description This file defines the abstract BaseTool class, which serves as a blueprint + * for tool implementations in the AI assistant system. Each tool has a name, description, + * parameters, and citation rules. The BaseTool class provides a structure for executing actions + * and retrieving action rules for use within the assistant's workflow. + */ + import { Tool } from '../types/types'; export abstract class BaseTool<T extends Record<string, unknown> = Record<string, unknown>> implements Tool<T> { |
