text_file. The URL provided in the first parameter of the add function, should be a local path. Eg:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
text_file. The URL provided in the first parameter of the add function, should be a local path. Eg:
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")
Was this page helpful?