From f0bf60fdedc56ec594a5e60f4442e8eb5a998c0b Mon Sep 17 00:00:00 2001 From: KCaverly Date: Mon, 17 Jul 2023 14:53:57 -0400 Subject: [PATCH] add css as a embeddable file type in which the entire file is embedded individually --- crates/vector_store/src/parsing.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/vector_store/src/parsing.rs b/crates/vector_store/src/parsing.rs index 216ef1b5e1..663f0f473b 100644 --- a/crates/vector_store/src/parsing.rs +++ b/crates/vector_store/src/parsing.rs @@ -15,7 +15,7 @@ const CODE_CONTEXT_TEMPLATE: &str = "The below code snippet is from file ''\n\n```\n\n```"; const ENTIRE_FILE_TEMPLATE: &str = "The below snippet is from file ''\n\n```\n\n```"; -pub const PARSEABLE_ENTIRE_FILE_TYPES: [&str; 3] = ["TOML", "YAML", "JSON"]; +pub const PARSEABLE_ENTIRE_FILE_TYPES: [&str; 4] = ["TOML", "YAML", "JSON", "CSS"]; pub struct CodeContextRetriever { pub parser: Parser,