summaryrefslogtreecommitdiffstats
path: root/src/rag/loader.rs
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-07-03 16:51:30 +0800
committerGitHub <noreply@github.com>2024-07-03 16:51:30 +0800
commitcce4fec108feb7c963c2394c4daf5bb2d0274b1b (patch)
treef0510ef985bae0d647914137ab5e74b24f912b8c /src/rag/loader.rs
parente63441b1e4139007a244a8f419cda73368b11ec7 (diff)
downloadaichat-cce4fec108feb7c963c2394c4daf5bb2d0274b1b.tar.gz
refactor: update config.example.yaml and readme, fix typos (#682)
Diffstat (limited to 'src/rag/loader.rs')
-rw-r--r--src/rag/loader.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rag/loader.rs b/src/rag/loader.rs
index 37fa803..7fa1fd6 100644
--- a/src/rag/loader.rs
+++ b/src/rag/loader.rs
@@ -7,7 +7,7 @@ use std::{collections::HashMap, path::Path};
pub const EXTENSION_METADATA: &str = "__extension__";
pub const PATH_METADATA: &str = "__path__";
-pub async fn load_recrusive_url(
+pub async fn load_recursive_url(
loaders: &HashMap<String, String>,
path: &str,
) -> Result<Vec<(String, RagMetadata)>> {