From 6070e6bcd1cb18dc7387389a2394ec464f1353d9 Mon Sep 17 00:00:00 2001 From: Marclass Date: Wed, 17 Jan 2024 20:10:34 -0700 Subject: [PATCH] add svelte type to RAG --- backend/apps/rag/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/apps/rag/main.py b/backend/apps/rag/main.py index 820ec1954..36a12e4cc 100644 --- a/backend/apps/rag/main.py +++ b/backend/apps/rag/main.py @@ -166,7 +166,7 @@ def store_doc( "css", "cpp", "hpp","h", "c", "cs", "sql", "log", "ini", "pl" "pm", "r", "dart", "dockerfile", "env", "php", "hs", "hsc", "lua", "nginxconf", "conf", "m", "mm", "plsql", "perl", - "rb", "rs", "db2", "scala", "bash", "swift", "vue" + "rb", "rs", "db2", "scala", "bash", "swift", "vue", "svelte" ] file_ext=file.filename.split(".")[-1].lower() if file.content_type == "application/octet-stream" and file_ext not in (octet_markdown + octet_plain):