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
Add documentation for text_file data type (#1410)
Dimitra Gerontaki411904000550
diff --git a/docs/components/data-sources/text-file.mdx b/docs/components/data-sources/text-file.mdxnew file mode 100644index 000000000..14b48c005--- /dev/null+++ b/docs/components/data-sources/text-file.mdx@@ -0,0 +1,14 @@+---+title: '📄 Text file'+---++To add a .txt file, specify the data_type as `text_file`. The URL provided in the first parameter of the `add` function, should be a local path. Eg:++```python+from embedchain import App++app = App()+app.add('path/to/file.txt', data_type="text_file")++app.query("Summarize the information of the text file")+```\ No newline at end of file