This documentation describes the integration of MindsDB with Google Gemini, a generative artificial intelligence model developed by Google.
The integration allows for the deployment of Google Gemini models within MindsDB, providing the models with access to data from various data sources.
Create a model using google_gemini_engine as an engine.
Copy
Ask AI
CREATE MODEL google_gemini_modelPREDICT target_columnUSING engine = 'google_gemini_engine', -- engine name as created via CREATE ML_ENGINE question_column = 'input_column', -- column name that stores user input model_name = 'gemini-2.0-flash'; -- model name to be used
The following usage examples utilize google_gemini_engine to create a model with the CREATE MODEL statement.Create a model to generate text completions with the Gemini Pro model for your existing text data.