From d034f971987b400a2ec6ac399d9cf50b6e7134f2 Mon Sep 17 00:00:00 2001 From: Evan Stohlmann Date: Wed, 2 Oct 2024 15:42:46 -0600 Subject: [PATCH] fixed RAG file upload --- .../react/src/components/chatbot/FileUploadModals.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/user-interface/react/src/components/chatbot/FileUploadModals.tsx b/lib/user-interface/react/src/components/chatbot/FileUploadModals.tsx index 75110b1..3e63d65 100644 --- a/lib/user-interface/react/src/components/chatbot/FileUploadModals.tsx +++ b/lib/user-interface/react/src/components/chatbot/FileUploadModals.tsx @@ -243,7 +243,7 @@ export function RagUploadModal ({ auth.user?.id_token, fileKeys, ragConfig.repositoryId, - ragConfig.embeddingModel, + { id: ragConfig.embeddingModel.modelId, modelType: ragConfig.embeddingModel.modelType, streaming: ragConfig.embeddingModel.streaming }, ragConfig.repositoryType, chunkSize, chunkOverlap,