Back to Mindsdb

Upload TXT files to MindsDB

docs/integrations/files/txt.mdx

26.1.0902 B
Original Source

You can upload TXT files of any size to MindsDB that runs locally via Docker or pip.

TXT files are divided into chunks and stored in multiple table cells. MindsDB uses the TextLoader from LangChain to load TXT files.

Upload files

Follow the steps below to upload a file:

  1. Click on the Add dropdown and choose Upload file.
<p align="center"> </p>
  1. Upload a file and provide a name used to access it within MindsDB.
<p align="center"> </p>

Query files

Here is how to query data within MindsDB.

Query for the content of the file uploaded under the name my_file.

sql
SELECT *
FROM files.my_file;