This Contains API endpoints to Ask Questions, and Train Customised LLM Model
Endpoint: /api/AskQuestion
Method: POST
Description: Ask Questions to the Trained LLM
Form Data:
question (string):Question Input. Ex:What is the Total Sales Amount? Endpoint: /api/TrainQuestionsSQL
Method: POST
Description: Train LLM with Questions and its Corresponding SQL Answers
Form Data:
question (string):Question Input Ex: Show all dataSqlQuery (string):Query Input: Ex: Select * from Table Endpoint: /api/TrainSql
Method: POST
Description: Train LLM with more SQL queries
Form Data:
SqlQuery (string):Query Input: Ex: Select * from Table Endpoint: /api/TrainDDl
Method: POST
Description: Train LLM with more DDL queries to Give Info About The Table
Form Data:
DDlQuery (string):Query Input: Ex: Create Table TableName(column1 columndatatype,column2 columndatatype) Endpoint: /api/UpdateDoc
Method: POST
Description: Write and Update Documentation for the LLM to Provide it more Context
Form Data:
Documentation (string):Abstract Context about the data Endpoint: /api/GetTrainData
Method: GET
Description:Get all the SQL Queries and Prompts the LLM is trained with.