The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.
Python agentic-memoryagentic-memory-systemagentsaiai-agentschatgptgenaillmlong-term-memorymemorymemory-managementpythonragstate-management
[Bug Fix] Fix issue of loading other languages in csv file (#1225)
Youbin Choifb0852f5859c
diff --git a/embedchain/loaders/csv.py b/embedchain/loaders/csv.pyindex 1730ae9c2..2714d5759 100644--- a/embedchain/loaders/csv.py+++ b/embedchain/loaders/csv.py@@ -27,9 +27,9 @@ class CsvLoader(BaseLoader):return StringIO(response.text)elif url.scheme == "file":path = url.path- return open(path, newline="") # Open the file using the path from the URI+ return open(path, newline="", encoding="utf-8") # Open the file using the path from the URIelse:- return open(content, newline="") # Treat content as a regular file path+ return open(content, newline="", encoding="utf-8") # Treat content as a regular file path@staticmethoddef load_data(content):