---
sourceDocument: Xanadu ServiceNow AI Platform Administration
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/platform-administration

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu ServiceNow AI Platform Administration

ft:clusterId :

    - platadm

bundleId :

    - platadm

workflow :

    - Platform


---

# Configuring bring your own model (BYOM)

# Configuring bring your own model (BYOM) {#ariaid-title1}

* Release version: Xanadu
* 
* Updated July 31, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

As an administrator, you can create your own custom embedding model to use in the AI Search
Retrieval Augmented Generation (RAG) application to generate embeddings for semantic indexing.  
Use the BYOM capability to create a custom embedding model from third-party providers that helps to create embeddings for your specific RAG needs. The process for onboarding BYOM includes:

1. Create a connection and credential alias for the embedding model and complete its setup. For more information, see [Create a connection and credential alias for a custom embedding model](https://www.servicenow.com/docs/access?context=connection-alias&version=xanadu&pubname=xanadu-platform-security&ft:locale=en-US).
2. Create a custom embedding model in the Generative AI Model Configuration \[sys_generative_ai_model_config\] table for the AI Search RAG application to use in semantic indexing. For more information, see [Configure a custom embedding model](https://servicenow-prod.fluidtopics.net/kvD2ojVmlroJdqmE0rkLXQ "Create a custom embedding model in the Generative AI Model Configuration [sys_generative_ai_model_config] table so that your AI Search Retrieval Augmented Generation (RAG) application can use it to generate embeddings for semantic indexing. This setup ensures that the model is recognized and properly connected to send and receive requests.").
3. Select an AI provider for your embedding model so that it can integrate with the AI Search RAG application. For more information, see [Set a provider for an embedding model](https://servicenow-prod.fluidtopics.net/bPPn9rZ5Dx2VjYmlvKMN7g "Determine which AI provider to use so that your embedding model can work in the AI Search Retrieval Augmented Generation (RAG) application.").
4. Enable the AI Search Retrieval Augmented Generation (RAG) application to recognize your custom embedding model and use it for generating embeddings. For more information, see [Connect your custom embedding model with the Generative AI application](https://servicenow-prod.fluidtopics.net/HhFKprDFfnHdEnqyRHddxw "Integrate your custom embedding model with a capability definition to help the Generative AI application understand your data better and deliver more relevant, tailored responses.").
5. Manage errors from custom embedding models when generating semantic vectors. For more information, see [Create an error handler extension point](https://servicenow-prod.fluidtopics.net/A29LXRaVRd1TJZ7nTmgknA "Create a scripted extension point to handle the embedding generation errors that occur when custom embedding models in the AI Search Retrieval Augmented Generation (RAG) application generate semantic vectors.").
6. Add your new embedding model to the semantic indexing table to enable it for semantic indexing. For more information, see [Enable the custom embedding model for semantic indexing](https://servicenow-prod.fluidtopics.net/sOZrbULnoY1vOQ7kcitxtg "Add a new embedding model in the semantic indexing table so that the AI Search Retrieval Augmented Generation (RAG) application can use this model for semantic indexing.").
7. Activate your preferred embedding model so the AI Search RAG application can use it for generating embeddings. For more information, see [Activate a third-party embedding model](https://servicenow-prod.fluidtopics.net/8mg7shqp3fMNcdbo3QbLGQ "Activate your preferred embedding model, whether third-party or custom, so that the AI Search Retrieval Augmented Generation (RAG) application knows which model to use for generating embeddings.").
8. Select your preferred embedding model to use for semantic indexing. For more information, see [Configure semantic indexing settings for an indexed source](https://servicenow-prod.fluidtopics.net/MTroW~0rScnMYCEtTi4DlA "Specify the semantic indexing configuration settings you want to apply when AI Search indexes records from your indexed sources.").
{#creating-byom__ol_nbj_zvb_cgc}
* **[Create a custom embedding model](https://servicenow-prod.fluidtopics.net/kvD2ojVmlroJdqmE0rkLXQ)**   
  Create a custom embedding model in the Generative AI Model Configuration \[sys_generative_ai_model_config\] table so that your AI Search Retrieval Augmented Generation (RAG) application can use it to generate embeddings for semantic indexing. This setup ensures that the model is recognized and properly connected to send and receive requests.
* **[Set a provider for an embedding model](https://servicenow-prod.fluidtopics.net/bPPn9rZ5Dx2VjYmlvKMN7g)**   
  Determine which AI provider to use so that your embedding model can work in the AI Search Retrieval Augmented Generation (RAG) application.
* **[Connect your custom embedding model with the Generative AI application](https://servicenow-prod.fluidtopics.net/HhFKprDFfnHdEnqyRHddxw)**   
  Integrate your custom embedding model with a capability definition to help the Generative AI application understand your data better and deliver more relevant, tailored responses.
* **[Create an error handler extension point](https://servicenow-prod.fluidtopics.net/A29LXRaVRd1TJZ7nTmgknA)**   
  Create a scripted extension point to handle the embedding generation errors that occur when custom embedding models in the AI Search Retrieval Augmented Generation (RAG) application generate semantic vectors.
* **[Enable the custom embedding model for semantic indexing](https://servicenow-prod.fluidtopics.net/sOZrbULnoY1vOQ7kcitxtg)**   
  Add a new embedding model in the semantic indexing table so that the AI Search Retrieval Augmented Generation (RAG) application can use this model for semantic indexing.

