Skip to content

components llm_rag_update_milvus_index

github-actions[bot] edited this page Dec 12, 2024 · 29 revisions

LLM - Update Milvus Index

llm_rag_update_milvus_index

Overview

Uploads embeddings into Milvus collection/index specified in milvus_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.30

Tags

Preview

View in Studio: https://ml.azure.com/registries/azureml/components/llm_rag_update_milvus_index/version/0.0.30

Inputs

Name Description Type Default Optional Enum
embeddings Embeddings output produced from parallel_create_embeddings. uri_folder
milvus_config JSON string containing the Milvus configuration. e.g. {"collection_name": "my-collection"} string
connection_id The connection id of the Milvus provider to use. string True

Outputs

Name Description Type
index Uri folder containing the MLIndex yaml describing the newly created/updated Milvus collection/index. uri_folder

Environment

azureml:llm-rag-embeddings@latest

Clone this wiki locally