Skip to content

Azure Embedding

Embed data using Azure’s API.

  1. Select Azure Embedding from the Embedding Model dropdown.
  2. Enter your Azure API key, deployment name, endpoint name and API version.

azure

pipeline = client.pipelines.upsert(
name="test-pipeline",
project_id="my-project-id",
data_sink_id=None, # optional
embedding_config={
'type': 'AZURE_EMBEDDING',
'component': {
'azure_deployment': '<YOUR_DEPLOYMENT_NAME>', # editable
'api_key': '<YOUR_AZUREOPENAI_API_KEY>', # editable
'azure_endpoint': '<YOUR AZURE_ENDPOINT>', # editable
'api_version': '<YOUR AZURE_API_VERSION>', # editable
},
},
llama_parse_parameters={},
transform_config={"mode": "auto", "chunk_overlap": 128, "chunk_size": 1028},
)