Quick Start
This guide will walk you through getting started with Inferable.
Let’s get started with Inferable by setting up a demo that allows you to query a sample database using natural language.
Create a demo cluster
Choose your preferred way to get started with Inferable:
Go to Inferable Cloud to create your free cluster.
A cluster is a logical grouping of functions and agents that work together. When you sign up, a demo cluster will be automatically created for you.
Create a cluster
Connect local service
Look for the “Add service” button on the right side of the screen. Click on the local demo service option, and you’ll be provided with an npx
command to run. Execute the provided npx
command in your terminal.
Connecting local service
This will start a local server that runs on your machine. The server provides the agent with essential functions to:
- Understand your database schema
- Execute database queries
Start interacting
You can now start issuing natural language prompts to interact with the database. Try one of the sample prompts on the services page.
The agent will understand your request, convert it to the appropriate SQL query, and return the results.
Interacting with the database with sqlite service
For an example, in this scenario, the agent had to:
- Search for the available functions.
- Pick the one that helped it understand the database schema.
- Fire off a few
SELECT
queries to get the data it needed. UPDATE
the database to move all employees from “Acme” corp to “Dunder Mifflin”.
Moving forward
Continue exploring
You can issue more queries, and continue the chat where you left off. For example, try asking, “Can you move them back to Acme?”
Terminal Copilot
In addition to the sqlite
service, we’ve also added a terminal
service that allows you to interact with your local machine. You can ask it questions like “What OS am I running?” or “How much free memory do I have?”.
This service will ask for your approval before running any commands via the human in the loop feature.
Terminal Copilot with human in the loop
FAQ
Related Pages
Was this page helpful?