Connecting an assistant to a database for retrieval

I will recommend plain text, docs, pdf, or csv

i also explained it here: