15. AI2sql API Integration
Integrate SQL generation in your application with AI2sql's API, allowing you to transform natural language into SQL queries seamlessly. For information on API access and application, please visit the website for documentation and procedures.
Replace <BUSINESS_IDENTIFIER>
with the unique ID found in your AI2sql account dashboard URL.
Your <ACCESS_TOKEN>
is available under Account Settings > API Access.
Choose from our simple or detailed schema structures based on your requirement.
Example Use Case
Suppose you want to query data from a table named customers
. With AI2sql, you can simply describe your query, like "Get all customers who joined in the last month", and AI2sql will convert it into a corresponding SQL query.
Utilizing AI2sql API After Adding Tables
After you have created and added tables to AI2sql, you can use the AI2sql API to interact with these tables efficiently. This powerful tool simplifies the process of querying and manipulating data in your database tables using natural language. For more detailed instructions on AI2sql tables and capabilities, refer to the AI2sql documentation
Schema Mapping
This section should detail the mapping of natural language terms to their corresponding SQL tables, columns, and relationships in the database. This template can be customized for any database by filling in specific details related to the database schema, business rules, and terminology.
Last updated