MindsDB home page
Search...
⌘K
Ask AI
Login
Get Started
Get Started
Search...
Navigation
Predictions
Get a Single Prediction
Documentation
SQL API
SDKs
REST API
Integrations
Contribute
FAQs
Join our Slack
GitHub
SDKs
Overview
Mongo-QL
Python SDK
Connect
Databases
ML Engines
Projects
Models
Predictions
Get a Single Prediction
Get Batch Predictions
Tables, Views, Files
Jobs
JavaScript SDK
On this page
Description
Syntax
Predictions
Get a Single Prediction
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'})
Suggest edits
Raise issue
Manage Model Versions
Get Batch Predictions
Assistant
Responses are generated using AI and may contain mistakes.