Connect your own embedding model to control how Search AI vectorizes text, enabling domain-specific embeddings or compliance with data privacy requirements.Documentation Index
Fetch the complete documentation index at: https://koreai.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Supported Vector Dimensions
Your embedding model must output one of these vector sizes:| Supported Sizes |
|---|
| 128, 256, 384, 512, 768, 1024, 1028, 1536, 2048, 3072 |
Integration Steps
Step 1: Configure the Model- Go to Generative AI Tools > Model Library
- Click +New Model and select Custom Integration
- In the Configurations tab, provide:
| Field | Description |
|---|---|
| Integration Name | Unique identifier for this integration |
| Model Name | Your model name (e.g., text-embedding-ada-002) |
| Endpoint | API endpoint that returns embeddings |
| Auth | Authorization profile (if required) |
| Headers | Any required request headers |
- Click Next and enter your Request Prompt (the payload sent to the model):
- Click Test to verify the response, then Save
- Go to Generative AI Tools > Prompt Library
- Click +New Prompt and configure:
| Field | Description |
|---|---|
| Name | Unique identifier for this prompt |
| Feature | Select Vector Generation |
| Model | Select your custom model from Step 1 |
- Define the Request using the
{{embedding_input}}variable:
- Enter sample values and click Test
- In the Response, double-click the field containing the embeddings array to set the Text Response Path
- Click Save
If the response format doesn’t match, use a post-processor script to transform it.
- Go to GenAI Features
- For Vector Generation:
- Select the model from Step 1
- Select the prompt from Step 2
- Enable the feature