From 639259e5c2275d34886cf3373f07da5dc61ddf30 Mon Sep 17 00:00:00 2001 From: Sanjay Nadhavajhala Date: Tue, 13 Feb 2024 01:52:33 -0800 Subject: [PATCH] restrict knowledge retriever file types in ui --- .../ui/app/pages/2_\360\237\244\226_Explore_Assistants.py" | 1 + 1 file changed, 1 insertion(+) diff --git "a/services/frontend/ui/app/pages/2_\360\237\244\226_Explore_Assistants.py" "b/services/frontend/ui/app/pages/2_\360\237\244\226_Explore_Assistants.py" index 990e8be..dfb6bff 100644 --- "a/services/frontend/ui/app/pages/2_\360\237\244\226_Explore_Assistants.py" +++ "b/services/frontend/ui/app/pages/2_\360\237\244\226_Explore_Assistants.py" @@ -144,6 +144,7 @@ def main(): uploaded_files = st.file_uploader( "Knowledge", accept_multiple_files=True, + type=[".pdf", ".txt", ".json", ".csv", ".md", ".html", ".log", ".rtf"], help="If you upload files for knowledge retrieval, conversations with your Assistant may include file contents. Upon Assistant creation, the file contents will be indexed for retrieval - this may take a moment.", )