aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/ChatBox/ChunkManager.ts
diff options
context:
space:
mode:
authorA.J. Shulman <Shulman.aj@gmail.com>2024-09-07 11:48:36 -0400
committerA.J. Shulman <Shulman.aj@gmail.com>2024-09-07 11:48:36 -0400
commit210f8f5f1cd19e9416a12524cce119b273334fd3 (patch)
tree02268cd69abc868c428f42e8d57812a4f29be1a7 /src/client/views/nodes/ChatBox/ChunkManager.ts
parent0b3c2ed595b85391e9833a3b7710d2169439a582 (diff)
reorganized parsers, added comments to vectorstore, and added citation popup for text citations
Diffstat (limited to 'src/client/views/nodes/ChatBox/ChunkManager.ts')
-rw-r--r--src/client/views/nodes/ChatBox/ChunkManager.ts24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/client/views/nodes/ChatBox/ChunkManager.ts b/src/client/views/nodes/ChatBox/ChunkManager.ts
deleted file mode 100644
index 64c073640..000000000
--- a/src/client/views/nodes/ChatBox/ChunkManager.ts
+++ /dev/null
@@ -1,24 +0,0 @@
-import { SimplifiedChunk } from './types';
-
-class ChunkManager {
- private chunks: SimplifiedChunk[];
-
- constructor() {
- this.chunks = [];
- }
-
- addChunk(chunk: SimplifiedChunk) {
- this.chunks.push(chunk);
- }
-
- removeChunk(chunk: SimplifiedChunk) {
- const index = this.chunks.indexOf(chunk);
- if (index !== -1) {
- this.chunks.splice(index, 1);
- }
- }
-
- getChunks() {
- return this.chunks;
- }
-}