components llm_rag_update_pinecone_index - Azure/azureml-assets GitHub Wiki

LLM - Update Pinecone Index

llm_rag_update_pinecone_index

Overview

Uploads embeddings into Pinecone index specified in pinecone_config. The Index will be created if it doesn't exist.

Each record in the Index will have the following metadata populated:

  • "id", String
  • "content", String
  • "url", String
  • "filepath", String
  • "title", String
  • "metadata_json_string", String

"metadata_json_string" contains all metadata for a document/record serialized as a JSON string.

Version: 0.0.39

Tags

Preview

View in Studio: https://ml.azure.com/registries/azureml/components/llm_rag_update_pinecone_index/version/0.0.39

Inputs

Name Description Type Default Optional Enum
embeddings Embeddings output produced from parallel_create_embeddings. uri_folder
pinecone_config JSON string containing the Pinecone index configuration. e.g. {"index_name": "my-index"} string
connection_id The id of the connection to the Pinecone project where the index lives. string True

Outputs

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

Environment

azureml:llm-rag-embeddings@latest

⚠️ **GitHub.com Fallback** ⚠️