Build a trained chatbot with your databases in 2 minutes

Build a trained chatbot with your databases in 2 minutes
Build a specialized chatbot with your databases in 2 minutes

Many organizations have stored structured data in the database and require software engineers to implement user interfaces to interact with the database. AI Binding allows end users to query the database data without the involvement of software engineers.

0:00
/0:52

Requirement(s)

Steps

Login to the AI Binding platform and access the Getting Started page.

Select or register an AI Model. I have already registered OpenAI before and it is the only model I registered, so it is selected by default.

Make sure a Model is selected

With the Model selected, you can find the corresponding available Bindings. As I have OpenAI selected, let's select the binding OpenAI SQL. You may need to look up the next page for it.

Look up and select OpenAI SQL Binding

With the Binding "OpenAI SQL" selected, Step 3 is to customize the Target.

Customize the SQL Target

Let's name this SQL Target "Employee MySQL Database". Then input the connection string in the format "myuser:mypwd@myserver:3306/mydatabase".

Provide a name and provide the Connection String

Click the "Save" button in Step 3.

Saved the Employee MySQL Database Target

Finally, let's click the "Construct AI Chatbot" button to create our customized chatbot.

Construct AI Chatbot

With the Chatbot created, we can now consider it as our software or database engineer and look up some information. For example, we might ask about some employee statistics.

Ask chatbot on database statistics without database engineers

What you achieved in AI Binding...

In the past few minutes, you have just...

  1. selected a registered Model.
  2. selected the OpenAI SQL Binding.
  3. customized the "SQL" Target and saved it for later use.
  4. constructed the AI Chatbot (and behind the scenes, a Project "Getting Started - OpenAI SQL" is created for you).

What's Next

  • Access your specialized chatbot again without re-creating it.
  • Share your chatbot with others.
  • Embed your chatbot to your websites or enterprise applications.
  • Integrate the capability of generative AI with your enterprise applications through a simple API.