MINOR - djl local embedding (#23563)

* feat: config for djl local embedding

* Update generated TypeScript types

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Pere Miquel Brull <peremiquelbrull@gmail.com>
This commit is contained in:
Teddy 2025-10-06 10:47:50 +02:00 committed by GitHub
parent e604c67686
commit 62b37477ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 39 additions and 0 deletions

View File

@ -152,6 +152,17 @@
}
},
"additionalProperties": false
},
"djl": {
"description": "Embedding generation using Deep Java Library (DJL)",
"type": "object",
"properties": {
"embeddingModel": {
"description": "DJL model name for embedding generation",
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false

View File

@ -89,6 +89,10 @@ export interface NaturalLanguageSearch {
* AWS Bedrock configuration for natural language processing
*/
bedrock?: Bedrock;
/**
* Embedding generation using Deep Java Library (DJL)
*/
djl?: Djl;
/**
* The provider to use for generating vector embeddings (e.g., bedrock, openai).
*/
@ -137,6 +141,16 @@ export interface Bedrock {
useIamRole?: boolean;
}
/**
* Embedding generation using Deep Java Library (DJL)
*/
export interface Djl {
/**
* DJL model name for embedding generation
*/
embeddingModel?: string;
}
/**
* This schema defines the language options available for search index mappings.
*/

View File

@ -1847,6 +1847,10 @@ export interface NaturalLanguageSearch {
* AWS Bedrock configuration for natural language processing
*/
bedrock?: Bedrock;
/**
* Embedding generation using Deep Java Library (DJL)
*/
djl?: Djl;
/**
* The provider to use for generating vector embeddings (e.g., bedrock, openai).
*/
@ -1895,6 +1899,16 @@ export interface Bedrock {
useIamRole?: boolean;
}
/**
* Embedding generation using Deep Java Library (DJL)
*/
export interface Djl {
/**
* DJL model name for embedding generation
*/
embeddingModel?: string;
}
/**
* Configuration for Natural Language Query capabilities
*/