Use sample SQL queries to register model endpoints with providers
like Google, OpenAI, Anthropic, Hugging Face, and custom AI model providers with AlloyDB.

You can select the provider, filter the model endpoint you want to create, and
then enter the model ID and other parameters to call the create model SQL
query.

<button value="google" default="">Google</button> <button value="openai">OpenAI</button> <button value="anthropic">Anthropic</button> <button value="hugging-face">Hugging Face</button> <button value="custom">Custom</button>

Model type text_embedding generic

| Provider | Model type | Auth with Secret Manager | Auth with custom header | Sample SQL query |
|---|---|---|---|---|
| google | text_embedding | Not applicable | Not applicable | ```` ```bash CALL google_ml.create_model( model_id => 'UNIQUE_EMB_MODEL_ID', model_request_url => 'VERTEX_AI_URL_EMB', model_provider => 'google', model_type => 'text_embedding', model_auth_type => 'alloydb_service_agent_iam'); ``` ```` |
| google | generic | Not applicable | Not applicable | ```` ```bash CALL google_ml.create_model( model_id => 'UNIQUE_GEN_MODEL_ID', model_request_url => 'VERTEX_AI_URL_GEN', model_provider => 'google', model_type => 'generic', model_auth_type => 'alloydb_service_agent_iam' ); ``` ```` |