MindsDB home page
Search...
⌘K
Overview
Introduction
Interfaces
REST API
Python SDK
JavaScript SDK
MindsDB home page
Search...
⌘K
Ask AI
Slack
GitHub
Website
Watch Video
Watch Video
Search...
Navigation
Get a Single Prediction
Documentation
Connect
Unify
Respond
MCP API
SDKs & APIs
Contribute
FAQs
Documentation
Connect
Unify
Respond
MCP API
SDKs & APIs
Contribute
FAQs
Slack
GitHub
Website
Watch Video
On this page
Description
Syntax
Get a Single Prediction
Copy page
Copy page
Description
The
predict()
function fetches predictions from the model table.
Syntax
Use the
predict()
method to make a single prediction by passing the specific values as its argument:
Copy
Ask AI
my_model.predict({
"text"
:
'any text'
})
Was this page helpful?
Yes
No
Suggest edits
Raise issue
Assistant
Responses are generated using AI and may contain mistakes.