How to create a RAG for DB with Vectara APIs or SDK?

I have a lot of tabular data.
I want to ingest using the ingestion api of sdk and later use text queries to get tabular data results, how to do so?

Hi,
You can use the table_extraction_config parameter to extract tabular data when uploading a file using this API Upload a file to the corpus | Vectara Docs.

to get tabular data back in query, simply instruct it in the prompt.

The tabular data is sql db or excel files so like the entire data being like that, how to use that
I basically want like a SQL RAG kind of thing, how to work that?

You might want to try this GitHub - vectara/vectara-ingest: An open source framework to crawl data sources and ingest into Vectara