aboutsummaryrefslogtreecommitdiff
path: root/src/client/views
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views')
-rw-r--r--src/client/views/nodes/chatbot/types/types.ts6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/client/views/nodes/chatbot/types/types.ts b/src/client/views/nodes/chatbot/types/types.ts
index 995ac531d..882e74ebb 100644
--- a/src/client/views/nodes/chatbot/types/types.ts
+++ b/src/client/views/nodes/chatbot/types/types.ts
@@ -1,6 +1,3 @@
-import { indexes } from 'd3';
-import { AnyLayer } from 'react-map-gl';
-
export enum ASSISTANT_ROLE {
USER = 'user',
ASSISTANT = 'assistant',
@@ -122,9 +119,8 @@ export interface AI_Document {
type: string;
}
+export type Observation = { type: 'text'; text: string } | { type: 'image_url'; image_url: { url: string } };
export interface AgentMessage {
role: 'system' | 'user' | 'assistant';
content: string | Observation[];
}
-
-export type Observation = { type: 'text'; text: string } | { type: 'image_url'; image_url: { url: string } };