components llm_rag_update_cosmos_mongo_vcore_index - Azure/azureml-assets GitHub Wiki
Uploads embeddings
into Azure Cosmos Mongo vCore collection/index specified in azure_cosmos_mongo_vcore_config
. The collection/index will be created if it doesn't exist.
The collection/index will have the following fields populated:
- "_id", String, key=True
- "content", String
- "contentVector", Collection(Single)
- "url", String
- "filepath", String
- "title", String
- "metadata_json_string", String
"metadata_json_string" contains all metadata for a document serialized as a JSON string.
Version: 0.0.27
Preview
View in Studio: https://ml.azure.com/registries/azureml/components/llm_rag_update_cosmos_mongo_vcore_index/version/0.0.27
Name | Description | Type | Default | Optional | Enum |
---|---|---|---|---|---|
embeddings | Embeddings output produced from parallel_create_embeddings. | uri_folder | |||
azure_cosmos_mongo_vcore_config | JSON string containing the Azure Cosmos Mongo vCore configuration. e.g. {"database_name": "my-db", "collection_name": "my-collection", "index_name": "my-index"} | string | |||
connection_id | The connection id of the Azure Cosmos Mongo vCore provider to use. | string | True |
Name | Description | Type |
---|---|---|
index | Uri folder containing the MLIndex yaml describing the newly created/updated Azure Cosmos Mongo vCore collection/index. | uri_folder |
azureml:llm-rag-embeddings@latest