(feat: attachment) integrate upload on fe

This commit is contained in:
ManishMadan2882
2025-03-27 16:54:21 +05:30
parent 55050a9f58
commit 4ba35d6189
2 changed files with 211 additions and 8 deletions

View File

@@ -32,6 +32,7 @@ const endpoints = {
DELETE_CHUNK: (docId: string, chunkId: string) =>
`/api/delete_chunk?id=${docId}&chunk_id=${chunkId}`,
UPDATE_CHUNK: '/api/update_chunk',
STORE_ATTACHMENT: '/api/store_attachment',
},
CONVERSATION: {
ANSWER: '/api/answer',