Nl2sql
APIs related to Nl2sql.
📄️ List SQL AI training documents
Returns a paginated list of the SQL AI training documents the caller added. A Super Admin sees every user's documents instead.
📄️ Add SQL AI training data
Registers a training document used to improve SQL AI responses.
📄️ Get training document details, or request a file upload URL
This operation has two modes, selected by the action query parameter.
📄️ Delete a training document, or one of its uploaded files
Deletes either a single uploaded file or the whole training document, depending on whether file_name is supplied.
📄️ List SQL AI documents sync jobs
Returns a paginated history of the jobs that sync SQL AI training documents into the chatbot's knowledge base.
📄️ Trigger a SQL AI documents sync
Starts a knowledge-base ingestion job that syncs the uploaded SQL AI training documents into the store backing the chatbot. Run this after adding, replacing or deleting training documents, since those changes do not affect the chatbot's answers until a sync completes.