interactions:
- request:
    body: null
    headers:
      Accept:
      - application/json
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - promptflow-sdk/0.0.1 azure-ai-ml/1.12.0 azsdk-python-mgmt-machinelearningservices/0.1.0
        Python/3.11.5 (Windows-10-10.0.22621-SP0)
    method: GET
    uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000
  response:
    body:
      string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000",
        "name": "00000", "type": "Microsoft.MachineLearningServices/workspaces", "location":
        "eastus", "tags": {}, "etag": null, "kind": "Default", "sku": {"name": "Basic",
        "tier": "Basic"}, "properties": {"discoveryUrl": "https://eastus.api.azureml.ms/discovery"}}'
    headers:
      cache-control:
      - no-cache
      content-length:
      - '3630'
      content-type:
      - application/json; charset=utf-8
      expires:
      - '-1'
      pragma:
      - no-cache
      strict-transport-security:
      - max-age=31536000; includeSubDomains
      transfer-encoding:
      - chunked
      vary:
      - Accept-Encoding,Accept-Encoding
      x-content-type-options:
      - nosniff
      x-request-time:
      - '0.033'
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - application/json
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - promptflow-sdk/0.0.1 azure-ai-ml/1.12.0 azsdk-python-mgmt-machinelearningservices/0.1.0
        Python/3.11.5 (Windows-10-10.0.22621-SP0)
    method: GET
    uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/datastores?count=30&isDefault=true&orderByAsc=false
  response:
    body:
      string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/datastores/workspaceblobstore",
        "name": "workspaceblobstore", "type": "Microsoft.MachineLearningServices/workspaces/datastores",
        "properties": {"description": null, "tags": null, "properties": null, "isDefault":
        true, "credentials": {"credentialsType": "AccountKey"}, "intellectualProperty":
        null, "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroup":
        "00000", "datastoreType": "AzureBlob", "accountName": "fake_account_name",
        "containerName": "fake-container-name", "endpoint": "core.windows.net", "protocol":
        "https", "serviceDataAccessAuthIdentity": "WorkspaceSystemAssignedIdentity"},
        "systemData": {"createdAt": "2023-04-08T02:53:06.5886442+00:00", "createdBy":
        "779301c0-18b2-4cdc-801b-a0a3368fee0a", "createdByType": "Application", "lastModifiedAt":
        "2023-04-08T02:53:07.521127+00:00", "lastModifiedBy": "779301c0-18b2-4cdc-801b-a0a3368fee0a",
        "lastModifiedByType": "Application"}}]}'
    headers:
      cache-control:
      - no-cache
      content-length:
      - '1372'
      content-type:
      - application/json; charset=utf-8
      expires:
      - '-1'
      pragma:
      - no-cache
      strict-transport-security:
      - max-age=31536000; includeSubDomains
      transfer-encoding:
      - chunked
      vary:
      - Accept-Encoding,Accept-Encoding
      x-content-type-options:
      - nosniff
      x-request-time:
      - '0.057'
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - application/json
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - promptflow-sdk/0.0.1 azure-ai-ml/1.12.0 azsdk-python-mgmt-machinelearningservices/0.1.0
        Python/3.11.5 (Windows-10-10.0.22621-SP0)
    method: GET
    uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/datastores/workspaceblobstore
  response:
    body:
      string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/datastores/workspaceblobstore",
        "name": "workspaceblobstore", "type": "Microsoft.MachineLearningServices/workspaces/datastores",
        "properties": {"description": null, "tags": null, "properties": null, "isDefault":
        true, "credentials": {"credentialsType": "AccountKey"}, "intellectualProperty":
        null, "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroup":
        "00000", "datastoreType": "AzureBlob", "accountName": "fake_account_name",
        "containerName": "fake-container-name", "endpoint": "core.windows.net", "protocol":
        "https", "serviceDataAccessAuthIdentity": "WorkspaceSystemAssignedIdentity"},
        "systemData": {"createdAt": "2023-04-08T02:53:06.5886442+00:00", "createdBy":
        "779301c0-18b2-4cdc-801b-a0a3368fee0a", "createdByType": "Application", "lastModifiedAt":
        "2023-04-08T02:53:07.521127+00:00", "lastModifiedBy": "779301c0-18b2-4cdc-801b-a0a3368fee0a",
        "lastModifiedByType": "Application"}}'
    headers:
      cache-control:
      - no-cache
      content-length:
      - '1227'
      content-type:
      - application/json; charset=utf-8
      expires:
      - '-1'
      pragma:
      - no-cache
      strict-transport-security:
      - max-age=31536000; includeSubDomains
      transfer-encoding:
      - chunked
      vary:
      - Accept-Encoding,Accept-Encoding
      x-content-type-options:
      - nosniff
      x-request-time:
      - '0.077'
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - application/json
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '0'
      User-Agent:
      - promptflow-sdk/0.0.1 azure-ai-ml/1.12.0 azsdk-python-mgmt-machinelearningservices/0.1.0
        Python/3.11.5 (Windows-10-10.0.22621-SP0)
    method: POST
    uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/datastores/workspaceblobstore/listSecrets
  response:
    body:
      string: '{"secretsType": "AccountKey", "key": "dGhpcyBpcyBmYWtlIGtleQ=="}'
    headers:
      cache-control:
      - no-cache
      content-length:
      - '134'
      content-type:
      - application/json; charset=utf-8
      expires:
      - '-1'
      pragma:
      - no-cache
      strict-transport-security:
      - max-age=31536000; includeSubDomains
      transfer-encoding:
      - chunked
      vary:
      - Accept-Encoding
      x-content-type-options:
      - nosniff
      x-request-time:
      - '0.124'
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - application/xml
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - azsdk-python-storage-blob/12.19.0 Python/3.11.5 (Windows-10-10.0.22621-SP0)
      x-ms-date:
      - Wed, 17 Jan 2024 10:12:02 GMT
      x-ms-version:
      - '2023-11-03'
    method: HEAD
    uri: https://fake_account_name.blob.core.windows.net/fake-container-name/LocalUpload/000000000000000000000000000000000000/env_var_names.jsonl
  response:
    body:
      string: ''
    headers:
      accept-ranges:
      - bytes
      content-length:
      - '49'
      content-md5:
      - quXiEreYvPinSj0HsaNa/g==
      content-type:
      - application/octet-stream
      last-modified:
      - Wed, 08 Nov 2023 04:26:09 GMT
      server:
      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
      vary:
      - Origin
      x-ms-blob-type:
      - BlockBlob
      x-ms-creation-time:
      - Wed, 08 Nov 2023 04:26:09 GMT
      x-ms-meta-name:
      - c4092674-5e53-4c17-b78d-75353ae0edb6
      x-ms-meta-upload_status:
      - completed
      x-ms-meta-version:
      - 579021dc-8ac8-4c73-8110-4642bd00c69b
      x-ms-version:
      - '2023-11-03'
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - application/xml
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - azsdk-python-storage-blob/12.19.0 Python/3.11.5 (Windows-10-10.0.22621-SP0)
      x-ms-date:
      - Wed, 17 Jan 2024 10:12:08 GMT
      x-ms-version:
      - '2023-11-03'
    method: HEAD
    uri: https://fake_account_name.blob.core.windows.net/fake-container-name/az-ml-artifacts/000000000000000000000000000000000000/env_var_names.jsonl
  response:
    body:
      string: ''
    headers:
      server:
      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
      transfer-encoding:
      - chunked
      vary:
      - Origin
      x-ms-error-code:
      - BlobNotFound
      x-ms-version:
      - '2023-11-03'
    status:
      code: 404
      message: The specified blob does not exist.
- request:
    body: null
    headers:
      Accept:
      - application/json
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - promptflow-sdk/0.0.1 azure-ai-ml/1.12.0 azsdk-python-mgmt-machinelearningservices/0.1.0
        Python/3.11.5 (Windows-10-10.0.22621-SP0)
    method: GET
    uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/datastores/workspaceblobstore
  response:
    body:
      string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/datastores/workspaceblobstore",
        "name": "workspaceblobstore", "type": "Microsoft.MachineLearningServices/workspaces/datastores",
        "properties": {"description": null, "tags": null, "properties": null, "isDefault":
        true, "credentials": {"credentialsType": "AccountKey"}, "intellectualProperty":
        null, "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroup":
        "00000", "datastoreType": "AzureBlob", "accountName": "fake_account_name",
        "containerName": "fake-container-name", "endpoint": "core.windows.net", "protocol":
        "https", "serviceDataAccessAuthIdentity": "WorkspaceSystemAssignedIdentity"},
        "systemData": {"createdAt": "2023-04-08T02:53:06.5886442+00:00", "createdBy":
        "779301c0-18b2-4cdc-801b-a0a3368fee0a", "createdByType": "Application", "lastModifiedAt":
        "2023-04-08T02:53:07.521127+00:00", "lastModifiedBy": "779301c0-18b2-4cdc-801b-a0a3368fee0a",
        "lastModifiedByType": "Application"}}'
    headers:
      cache-control:
      - no-cache
      content-length:
      - '1227'
      content-type:
      - application/json; charset=utf-8
      expires:
      - '-1'
      pragma:
      - no-cache
      strict-transport-security:
      - max-age=31536000; includeSubDomains
      transfer-encoding:
      - chunked
      vary:
      - Accept-Encoding,Accept-Encoding
      x-content-type-options:
      - nosniff
      x-request-time:
      - '0.072'
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - application/json
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '0'
      User-Agent:
      - promptflow-sdk/0.0.1 azure-ai-ml/1.12.0 azsdk-python-mgmt-machinelearningservices/0.1.0
        Python/3.11.5 (Windows-10-10.0.22621-SP0)
    method: POST
    uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/datastores/workspaceblobstore/listSecrets
  response:
    body:
      string: '{"secretsType": "AccountKey", "key": "dGhpcyBpcyBmYWtlIGtleQ=="}'
    headers:
      cache-control:
      - no-cache
      content-length:
      - '134'
      content-type:
      - application/json; charset=utf-8
      expires:
      - '-1'
      pragma:
      - no-cache
      strict-transport-security:
      - max-age=31536000; includeSubDomains
      transfer-encoding:
      - chunked
      vary:
      - Accept-Encoding
      x-content-type-options:
      - nosniff
      x-request-time:
      - '0.120'
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - application/xml
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - azsdk-python-storage-blob/12.19.0 Python/3.11.5 (Windows-10-10.0.22621-SP0)
      x-ms-date:
      - Wed, 17 Jan 2024 10:12:11 GMT
      x-ms-version:
      - '2023-11-03'
    method: HEAD
    uri: https://fake_account_name.blob.core.windows.net/fake-container-name/LocalUpload/000000000000000000000000000000000000/flow_with_requirements_txt/flow.dag.yaml
  response:
    body:
      string: ''
    headers:
      accept-ranges:
      - bytes
      content-length:
      - '304'
      content-md5:
      - FfuwUh4d2qJABbXwj4ACMA==
      content-type:
      - application/octet-stream
      last-modified:
      - Wed, 17 Jan 2024 09:33:34 GMT
      server:
      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
      vary:
      - Origin
      x-ms-blob-type:
      - BlockBlob
      x-ms-creation-time:
      - Wed, 17 Jan 2024 09:33:33 GMT
      x-ms-meta-name:
      - 170072d0-60d9-4d21-8c3d-5ac5f8434bb9
      x-ms-meta-upload_status:
      - completed
      x-ms-meta-version:
      - '1'
      x-ms-version:
      - '2023-11-03'
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - application/xml
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - azsdk-python-storage-blob/12.19.0 Python/3.11.5 (Windows-10-10.0.22621-SP0)
      x-ms-date:
      - Wed, 17 Jan 2024 10:12:16 GMT
      x-ms-version:
      - '2023-11-03'
    method: HEAD
    uri: https://fake_account_name.blob.core.windows.net/fake-container-name/az-ml-artifacts/000000000000000000000000000000000000/flow_with_requirements_txt/flow.dag.yaml
  response:
    body:
      string: ''
    headers:
      server:
      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
      transfer-encoding:
      - chunked
      vary:
      - Origin
      x-ms-error-code:
      - BlobNotFound
      x-ms-version:
      - '2023-11-03'
    status:
      code: 404
      message: The specified blob does not exist.
- request:
    body: '{"flowDefinitionDataStoreName": "workspaceblobstore", "flowDefinitionBlobPath":
      "LocalUpload/000000000000000000000000000000000000/flow_with_requirements_txt/flow.dag.yaml",
      "runId": "name", "runDisplayName": "name", "runExperimentName": "", "batchDataInput":
      {"dataUri": "azureml://datastores/workspaceblobstore/paths/LocalUpload/000000000000000000000000000000000000/env_var_names.jsonl"},
      "inputsMapping": {}, "connections": {}, "environmentVariables": {}, "runtimeName":
      "fake-runtime-name", "sessionId": "000000000000000000000000000000000000000000000000",
      "sessionSetupMode": "SystemWait", "flowLineageId": "0000000000000000000000000000000000000000000000000000000000000000",
      "runDisplayNameGenerationType": "UserProvidedMacro"}'
    headers:
      Accept:
      - application/json
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '804'
      Content-Type:
      - application/json
      User-Agent:
      - promptflow-sdk/0.0.1 azsdk-python-azuremachinelearningdesignerserviceclient/unknown
        Python/3.11.5 (Windows-10-10.0.22621-SP0)
    method: POST
    uri: https://eastus.api.azureml.ms/flow/api/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/BulkRuns/submit
  response:
    body:
      string: '"name"'
    headers:
      connection:
      - keep-alive
      content-length:
      - '38'
      content-type:
      - application/json; charset=utf-8
      strict-transport-security:
      - max-age=15724800; includeSubDomains; preload
      x-content-type-options:
      - nosniff
      x-request-time:
      - '18.617'
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - application/json
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - promptflow-sdk/0.0.1 azsdk-python-azuremachinelearningdesignerserviceclient/unknown
        Python/3.11.5 (Windows-10-10.0.22621-SP0)
    method: GET
    uri: https://eastus.api.azureml.ms/flow/api/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/BulkRuns/name
  response:
    body:
      string: '{"flowGraph": {"nodes": [{"name": "print_env", "type": "python", "source":
        {"type": "code", "path": "print_env.py"}, "inputs": {"key": "${inputs.key}"},
        "tool": "print_env.py", "reduce": false}], "tools": [{"name": "Azure OpenAI
        GPT-4 Turbo with Vision", "type": "custom_llm", "inputs": {"connection": {"type":
        ["AzureOpenAIConnection"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "deployment_name": {"type": ["string"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "frequency_penalty":
        {"type": ["double"], "default": 0, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "max_tokens": {"type": ["int"], "default":
        512, "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "default"}, "presence_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "stop": {"type":
        ["list"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "temperature": {"type": ["double"], "default": 1,
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "top_p": {"type": ["double"], "default": 1, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}}, "description": "Use Azure OpenAI GPT-4 Turbo
        with Vision to leverage AOAI vision ability.", "module": "promptflow.tools.aoai_gpt4v",
        "class_name": "AzureOpenAI", "function": "chat", "icon": {"dark": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA2ElEQVR4nJXSzW3CQBAF4DUSTjk+Al1AD0ikESslpBIEheRALhEpgAYSWV8OGUublf/yLuP3PPNmdndS+gdwXZrYDmh7fGE/W+wXbaYd8IYm4rxJPnZ0boI3wZcdJxs/n+AwV7DFK7aFyfQdYIMLPvES8YJNf5yp4jMeeEYdWh38gXOR35YGHe5xabvQdsHv6PLi8qV6gycc8YH3iMfQu6Lh4ASr+F5Hh3XwVWnQYzUkVlX1nccplAb1SN6Y/sfgmlK64VS8wimldIv/0yj2QLkHizG0iWP4AVAfQ34DVQONAAAAAElFTkSuQmCC",
        "light": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAx0lEQVR4nJWSwQ2CQBBFX0jAcjgqXUgPJNiIsQQrIVCIFy8GC6ABDcGDX7Mus9n1Xz7zZ+fPsLPwH4bUg0dD2wMPcbR48Uxq4AKU4iSTDwZ1LhWXipN/B3V0J6hjBTvgLHZNonewBXrgDpzEvXSIjN0BE3AACmmF4kl5F6tNzcCoLpW0SvGovFvsb4oZ2AANcAOu4ka6axCcINN3rg654sww+CYsPD0OwjcozFNh/Qcd78tqVbCIW+n+Fky472Bh/Q6SYb1EEy8tDzd+9IsVPAAAAABJRU5ErkJggg=="},
        "is_builtin": true, "package": "promptflow-tools", "package_version": "1.0.3",
        "default_prompt": "# system:\nAs an AI assistant, your task involves interpreting
        images and responding to questions about the image.\nRemember to provide accurate
        answers based on the information present in the image.\n\n# user:\nCan you
        tell me what the image depicts?\n![image]({{image_input}})\n", "enable_kwargs":
        false, "tool_state": "preview"}, {"name": "Content Safety (Text Analyze)",
        "type": "python", "inputs": {"connection": {"type": ["AzureContentSafetyConnection"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "hate_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
        ["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "self_harm_category": {"type": ["string"], "default": "medium_sensitivity",
        "enum": ["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "sexual_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
        ["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "text": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "violence_category": {"type": ["string"],
        "default": "medium_sensitivity", "enum": ["disable", "low_sensitivity", "medium_sensitivity",
        "high_sensitivity"], "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}}, "description": "Use Azure Content Safety to detect
        harmful content.", "module": "promptflow.tools.azure_content_safety", "function":
        "analyze_text", "is_builtin": true, "package": "promptflow-tools", "package_version":
        "1.0.3", "enable_kwargs": false, "deprecated_tools": ["content_safety_text.tools.content_safety_text_tool.analyze_text"],
        "tool_state": "stable"}, {"name": "Embedding", "type": "python", "inputs":
        {"connection": {"type": ["AzureOpenAIConnection", "OpenAIConnection"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "deployment_name":
        {"type": ["string"], "enabled_by": "connection", "enabled_by_type": ["AzureOpenAIConnection"],
        "model_list": ["text-embedding-ada-002", "text-search-ada-doc-001", "text-search-ada-query-001"],
        "capabilities": {"completion": false, "chat_completion": false, "embeddings":
        true}, "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "default"}, "input": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "model": {"type": ["string"], "enum": ["text-embedding-ada-002",
        "text-search-ada-doc-001", "text-search-ada-query-001"], "enabled_by": "connection",
        "enabled_by_type": ["OpenAIConnection"], "allow_manual_entry": true, "is_multi_select":
        false, "input_type": "default"}}, "description": "Use Open AI''s embedding
        model to create an embedding vector representing the input text.", "module":
        "promptflow.tools.embedding", "function": "embedding", "is_builtin": true,
        "package": "promptflow-tools", "package_version": "1.0.3", "enable_kwargs":
        false, "tool_state": "stable"}, {"name": "Open Model LLM", "type": "custom_llm",
        "inputs": {"api": {"type": ["string"], "enum": ["chat", "completion"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "deployment_name":
        {"type": ["string"], "default": "", "dynamic_list": {"func_path": "promptflow.tools.open_model_llm.list_deployment_names",
        "func_kwargs": [{"name": "endpoint", "optional": true, "reference": "${inputs.endpoint}",
        "type": ["string"]}]}, "allow_manual_entry": true, "is_multi_select": false,
        "input_type": "default"}, "endpoint_name": {"type": ["string"], "dynamic_list":
        {"func_path": "promptflow.tools.open_model_llm.list_endpoint_names"}, "allow_manual_entry":
        true, "is_multi_select": false, "input_type": "default"}, "max_new_tokens":
        {"type": ["int"], "default": 500, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "model_kwargs": {"type": ["object"], "default":
        "{}", "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "default", "advanced": true}, "temperature": {"type": ["double"], "default":
        1.0, "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "default"}, "top_p": {"type": ["double"], "default": 1.0, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default", "advanced": true}},
        "description": "Use an open model from the Azure Model catalog, deployed to
        an AzureML Online Endpoint for LLM Chat or Completion API calls.", "module":
        "promptflow.tools.open_model_llm", "class_name": "OpenModelLLM", "function":
        "call", "icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACgElEQVR4nGWSz2vcVRTFP/e9NzOZ1KDGohASslLEH6VLV0ak4l/QpeDCrfQPcNGliODKnVm4EBdBsIjQIlhciKW0ycKFVCSNbYnjdDLtmPnmO/nO9917XcxMkjYX3uLx7nnn3HOuMK2Nix4fP78ZdrYXVkLVWjf3l3B1B+HpcjzGFtmqa6cePz7/x0dnn1n5qhj3iBJPYREIURAJuCtpY8PjReDbrf9WG7H1fuefwQU9qKztTcMJT+PNnEFvjGVDBDlSsH6p/9MLzy6+NxwVqI8RAg4IPmWedMckdLYP6O6UpIaQfvyyXG012+e79/ZfHukoS1ISMT2hGTB1RkUmNgQ5QZ0w+a2VWDq73MbdEWmfnnv6UWe7oNzPaLapl5CwuLTXK9WUGBuCjqekzhP+z52ZXOrKMD3OJg0Hh778aiOuvpnYvp05d6GJO4iAO4QAe/eV36/X5LFRV4Zmn+AdkqlL8Vjp3oVioOz+WTPzzYEgsN+fgPLYyJVheSbPPVl2ikeGZRjtG52/8rHuaV9VOlpP2OtKyVndcRVCSqOhsvxa4vW359i6OuKdD+aP8Q4SYPdOzS/flGjt1JUSaMqZ5nwa1Y8qWb/Ud/eZZkHisYezEM0m+fcelDr8F1SqW2LNK6r1jXQwyLzy1hxvrLXZulry7ocL+FS6G4QIu3fG/Px1gdYeW7LIgXU2P/115TOA5G7e3Rmj2aS/m7l5pThiZzrCcE/d1XHzbln373nw7y6veeoUm5KCNKT/IPPwbiY1hYd/l5MIT65BMFt87sU4v9D7/JMflr44uV6hGh1+L4RCkg6z5iK2tAhNLeLsNGwYA4fDYnC/drvuuFxe86NV/x+Ut27g0FvykgAAAABJRU5ErkJggg==",
        "is_builtin": true, "package": "promptflow-tools", "package_version": "1.0.3",
        "enable_kwargs": false, "tool_state": "stable"}, {"name": "OpenAI GPT-4V",
        "type": "custom_llm", "inputs": {"connection": {"type": ["OpenAIConnection"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "frequency_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "max_tokens": {"type":
        ["int"], "default": 512, "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "model": {"type": ["string"], "enum": ["gpt-4-vision-preview"],
        "allow_manual_entry": true, "is_multi_select": false, "input_type": "default"},
        "presence_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "stop": {"type":
        ["list"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "temperature": {"type": ["double"], "default": 1,
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "top_p": {"type": ["double"], "default": 1, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}}, "description": "Use OpenAI GPT-4V to leverage
        vision ability.", "module": "promptflow.tools.openai_gpt4v", "class_name":
        "OpenAI", "function": "chat", "icon": {"dark": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA2ElEQVR4nJXSzW3CQBAF4DUSTjk+Al1AD0ikESslpBIEheRALhEpgAYSWV8OGUublf/yLuP3PPNmdndS+gdwXZrYDmh7fGE/W+wXbaYd8IYm4rxJPnZ0boI3wZcdJxs/n+AwV7DFK7aFyfQdYIMLPvES8YJNf5yp4jMeeEYdWh38gXOR35YGHe5xabvQdsHv6PLi8qV6gycc8YH3iMfQu6Lh4ASr+F5Hh3XwVWnQYzUkVlX1nccplAb1SN6Y/sfgmlK64VS8wimldIv/0yj2QLkHizG0iWP4AVAfQ34DVQONAAAAAElFTkSuQmCC",
        "light": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAx0lEQVR4nJWSwQ2CQBBFX0jAcjgqXUgPJNiIsQQrIVCIFy8GC6ABDcGDX7Mus9n1Xz7zZ+fPsLPwH4bUg0dD2wMPcbR48Uxq4AKU4iSTDwZ1LhWXipN/B3V0J6hjBTvgLHZNonewBXrgDpzEvXSIjN0BE3AACmmF4kl5F6tNzcCoLpW0SvGovFvsb4oZ2AANcAOu4ka6axCcINN3rg654sww+CYsPD0OwjcozFNh/Qcd78tqVbCIW+n+Fky472Bh/Q6SYb1EEy8tDzd+9IsVPAAAAABJRU5ErkJggg=="},
        "is_builtin": true, "package": "promptflow-tools", "package_version": "1.0.3",
        "default_prompt": "# system:\nAs an AI assistant, your task involves interpreting
        images and responding to questions about the image.\nRemember to provide accurate
        answers based on the information present in the image.\n\n# user:\nCan you
        tell me what the image depicts?\n![image]({{image_input}})\n", "enable_kwargs":
        false, "tool_state": "preview"}, {"name": "Serp API", "type": "python", "inputs":
        {"connection": {"type": ["SerpConnection"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "engine": {"type": ["string"], "default":
        "google", "enum": ["google", "bing"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "location": {"type": ["string"], "default":
        "", "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "num": {"type": ["int"], "default": "10", "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "query": {"type": ["string"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "safe": {"type":
        ["string"], "default": "off", "enum": ["active", "off"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}}, "description":
        "Use Serp API to obtain search results from a specific search engine.", "module":
        "promptflow.tools.serpapi", "class_name": "SerpAPI", "function": "search",
        "is_builtin": true, "package": "promptflow-tools", "package_version": "1.0.3",
        "enable_kwargs": false, "tool_state": "stable"}, {"name": "Index Lookup",
        "type": "python", "inputs": {"acs_content_field": {"type": ["string"], "enabled_by":
        "index_type", "enabled_by_value": ["Azure AI Search"], "dynamic_list": {"func_path":
        "promptflow_vectordb.tool.common_index_lookup_utils.list_acs_index_fields",
        "func_kwargs": [{"name": "acs_connection", "optional": false, "reference":
        "${inputs.acs_index_connection}", "type": ["CognitiveSearchConnection"]},
        {"name": "acs_index_name", "optional": false, "reference": "${inputs.acs_index_name}",
        "type": ["string"]}, {"default": "Edm.String", "name": "field_data_type",
        "optional": false, "type": ["string"]}]}, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "uionly_hidden"}, "acs_embedding_field": {"type": ["string"],
        "enabled_by": "index_type", "enabled_by_value": ["Azure AI Search"], "dynamic_list":
        {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_acs_index_fields",
        "func_kwargs": [{"name": "acs_connection", "optional": false, "reference":
        "${inputs.acs_index_connection}", "type": ["CognitiveSearchConnection"]},
        {"name": "acs_index_name", "optional": false, "reference": "${inputs.acs_index_name}",
        "type": ["string"]}, {"default": "Collection(Edm.Single)", "name": "field_data_type",
        "optional": false, "type": ["string"]}]}, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "uionly_hidden"}, "acs_index_connection": {"type": ["CognitiveSearchConnection"],
        "enabled_by": "index_type", "enabled_by_value": ["Azure AI Search"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "uionly_hidden"}, "acs_index_name":
        {"type": ["string"], "enabled_by": "index_type", "enabled_by_value": ["Azure
        AI Search"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_acs_indices",
        "func_kwargs": [{"name": "acs_connection", "optional": false, "reference":
        "${inputs.acs_index_connection}", "type": ["CognitiveSearchConnection"]}]},
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "acs_metadata_field": {"type": ["string"], "enabled_by": "index_type", "enabled_by_value":
        ["Azure AI Search"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_acs_index_fields",
        "func_kwargs": [{"name": "acs_connection", "optional": false, "reference":
        "${inputs.acs_index_connection}", "type": ["CognitiveSearchConnection"]},
        {"name": "acs_index_name", "optional": false, "reference": "${inputs.acs_index_name}",
        "type": ["string"]}, {"default": "Edm.String", "name": "field_data_type",
        "optional": false, "type": ["string"]}]}, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "uionly_hidden"}, "aoai_embedding_connection": {"type":
        ["AzureOpenAIConnection"], "enabled_by": "embedding_type", "enabled_by_value":
        ["Azure OpenAI"], "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "uionly_hidden"}, "embedding_deployment": {"type": ["string"], "enabled_by":
        "embedding_type", "enabled_by_value": ["Azure OpenAI"], "dynamic_list": {"func_path":
        "promptflow_vectordb.tool.common_index_lookup_utils.list_aoai_embedding_deployments",
        "func_kwargs": [{"name": "aoai_connection", "optional": false, "reference":
        "${inputs.aoai_embedding_connection}", "type": ["AzurOpenAIConnection"]}]},
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "embedding_model": {"type": ["string"], "enabled_by": "embedding_type", "enabled_by_value":
        ["OpenAI", "Hugging Face"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_embedding_models",
        "func_kwargs": [{"name": "embedding_type", "optional": false, "reference":
        "${inputs.embedding_type}", "type": ["string"]}]}, "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "uionly_hidden"}, "embedding_type":
        {"type": ["string"], "enabled_by": "index_type", "enabled_by_value": ["Azure
        AI Search", "FAISS", "Pinecone"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_available_embedding_types",
        "func_kwargs": [{"name": "index_type", "optional": false, "reference": "${inputs.index_type}",
        "type": ["string"]}]}, "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "uionly_hidden"}, "faiss_index_path": {"type": ["string"], "enabled_by":
        "index_type", "enabled_by_value": ["FAISS"], "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "uionly_hidden"}, "index_type": {"type":
        ["string"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_available_index_types"},
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "mlindex_asset_id": {"type": ["string"], "enabled_by": "index_type", "enabled_by_value":
        ["Registered Index"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_registered_mlindices"},
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "mlindex_content": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
        false, "generated_by": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.forward_mapping",
        "func_kwargs": [{"name": "index_type", "reference": "${inputs.index_type}",
        "type": ["string"]}, {"name": "mlindex_asset_id", "optional": true, "reference":
        "${inputs.mlindex_asset_id}", "type": ["string"]}, {"name": "mlindex_path",
        "optional": true, "reference": "${inputs.mlindex_path}", "type": ["string"]},
        {"name": "acs_index_connection", "optional": true, "reference": "${inputs.acs_index_connection}",
        "type": ["CognitiveSearchConnection"]}, {"name": "acs_index_name", "optional":
        true, "reference": "${inputs.acs_index_name}", "type": ["string"]}, {"name":
        "acs_content_field", "optional": true, "reference": "${inputs.acs_content_field}",
        "type": ["string"]}, {"name": "acs_embedding_field", "optional": true, "reference":
        "${inputs.acs_embedding_field}", "type": ["string"]}, {"name": "acs_metadata_field",
        "optional": true, "reference": "${inputs.acs_metadata_field}", "type": ["string"]},
        {"name": "semantic_configuration", "optional": true, "reference": "${inputs.semantic_configuration}",
        "type": ["string"]}, {"name": "faiss_index_path", "optional": true, "reference":
        "${inputs.faiss_index_path}", "type": ["string"]}, {"name": "pinecone_index_connection",
        "optional": true, "reference": "${inputs.pinecone_index_connection}", "type":
        ["string"]}, {"name": "pinecone_index_name", "optional": true, "reference":
        "${inputs.pinecone_index_name}", "type": ["string"]}, {"name": "pinecone_content_field",
        "optional": true, "reference": "${inputs.pinecone_content_field}", "type":
        ["string"]}, {"name": "pinecone_metadata_field", "optional": true, "reference":
        "${inputs.pinecone_metadata_field}", "type": ["string"]}, {"name": "embedding_type",
        "optional": true, "reference": "${inputs.embedding_type}", "type": ["string"]},
        {"name": "aoai_embedding_connection", "optional": true, "reference": "${inputs.aoai_embedding_connection}",
        "type": ["AzureOpenAIConnection"]}, {"name": "oai_embedding_connection", "optional":
        true, "reference": "${inputs.oai_embedding_connection}", "type": ["string"]},
        {"name": "embedding_model", "optional": true, "reference": "${inputs.embedding_model}",
        "type": ["string"]}, {"name": "embedding_deployment", "optional": true, "reference":
        "${inputs.embedding_deployment}", "type": ["string"]}], "reverse_func_path":
        "promptflow_vectordb.tool.common_index_lookup_utils.reverse_mapping"}, "input_type":
        "default"}, "mlindex_path": {"type": ["string"], "enabled_by": "index_type",
        "enabled_by_value": ["MLIndex file from path"], "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "uionly_hidden"}, "oai_embedding_connection":
        {"type": ["OpenAIConnection"], "enabled_by": "embedding_type", "enabled_by_value":
        ["OpenAI"], "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "uionly_hidden"}, "pinecone_content_field": {"type": ["string"], "enabled_by":
        "index_type", "enabled_by_value": ["Pinecone"], "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "uionly_hidden"}, "pinecone_index_connection":
        {"type": ["PineconeConnection"], "enabled_by": "index_type", "enabled_by_value":
        ["Pinecone"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_pinecone_connections"},
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "pinecone_index_name": {"type": ["string"], "enabled_by": "index_type", "enabled_by_value":
        ["Pinecone"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_pinecone_indices",
        "func_kwargs": [{"name": "pinecone_connection_name", "optional": false, "reference":
        "${inputs.pinecone_index_connection}", "type": ["string"]}]}, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "uionly_hidden"}, "pinecone_metadata_field":
        {"type": ["string"], "enabled_by": "index_type", "enabled_by_value": ["Pinecone"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "queries": {"type": ["object"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "query_type": {"type": ["string"], "dynamic_list":
        {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_available_query_types",
        "func_kwargs": [{"name": "mlindex_content", "optional": false, "reference":
        "${inputs.mlindex_content}", "type": ["string"]}]}, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "semantic_configuration":
        {"type": ["string"], "enabled_by": "index_type", "enabled_by_value": ["Azure
        AI Search"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_acs_index_semantic_configurations",
        "func_kwargs": [{"name": "acs_connection", "optional": false, "reference":
        "${inputs.acs_index_connection}", "type": ["CognitiveSearchConnection"]},
        {"name": "acs_index_name", "optional": false, "reference": "${inputs.acs_index_name}",
        "type": ["string"]}]}, "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "uionly_hidden"}, "top_k": {"type": ["int"], "default": 3, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}}, "description":
        "Search an AzureML Vector Index for relevant results using one or more text
        queries.", "module": "promptflow_vectordb.tool.common_index_lookup", "function":
        "search", "is_builtin": true, "package": "promptflow-vectordb", "package_version":
        "0.0.1", "enable_kwargs": false, "tool_state": "preview"}, {"name": "Faiss
        Index Lookup", "type": "python", "inputs": {"path": {"type": ["string"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "top_k": {"type":
        ["int"], "default": "3", "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "vector": {"type": ["list"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}}, "description":
        "Search vector based query from the FAISS index file.", "module": "promptflow_vectordb.tool.faiss_index_lookup",
        "class_name": "FaissIndexLookup", "function": "search", "is_builtin": true,
        "package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
        false, "tool_state": "stable"}, {"name": "Vector DB Lookup", "type": "python",
        "inputs": {"class_name": {"type": ["string"], "enabled_by": "connection",
        "enabled_by_type": ["WeaviateConnection"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "collection_name": {"type": ["string"], "enabled_by":
        "connection", "enabled_by_type": ["QdrantConnection"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "connection": {"type":
        ["CognitiveSearchConnection", "QdrantConnection", "WeaviateConnection"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "index_name": {"type":
        ["string"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "search_filters": {"type": ["object"], "enabled_by": "connection", "enabled_by_type":
        ["CognitiveSearchConnection", "QdrantConnection"], "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "default"}, "search_params": {"type":
        ["object"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection",
        "QdrantConnection"], "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "text_field": {"type": ["string"], "enabled_by":
        "connection", "enabled_by_type": ["CognitiveSearchConnection", "QdrantConnection",
        "WeaviateConnection"], "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "top_k": {"type": ["int"], "default": "3", "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "vector": {"type":
        ["list"], "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "default"}, "vector_field": {"type": ["string"], "enabled_by": "connection",
        "enabled_by_type": ["CognitiveSearchConnection"], "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "default"}}, "description": "Search
        vector based query from existing Vector Database.", "module": "promptflow_vectordb.tool.vector_db_lookup",
        "class_name": "VectorDBLookup", "function": "search", "is_builtin": true,
        "package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
        false, "tool_state": "stable"}, {"name": "Vector Index Lookup", "type": "python",
        "inputs": {"path": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "query": {"type": ["object"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "top_k": {"type":
        ["int"], "default": "3", "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}}, "description": "Search text or vector based query
        from AzureML Vector Index.", "module": "promptflow_vectordb.tool.vector_index_lookup",
        "class_name": "VectorIndexLookup", "function": "search", "is_builtin": true,
        "package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
        false, "tool_state": "stable"}, {"name": "print_env.py", "type": "python",
        "inputs": {"key": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}}, "source": "print_env.py", "function": "get_env_var",
        "is_builtin": false, "enable_kwargs": false, "tool_state": "stable"}], "inputs":
        {"key": {"type": "string", "is_chat_input": false}}, "outputs": {"output":
        {"type": "string", "reference": "${print_env.output.value}", "evaluation_only":
        false, "is_chat_output": false}}}, "flowRunResourceId": "azureml://locations/eastus/workspaces/00000/flows/name/flowRuns/name",
        "flowRunId": "name", "flowRunDisplayName": "name", "batchDataInput": {"dataUri":
        "azureml://datastores/workspaceblobstore/paths/LocalUpload/c32a61842e439cecc022ebcff5dc0da4/env_var_names.jsonl"},
        "flowRunType": "FlowRun", "flowType": "Default", "runtimeName": "automatic",
        "inputsMapping": {}, "outputDatastoreName": "workspaceblobstore", "childRunBasePath":
        "promptflow/PromptFlowArtifacts/name/flow_artifacts", "flowDagFileRelativePath":
        "flow.dag.yaml", "flowSnapshotId": "031ac559-2433-4b4b-87e5-1aa6a1170995",
        "studioPortalEndpoint": "https://ml.azure.com/runs/name?wsid=/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000"}'
    headers:
      connection:
      - keep-alive
      content-length:
      - '26109'
      content-type:
      - application/json; charset=utf-8
      strict-transport-security:
      - max-age=15724800; includeSubDomains; preload
      transfer-encoding:
      - chunked
      vary:
      - Accept-Encoding
      x-content-type-options:
      - nosniff
      x-request-time:
      - '1.629'
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - application/json
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - promptflow-sdk/0.0.1 azsdk-python-azuremachinelearningdesignerserviceclient/unknown
        Python/3.11.5 (Windows-10-10.0.22621-SP0)
    method: GET
    uri: https://eastus.api.azureml.ms/flow/api/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/BulkRuns/name
  response:
    body:
      string: '{"flowGraph": {"nodes": [{"name": "print_env", "type": "python", "source":
        {"type": "code", "path": "print_env.py"}, "inputs": {"key": "${inputs.key}"},
        "tool": "print_env.py", "reduce": false}], "tools": [{"name": "Azure OpenAI
        GPT-4 Turbo with Vision", "type": "custom_llm", "inputs": {"connection": {"type":
        ["AzureOpenAIConnection"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "deployment_name": {"type": ["string"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "frequency_penalty":
        {"type": ["double"], "default": 0, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "max_tokens": {"type": ["int"], "default":
        512, "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "default"}, "presence_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "stop": {"type":
        ["list"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "temperature": {"type": ["double"], "default": 1,
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "top_p": {"type": ["double"], "default": 1, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}}, "description": "Use Azure OpenAI GPT-4 Turbo
        with Vision to leverage AOAI vision ability.", "module": "promptflow.tools.aoai_gpt4v",
        "class_name": "AzureOpenAI", "function": "chat", "icon": {"dark": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA2ElEQVR4nJXSzW3CQBAF4DUSTjk+Al1AD0ikESslpBIEheRALhEpgAYSWV8OGUublf/yLuP3PPNmdndS+gdwXZrYDmh7fGE/W+wXbaYd8IYm4rxJPnZ0boI3wZcdJxs/n+AwV7DFK7aFyfQdYIMLPvES8YJNf5yp4jMeeEYdWh38gXOR35YGHe5xabvQdsHv6PLi8qV6gycc8YH3iMfQu6Lh4ASr+F5Hh3XwVWnQYzUkVlX1nccplAb1SN6Y/sfgmlK64VS8wimldIv/0yj2QLkHizG0iWP4AVAfQ34DVQONAAAAAElFTkSuQmCC",
        "light": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAx0lEQVR4nJWSwQ2CQBBFX0jAcjgqXUgPJNiIsQQrIVCIFy8GC6ABDcGDX7Mus9n1Xz7zZ+fPsLPwH4bUg0dD2wMPcbR48Uxq4AKU4iSTDwZ1LhWXipN/B3V0J6hjBTvgLHZNonewBXrgDpzEvXSIjN0BE3AACmmF4kl5F6tNzcCoLpW0SvGovFvsb4oZ2AANcAOu4ka6axCcINN3rg654sww+CYsPD0OwjcozFNh/Qcd78tqVbCIW+n+Fky472Bh/Q6SYb1EEy8tDzd+9IsVPAAAAABJRU5ErkJggg=="},
        "is_builtin": true, "package": "promptflow-tools", "package_version": "1.0.3",
        "default_prompt": "# system:\nAs an AI assistant, your task involves interpreting
        images and responding to questions about the image.\nRemember to provide accurate
        answers based on the information present in the image.\n\n# user:\nCan you
        tell me what the image depicts?\n![image]({{image_input}})\n", "enable_kwargs":
        false, "tool_state": "preview"}, {"name": "Content Safety (Text Analyze)",
        "type": "python", "inputs": {"connection": {"type": ["AzureContentSafetyConnection"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "hate_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
        ["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "self_harm_category": {"type": ["string"], "default": "medium_sensitivity",
        "enum": ["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "sexual_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
        ["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "text": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "violence_category": {"type": ["string"],
        "default": "medium_sensitivity", "enum": ["disable", "low_sensitivity", "medium_sensitivity",
        "high_sensitivity"], "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}}, "description": "Use Azure Content Safety to detect
        harmful content.", "module": "promptflow.tools.azure_content_safety", "function":
        "analyze_text", "is_builtin": true, "package": "promptflow-tools", "package_version":
        "1.0.3", "enable_kwargs": false, "deprecated_tools": ["content_safety_text.tools.content_safety_text_tool.analyze_text"],
        "tool_state": "stable"}, {"name": "Embedding", "type": "python", "inputs":
        {"connection": {"type": ["AzureOpenAIConnection", "OpenAIConnection"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "deployment_name":
        {"type": ["string"], "enabled_by": "connection", "enabled_by_type": ["AzureOpenAIConnection"],
        "model_list": ["text-embedding-ada-002", "text-search-ada-doc-001", "text-search-ada-query-001"],
        "capabilities": {"completion": false, "chat_completion": false, "embeddings":
        true}, "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "default"}, "input": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "model": {"type": ["string"], "enum": ["text-embedding-ada-002",
        "text-search-ada-doc-001", "text-search-ada-query-001"], "enabled_by": "connection",
        "enabled_by_type": ["OpenAIConnection"], "allow_manual_entry": true, "is_multi_select":
        false, "input_type": "default"}}, "description": "Use Open AI''s embedding
        model to create an embedding vector representing the input text.", "module":
        "promptflow.tools.embedding", "function": "embedding", "is_builtin": true,
        "package": "promptflow-tools", "package_version": "1.0.3", "enable_kwargs":
        false, "tool_state": "stable"}, {"name": "Open Model LLM", "type": "custom_llm",
        "inputs": {"api": {"type": ["string"], "enum": ["chat", "completion"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "deployment_name":
        {"type": ["string"], "default": "", "dynamic_list": {"func_path": "promptflow.tools.open_model_llm.list_deployment_names",
        "func_kwargs": [{"name": "endpoint", "optional": true, "reference": "${inputs.endpoint}",
        "type": ["string"]}]}, "allow_manual_entry": true, "is_multi_select": false,
        "input_type": "default"}, "endpoint_name": {"type": ["string"], "dynamic_list":
        {"func_path": "promptflow.tools.open_model_llm.list_endpoint_names"}, "allow_manual_entry":
        true, "is_multi_select": false, "input_type": "default"}, "max_new_tokens":
        {"type": ["int"], "default": 500, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "model_kwargs": {"type": ["object"], "default":
        "{}", "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "default", "advanced": true}, "temperature": {"type": ["double"], "default":
        1.0, "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "default"}, "top_p": {"type": ["double"], "default": 1.0, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default", "advanced": true}},
        "description": "Use an open model from the Azure Model catalog, deployed to
        an AzureML Online Endpoint for LLM Chat or Completion API calls.", "module":
        "promptflow.tools.open_model_llm", "class_name": "OpenModelLLM", "function":
        "call", "icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACgElEQVR4nGWSz2vcVRTFP/e9NzOZ1KDGohASslLEH6VLV0ak4l/QpeDCrfQPcNGliODKnVm4EBdBsIjQIlhciKW0ycKFVCSNbYnjdDLtmPnmO/nO9917XcxMkjYX3uLx7nnn3HOuMK2Nix4fP78ZdrYXVkLVWjf3l3B1B+HpcjzGFtmqa6cePz7/x0dnn1n5qhj3iBJPYREIURAJuCtpY8PjReDbrf9WG7H1fuefwQU9qKztTcMJT+PNnEFvjGVDBDlSsH6p/9MLzy6+NxwVqI8RAg4IPmWedMckdLYP6O6UpIaQfvyyXG012+e79/ZfHukoS1ISMT2hGTB1RkUmNgQ5QZ0w+a2VWDq73MbdEWmfnnv6UWe7oNzPaLapl5CwuLTXK9WUGBuCjqekzhP+z52ZXOrKMD3OJg0Hh778aiOuvpnYvp05d6GJO4iAO4QAe/eV36/X5LFRV4Zmn+AdkqlL8Vjp3oVioOz+WTPzzYEgsN+fgPLYyJVheSbPPVl2ikeGZRjtG52/8rHuaV9VOlpP2OtKyVndcRVCSqOhsvxa4vW359i6OuKdD+aP8Q4SYPdOzS/flGjt1JUSaMqZ5nwa1Y8qWb/Ud/eZZkHisYezEM0m+fcelDr8F1SqW2LNK6r1jXQwyLzy1hxvrLXZulry7ocL+FS6G4QIu3fG/Px1gdYeW7LIgXU2P/115TOA5G7e3Rmj2aS/m7l5pThiZzrCcE/d1XHzbln373nw7y6veeoUm5KCNKT/IPPwbiY1hYd/l5MIT65BMFt87sU4v9D7/JMflr44uV6hGh1+L4RCkg6z5iK2tAhNLeLsNGwYA4fDYnC/drvuuFxe86NV/x+Ut27g0FvykgAAAABJRU5ErkJggg==",
        "is_builtin": true, "package": "promptflow-tools", "package_version": "1.0.3",
        "enable_kwargs": false, "tool_state": "stable"}, {"name": "OpenAI GPT-4V",
        "type": "custom_llm", "inputs": {"connection": {"type": ["OpenAIConnection"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "frequency_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "max_tokens": {"type":
        ["int"], "default": 512, "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "model": {"type": ["string"], "enum": ["gpt-4-vision-preview"],
        "allow_manual_entry": true, "is_multi_select": false, "input_type": "default"},
        "presence_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "stop": {"type":
        ["list"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "temperature": {"type": ["double"], "default": 1,
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "top_p": {"type": ["double"], "default": 1, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}}, "description": "Use OpenAI GPT-4V to leverage
        vision ability.", "module": "promptflow.tools.openai_gpt4v", "class_name":
        "OpenAI", "function": "chat", "icon": {"dark": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA2ElEQVR4nJXSzW3CQBAF4DUSTjk+Al1AD0ikESslpBIEheRALhEpgAYSWV8OGUublf/yLuP3PPNmdndS+gdwXZrYDmh7fGE/W+wXbaYd8IYm4rxJPnZ0boI3wZcdJxs/n+AwV7DFK7aFyfQdYIMLPvES8YJNf5yp4jMeeEYdWh38gXOR35YGHe5xabvQdsHv6PLi8qV6gycc8YH3iMfQu6Lh4ASr+F5Hh3XwVWnQYzUkVlX1nccplAb1SN6Y/sfgmlK64VS8wimldIv/0yj2QLkHizG0iWP4AVAfQ34DVQONAAAAAElFTkSuQmCC",
        "light": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAx0lEQVR4nJWSwQ2CQBBFX0jAcjgqXUgPJNiIsQQrIVCIFy8GC6ABDcGDX7Mus9n1Xz7zZ+fPsLPwH4bUg0dD2wMPcbR48Uxq4AKU4iSTDwZ1LhWXipN/B3V0J6hjBTvgLHZNonewBXrgDpzEvXSIjN0BE3AACmmF4kl5F6tNzcCoLpW0SvGovFvsb4oZ2AANcAOu4ka6axCcINN3rg654sww+CYsPD0OwjcozFNh/Qcd78tqVbCIW+n+Fky472Bh/Q6SYb1EEy8tDzd+9IsVPAAAAABJRU5ErkJggg=="},
        "is_builtin": true, "package": "promptflow-tools", "package_version": "1.0.3",
        "default_prompt": "# system:\nAs an AI assistant, your task involves interpreting
        images and responding to questions about the image.\nRemember to provide accurate
        answers based on the information present in the image.\n\n# user:\nCan you
        tell me what the image depicts?\n![image]({{image_input}})\n", "enable_kwargs":
        false, "tool_state": "preview"}, {"name": "Serp API", "type": "python", "inputs":
        {"connection": {"type": ["SerpConnection"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "engine": {"type": ["string"], "default":
        "google", "enum": ["google", "bing"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "location": {"type": ["string"], "default":
        "", "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "num": {"type": ["int"], "default": "10", "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "query": {"type": ["string"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "safe": {"type":
        ["string"], "default": "off", "enum": ["active", "off"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}}, "description":
        "Use Serp API to obtain search results from a specific search engine.", "module":
        "promptflow.tools.serpapi", "class_name": "SerpAPI", "function": "search",
        "is_builtin": true, "package": "promptflow-tools", "package_version": "1.0.3",
        "enable_kwargs": false, "tool_state": "stable"}, {"name": "Index Lookup",
        "type": "python", "inputs": {"acs_content_field": {"type": ["string"], "enabled_by":
        "index_type", "enabled_by_value": ["Azure AI Search"], "dynamic_list": {"func_path":
        "promptflow_vectordb.tool.common_index_lookup_utils.list_acs_index_fields",
        "func_kwargs": [{"name": "acs_connection", "optional": false, "reference":
        "${inputs.acs_index_connection}", "type": ["CognitiveSearchConnection"]},
        {"name": "acs_index_name", "optional": false, "reference": "${inputs.acs_index_name}",
        "type": ["string"]}, {"default": "Edm.String", "name": "field_data_type",
        "optional": false, "type": ["string"]}]}, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "uionly_hidden"}, "acs_embedding_field": {"type": ["string"],
        "enabled_by": "index_type", "enabled_by_value": ["Azure AI Search"], "dynamic_list":
        {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_acs_index_fields",
        "func_kwargs": [{"name": "acs_connection", "optional": false, "reference":
        "${inputs.acs_index_connection}", "type": ["CognitiveSearchConnection"]},
        {"name": "acs_index_name", "optional": false, "reference": "${inputs.acs_index_name}",
        "type": ["string"]}, {"default": "Collection(Edm.Single)", "name": "field_data_type",
        "optional": false, "type": ["string"]}]}, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "uionly_hidden"}, "acs_index_connection": {"type": ["CognitiveSearchConnection"],
        "enabled_by": "index_type", "enabled_by_value": ["Azure AI Search"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "uionly_hidden"}, "acs_index_name":
        {"type": ["string"], "enabled_by": "index_type", "enabled_by_value": ["Azure
        AI Search"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_acs_indices",
        "func_kwargs": [{"name": "acs_connection", "optional": false, "reference":
        "${inputs.acs_index_connection}", "type": ["CognitiveSearchConnection"]}]},
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "acs_metadata_field": {"type": ["string"], "enabled_by": "index_type", "enabled_by_value":
        ["Azure AI Search"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_acs_index_fields",
        "func_kwargs": [{"name": "acs_connection", "optional": false, "reference":
        "${inputs.acs_index_connection}", "type": ["CognitiveSearchConnection"]},
        {"name": "acs_index_name", "optional": false, "reference": "${inputs.acs_index_name}",
        "type": ["string"]}, {"default": "Edm.String", "name": "field_data_type",
        "optional": false, "type": ["string"]}]}, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "uionly_hidden"}, "aoai_embedding_connection": {"type":
        ["AzureOpenAIConnection"], "enabled_by": "embedding_type", "enabled_by_value":
        ["Azure OpenAI"], "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "uionly_hidden"}, "embedding_deployment": {"type": ["string"], "enabled_by":
        "embedding_type", "enabled_by_value": ["Azure OpenAI"], "dynamic_list": {"func_path":
        "promptflow_vectordb.tool.common_index_lookup_utils.list_aoai_embedding_deployments",
        "func_kwargs": [{"name": "aoai_connection", "optional": false, "reference":
        "${inputs.aoai_embedding_connection}", "type": ["AzurOpenAIConnection"]}]},
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "embedding_model": {"type": ["string"], "enabled_by": "embedding_type", "enabled_by_value":
        ["OpenAI", "Hugging Face"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_embedding_models",
        "func_kwargs": [{"name": "embedding_type", "optional": false, "reference":
        "${inputs.embedding_type}", "type": ["string"]}]}, "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "uionly_hidden"}, "embedding_type":
        {"type": ["string"], "enabled_by": "index_type", "enabled_by_value": ["Azure
        AI Search", "FAISS", "Pinecone"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_available_embedding_types",
        "func_kwargs": [{"name": "index_type", "optional": false, "reference": "${inputs.index_type}",
        "type": ["string"]}]}, "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "uionly_hidden"}, "faiss_index_path": {"type": ["string"], "enabled_by":
        "index_type", "enabled_by_value": ["FAISS"], "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "uionly_hidden"}, "index_type": {"type":
        ["string"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_available_index_types"},
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "mlindex_asset_id": {"type": ["string"], "enabled_by": "index_type", "enabled_by_value":
        ["Registered Index"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_registered_mlindices"},
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "mlindex_content": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
        false, "generated_by": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.forward_mapping",
        "func_kwargs": [{"name": "index_type", "reference": "${inputs.index_type}",
        "type": ["string"]}, {"name": "mlindex_asset_id", "optional": true, "reference":
        "${inputs.mlindex_asset_id}", "type": ["string"]}, {"name": "mlindex_path",
        "optional": true, "reference": "${inputs.mlindex_path}", "type": ["string"]},
        {"name": "acs_index_connection", "optional": true, "reference": "${inputs.acs_index_connection}",
        "type": ["CognitiveSearchConnection"]}, {"name": "acs_index_name", "optional":
        true, "reference": "${inputs.acs_index_name}", "type": ["string"]}, {"name":
        "acs_content_field", "optional": true, "reference": "${inputs.acs_content_field}",
        "type": ["string"]}, {"name": "acs_embedding_field", "optional": true, "reference":
        "${inputs.acs_embedding_field}", "type": ["string"]}, {"name": "acs_metadata_field",
        "optional": true, "reference": "${inputs.acs_metadata_field}", "type": ["string"]},
        {"name": "semantic_configuration", "optional": true, "reference": "${inputs.semantic_configuration}",
        "type": ["string"]}, {"name": "faiss_index_path", "optional": true, "reference":
        "${inputs.faiss_index_path}", "type": ["string"]}, {"name": "pinecone_index_connection",
        "optional": true, "reference": "${inputs.pinecone_index_connection}", "type":
        ["string"]}, {"name": "pinecone_index_name", "optional": true, "reference":
        "${inputs.pinecone_index_name}", "type": ["string"]}, {"name": "pinecone_content_field",
        "optional": true, "reference": "${inputs.pinecone_content_field}", "type":
        ["string"]}, {"name": "pinecone_metadata_field", "optional": true, "reference":
        "${inputs.pinecone_metadata_field}", "type": ["string"]}, {"name": "embedding_type",
        "optional": true, "reference": "${inputs.embedding_type}", "type": ["string"]},
        {"name": "aoai_embedding_connection", "optional": true, "reference": "${inputs.aoai_embedding_connection}",
        "type": ["AzureOpenAIConnection"]}, {"name": "oai_embedding_connection", "optional":
        true, "reference": "${inputs.oai_embedding_connection}", "type": ["string"]},
        {"name": "embedding_model", "optional": true, "reference": "${inputs.embedding_model}",
        "type": ["string"]}, {"name": "embedding_deployment", "optional": true, "reference":
        "${inputs.embedding_deployment}", "type": ["string"]}], "reverse_func_path":
        "promptflow_vectordb.tool.common_index_lookup_utils.reverse_mapping"}, "input_type":
        "default"}, "mlindex_path": {"type": ["string"], "enabled_by": "index_type",
        "enabled_by_value": ["MLIndex file from path"], "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "uionly_hidden"}, "oai_embedding_connection":
        {"type": ["OpenAIConnection"], "enabled_by": "embedding_type", "enabled_by_value":
        ["OpenAI"], "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "uionly_hidden"}, "pinecone_content_field": {"type": ["string"], "enabled_by":
        "index_type", "enabled_by_value": ["Pinecone"], "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "uionly_hidden"}, "pinecone_index_connection":
        {"type": ["PineconeConnection"], "enabled_by": "index_type", "enabled_by_value":
        ["Pinecone"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_pinecone_connections"},
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "pinecone_index_name": {"type": ["string"], "enabled_by": "index_type", "enabled_by_value":
        ["Pinecone"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_pinecone_indices",
        "func_kwargs": [{"name": "pinecone_connection_name", "optional": false, "reference":
        "${inputs.pinecone_index_connection}", "type": ["string"]}]}, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "uionly_hidden"}, "pinecone_metadata_field":
        {"type": ["string"], "enabled_by": "index_type", "enabled_by_value": ["Pinecone"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "queries": {"type": ["object"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "query_type": {"type": ["string"], "dynamic_list":
        {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_available_query_types",
        "func_kwargs": [{"name": "mlindex_content", "optional": false, "reference":
        "${inputs.mlindex_content}", "type": ["string"]}]}, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "semantic_configuration":
        {"type": ["string"], "enabled_by": "index_type", "enabled_by_value": ["Azure
        AI Search"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_acs_index_semantic_configurations",
        "func_kwargs": [{"name": "acs_connection", "optional": false, "reference":
        "${inputs.acs_index_connection}", "type": ["CognitiveSearchConnection"]},
        {"name": "acs_index_name", "optional": false, "reference": "${inputs.acs_index_name}",
        "type": ["string"]}]}, "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "uionly_hidden"}, "top_k": {"type": ["int"], "default": 3, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}}, "description":
        "Search an AzureML Vector Index for relevant results using one or more text
        queries.", "module": "promptflow_vectordb.tool.common_index_lookup", "function":
        "search", "is_builtin": true, "package": "promptflow-vectordb", "package_version":
        "0.0.1", "enable_kwargs": false, "tool_state": "preview"}, {"name": "Faiss
        Index Lookup", "type": "python", "inputs": {"path": {"type": ["string"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "top_k": {"type":
        ["int"], "default": "3", "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "vector": {"type": ["list"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}}, "description":
        "Search vector based query from the FAISS index file.", "module": "promptflow_vectordb.tool.faiss_index_lookup",
        "class_name": "FaissIndexLookup", "function": "search", "is_builtin": true,
        "package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
        false, "tool_state": "stable"}, {"name": "Vector DB Lookup", "type": "python",
        "inputs": {"class_name": {"type": ["string"], "enabled_by": "connection",
        "enabled_by_type": ["WeaviateConnection"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "collection_name": {"type": ["string"], "enabled_by":
        "connection", "enabled_by_type": ["QdrantConnection"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "connection": {"type":
        ["CognitiveSearchConnection", "QdrantConnection", "WeaviateConnection"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "index_name": {"type":
        ["string"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "search_filters": {"type": ["object"], "enabled_by": "connection", "enabled_by_type":
        ["CognitiveSearchConnection", "QdrantConnection"], "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "default"}, "search_params": {"type":
        ["object"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection",
        "QdrantConnection"], "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "text_field": {"type": ["string"], "enabled_by":
        "connection", "enabled_by_type": ["CognitiveSearchConnection", "QdrantConnection",
        "WeaviateConnection"], "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "top_k": {"type": ["int"], "default": "3", "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "vector": {"type":
        ["list"], "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "default"}, "vector_field": {"type": ["string"], "enabled_by": "connection",
        "enabled_by_type": ["CognitiveSearchConnection"], "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "default"}}, "description": "Search
        vector based query from existing Vector Database.", "module": "promptflow_vectordb.tool.vector_db_lookup",
        "class_name": "VectorDBLookup", "function": "search", "is_builtin": true,
        "package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
        false, "tool_state": "stable"}, {"name": "Vector Index Lookup", "type": "python",
        "inputs": {"path": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "query": {"type": ["object"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "top_k": {"type":
        ["int"], "default": "3", "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}}, "description": "Search text or vector based query
        from AzureML Vector Index.", "module": "promptflow_vectordb.tool.vector_index_lookup",
        "class_name": "VectorIndexLookup", "function": "search", "is_builtin": true,
        "package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
        false, "tool_state": "stable"}, {"name": "print_env.py", "type": "python",
        "inputs": {"key": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}}, "source": "print_env.py", "function": "get_env_var",
        "is_builtin": false, "enable_kwargs": false, "tool_state": "stable"}], "inputs":
        {"key": {"type": "string", "is_chat_input": false}}, "outputs": {"output":
        {"type": "string", "reference": "${print_env.output.value}", "evaluation_only":
        false, "is_chat_output": false}}}, "flowRunResourceId": "azureml://locations/eastus/workspaces/00000/flows/name/flowRuns/name",
        "flowRunId": "name", "flowRunDisplayName": "name", "batchDataInput": {"dataUri":
        "azureml://datastores/workspaceblobstore/paths/LocalUpload/c32a61842e439cecc022ebcff5dc0da4/env_var_names.jsonl"},
        "flowRunType": "FlowRun", "flowType": "Default", "runtimeName": "automatic",
        "inputsMapping": {}, "outputDatastoreName": "workspaceblobstore", "childRunBasePath":
        "promptflow/PromptFlowArtifacts/name/flow_artifacts", "flowDagFileRelativePath":
        "flow.dag.yaml", "flowSnapshotId": "031ac559-2433-4b4b-87e5-1aa6a1170995",
        "studioPortalEndpoint": "https://ml.azure.com/runs/name?wsid=/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000"}'
    headers:
      connection:
      - keep-alive
      content-length:
      - '26109'
      content-type:
      - application/json; charset=utf-8
      strict-transport-security:
      - max-age=15724800; includeSubDomains; preload
      transfer-encoding:
      - chunked
      vary:
      - Accept-Encoding
      x-content-type-options:
      - nosniff
      x-request-time:
      - '0.326'
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - application/json
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - promptflow-sdk/0.0.1 azsdk-python-azuremachinelearningdesignerserviceclient/unknown
        Python/3.11.5 (Windows-10-10.0.22621-SP0)
    method: GET
    uri: https://eastus.api.azureml.ms/flow/api/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/BulkRuns/name
  response:
    body:
      string: '{"flowGraph": {"nodes": [{"name": "print_env", "type": "python", "source":
        {"type": "code", "path": "print_env.py"}, "inputs": {"key": "${inputs.key}"},
        "tool": "print_env.py", "reduce": false}], "tools": [{"name": "Azure OpenAI
        GPT-4 Turbo with Vision", "type": "custom_llm", "inputs": {"connection": {"type":
        ["AzureOpenAIConnection"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "deployment_name": {"type": ["string"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "frequency_penalty":
        {"type": ["double"], "default": 0, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "max_tokens": {"type": ["int"], "default":
        512, "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "default"}, "presence_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "stop": {"type":
        ["list"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "temperature": {"type": ["double"], "default": 1,
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "top_p": {"type": ["double"], "default": 1, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}}, "description": "Use Azure OpenAI GPT-4 Turbo
        with Vision to leverage AOAI vision ability.", "module": "promptflow.tools.aoai_gpt4v",
        "class_name": "AzureOpenAI", "function": "chat", "icon": {"dark": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA2ElEQVR4nJXSzW3CQBAF4DUSTjk+Al1AD0ikESslpBIEheRALhEpgAYSWV8OGUublf/yLuP3PPNmdndS+gdwXZrYDmh7fGE/W+wXbaYd8IYm4rxJPnZ0boI3wZcdJxs/n+AwV7DFK7aFyfQdYIMLPvES8YJNf5yp4jMeeEYdWh38gXOR35YGHe5xabvQdsHv6PLi8qV6gycc8YH3iMfQu6Lh4ASr+F5Hh3XwVWnQYzUkVlX1nccplAb1SN6Y/sfgmlK64VS8wimldIv/0yj2QLkHizG0iWP4AVAfQ34DVQONAAAAAElFTkSuQmCC",
        "light": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAx0lEQVR4nJWSwQ2CQBBFX0jAcjgqXUgPJNiIsQQrIVCIFy8GC6ABDcGDX7Mus9n1Xz7zZ+fPsLPwH4bUg0dD2wMPcbR48Uxq4AKU4iSTDwZ1LhWXipN/B3V0J6hjBTvgLHZNonewBXrgDpzEvXSIjN0BE3AACmmF4kl5F6tNzcCoLpW0SvGovFvsb4oZ2AANcAOu4ka6axCcINN3rg654sww+CYsPD0OwjcozFNh/Qcd78tqVbCIW+n+Fky472Bh/Q6SYb1EEy8tDzd+9IsVPAAAAABJRU5ErkJggg=="},
        "is_builtin": true, "package": "promptflow-tools", "package_version": "1.0.3",
        "default_prompt": "# system:\nAs an AI assistant, your task involves interpreting
        images and responding to questions about the image.\nRemember to provide accurate
        answers based on the information present in the image.\n\n# user:\nCan you
        tell me what the image depicts?\n![image]({{image_input}})\n", "enable_kwargs":
        false, "tool_state": "preview"}, {"name": "Content Safety (Text Analyze)",
        "type": "python", "inputs": {"connection": {"type": ["AzureContentSafetyConnection"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "hate_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
        ["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "self_harm_category": {"type": ["string"], "default": "medium_sensitivity",
        "enum": ["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "sexual_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
        ["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "text": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "violence_category": {"type": ["string"],
        "default": "medium_sensitivity", "enum": ["disable", "low_sensitivity", "medium_sensitivity",
        "high_sensitivity"], "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}}, "description": "Use Azure Content Safety to detect
        harmful content.", "module": "promptflow.tools.azure_content_safety", "function":
        "analyze_text", "is_builtin": true, "package": "promptflow-tools", "package_version":
        "1.0.3", "enable_kwargs": false, "deprecated_tools": ["content_safety_text.tools.content_safety_text_tool.analyze_text"],
        "tool_state": "stable"}, {"name": "Embedding", "type": "python", "inputs":
        {"connection": {"type": ["AzureOpenAIConnection", "OpenAIConnection"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "deployment_name":
        {"type": ["string"], "enabled_by": "connection", "enabled_by_type": ["AzureOpenAIConnection"],
        "model_list": ["text-embedding-ada-002", "text-search-ada-doc-001", "text-search-ada-query-001"],
        "capabilities": {"completion": false, "chat_completion": false, "embeddings":
        true}, "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "default"}, "input": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "model": {"type": ["string"], "enum": ["text-embedding-ada-002",
        "text-search-ada-doc-001", "text-search-ada-query-001"], "enabled_by": "connection",
        "enabled_by_type": ["OpenAIConnection"], "allow_manual_entry": true, "is_multi_select":
        false, "input_type": "default"}}, "description": "Use Open AI''s embedding
        model to create an embedding vector representing the input text.", "module":
        "promptflow.tools.embedding", "function": "embedding", "is_builtin": true,
        "package": "promptflow-tools", "package_version": "1.0.3", "enable_kwargs":
        false, "tool_state": "stable"}, {"name": "Open Model LLM", "type": "custom_llm",
        "inputs": {"api": {"type": ["string"], "enum": ["chat", "completion"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "deployment_name":
        {"type": ["string"], "default": "", "dynamic_list": {"func_path": "promptflow.tools.open_model_llm.list_deployment_names",
        "func_kwargs": [{"name": "endpoint", "optional": true, "reference": "${inputs.endpoint}",
        "type": ["string"]}]}, "allow_manual_entry": true, "is_multi_select": false,
        "input_type": "default"}, "endpoint_name": {"type": ["string"], "dynamic_list":
        {"func_path": "promptflow.tools.open_model_llm.list_endpoint_names"}, "allow_manual_entry":
        true, "is_multi_select": false, "input_type": "default"}, "max_new_tokens":
        {"type": ["int"], "default": 500, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "model_kwargs": {"type": ["object"], "default":
        "{}", "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "default", "advanced": true}, "temperature": {"type": ["double"], "default":
        1.0, "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "default"}, "top_p": {"type": ["double"], "default": 1.0, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default", "advanced": true}},
        "description": "Use an open model from the Azure Model catalog, deployed to
        an AzureML Online Endpoint for LLM Chat or Completion API calls.", "module":
        "promptflow.tools.open_model_llm", "class_name": "OpenModelLLM", "function":
        "call", "icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACgElEQVR4nGWSz2vcVRTFP/e9NzOZ1KDGohASslLEH6VLV0ak4l/QpeDCrfQPcNGliODKnVm4EBdBsIjQIlhciKW0ycKFVCSNbYnjdDLtmPnmO/nO9917XcxMkjYX3uLx7nnn3HOuMK2Nix4fP78ZdrYXVkLVWjf3l3B1B+HpcjzGFtmqa6cePz7/x0dnn1n5qhj3iBJPYREIURAJuCtpY8PjReDbrf9WG7H1fuefwQU9qKztTcMJT+PNnEFvjGVDBDlSsH6p/9MLzy6+NxwVqI8RAg4IPmWedMckdLYP6O6UpIaQfvyyXG012+e79/ZfHukoS1ISMT2hGTB1RkUmNgQ5QZ0w+a2VWDq73MbdEWmfnnv6UWe7oNzPaLapl5CwuLTXK9WUGBuCjqekzhP+z52ZXOrKMD3OJg0Hh778aiOuvpnYvp05d6GJO4iAO4QAe/eV36/X5LFRV4Zmn+AdkqlL8Vjp3oVioOz+WTPzzYEgsN+fgPLYyJVheSbPPVl2ikeGZRjtG52/8rHuaV9VOlpP2OtKyVndcRVCSqOhsvxa4vW359i6OuKdD+aP8Q4SYPdOzS/flGjt1JUSaMqZ5nwa1Y8qWb/Ud/eZZkHisYezEM0m+fcelDr8F1SqW2LNK6r1jXQwyLzy1hxvrLXZulry7ocL+FS6G4QIu3fG/Px1gdYeW7LIgXU2P/115TOA5G7e3Rmj2aS/m7l5pThiZzrCcE/d1XHzbln373nw7y6veeoUm5KCNKT/IPPwbiY1hYd/l5MIT65BMFt87sU4v9D7/JMflr44uV6hGh1+L4RCkg6z5iK2tAhNLeLsNGwYA4fDYnC/drvuuFxe86NV/x+Ut27g0FvykgAAAABJRU5ErkJggg==",
        "is_builtin": true, "package": "promptflow-tools", "package_version": "1.0.3",
        "enable_kwargs": false, "tool_state": "stable"}, {"name": "OpenAI GPT-4V",
        "type": "custom_llm", "inputs": {"connection": {"type": ["OpenAIConnection"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "frequency_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "max_tokens": {"type":
        ["int"], "default": 512, "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "model": {"type": ["string"], "enum": ["gpt-4-vision-preview"],
        "allow_manual_entry": true, "is_multi_select": false, "input_type": "default"},
        "presence_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "stop": {"type":
        ["list"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "temperature": {"type": ["double"], "default": 1,
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "top_p": {"type": ["double"], "default": 1, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}}, "description": "Use OpenAI GPT-4V to leverage
        vision ability.", "module": "promptflow.tools.openai_gpt4v", "class_name":
        "OpenAI", "function": "chat", "icon": {"dark": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA2ElEQVR4nJXSzW3CQBAF4DUSTjk+Al1AD0ikESslpBIEheRALhEpgAYSWV8OGUublf/yLuP3PPNmdndS+gdwXZrYDmh7fGE/W+wXbaYd8IYm4rxJPnZ0boI3wZcdJxs/n+AwV7DFK7aFyfQdYIMLPvES8YJNf5yp4jMeeEYdWh38gXOR35YGHe5xabvQdsHv6PLi8qV6gycc8YH3iMfQu6Lh4ASr+F5Hh3XwVWnQYzUkVlX1nccplAb1SN6Y/sfgmlK64VS8wimldIv/0yj2QLkHizG0iWP4AVAfQ34DVQONAAAAAElFTkSuQmCC",
        "light": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAx0lEQVR4nJWSwQ2CQBBFX0jAcjgqXUgPJNiIsQQrIVCIFy8GC6ABDcGDX7Mus9n1Xz7zZ+fPsLPwH4bUg0dD2wMPcbR48Uxq4AKU4iSTDwZ1LhWXipN/B3V0J6hjBTvgLHZNonewBXrgDpzEvXSIjN0BE3AACmmF4kl5F6tNzcCoLpW0SvGovFvsb4oZ2AANcAOu4ka6axCcINN3rg654sww+CYsPD0OwjcozFNh/Qcd78tqVbCIW+n+Fky472Bh/Q6SYb1EEy8tDzd+9IsVPAAAAABJRU5ErkJggg=="},
        "is_builtin": true, "package": "promptflow-tools", "package_version": "1.0.3",
        "default_prompt": "# system:\nAs an AI assistant, your task involves interpreting
        images and responding to questions about the image.\nRemember to provide accurate
        answers based on the information present in the image.\n\n# user:\nCan you
        tell me what the image depicts?\n![image]({{image_input}})\n", "enable_kwargs":
        false, "tool_state": "preview"}, {"name": "Serp API", "type": "python", "inputs":
        {"connection": {"type": ["SerpConnection"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "engine": {"type": ["string"], "default":
        "google", "enum": ["google", "bing"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "location": {"type": ["string"], "default":
        "", "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "num": {"type": ["int"], "default": "10", "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "query": {"type": ["string"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "safe": {"type":
        ["string"], "default": "off", "enum": ["active", "off"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}}, "description":
        "Use Serp API to obtain search results from a specific search engine.", "module":
        "promptflow.tools.serpapi", "class_name": "SerpAPI", "function": "search",
        "is_builtin": true, "package": "promptflow-tools", "package_version": "1.0.3",
        "enable_kwargs": false, "tool_state": "stable"}, {"name": "Index Lookup",
        "type": "python", "inputs": {"acs_content_field": {"type": ["string"], "enabled_by":
        "index_type", "enabled_by_value": ["Azure AI Search"], "dynamic_list": {"func_path":
        "promptflow_vectordb.tool.common_index_lookup_utils.list_acs_index_fields",
        "func_kwargs": [{"name": "acs_connection", "optional": false, "reference":
        "${inputs.acs_index_connection}", "type": ["CognitiveSearchConnection"]},
        {"name": "acs_index_name", "optional": false, "reference": "${inputs.acs_index_name}",
        "type": ["string"]}, {"default": "Edm.String", "name": "field_data_type",
        "optional": false, "type": ["string"]}]}, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "uionly_hidden"}, "acs_embedding_field": {"type": ["string"],
        "enabled_by": "index_type", "enabled_by_value": ["Azure AI Search"], "dynamic_list":
        {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_acs_index_fields",
        "func_kwargs": [{"name": "acs_connection", "optional": false, "reference":
        "${inputs.acs_index_connection}", "type": ["CognitiveSearchConnection"]},
        {"name": "acs_index_name", "optional": false, "reference": "${inputs.acs_index_name}",
        "type": ["string"]}, {"default": "Collection(Edm.Single)", "name": "field_data_type",
        "optional": false, "type": ["string"]}]}, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "uionly_hidden"}, "acs_index_connection": {"type": ["CognitiveSearchConnection"],
        "enabled_by": "index_type", "enabled_by_value": ["Azure AI Search"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "uionly_hidden"}, "acs_index_name":
        {"type": ["string"], "enabled_by": "index_type", "enabled_by_value": ["Azure
        AI Search"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_acs_indices",
        "func_kwargs": [{"name": "acs_connection", "optional": false, "reference":
        "${inputs.acs_index_connection}", "type": ["CognitiveSearchConnection"]}]},
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "acs_metadata_field": {"type": ["string"], "enabled_by": "index_type", "enabled_by_value":
        ["Azure AI Search"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_acs_index_fields",
        "func_kwargs": [{"name": "acs_connection", "optional": false, "reference":
        "${inputs.acs_index_connection}", "type": ["CognitiveSearchConnection"]},
        {"name": "acs_index_name", "optional": false, "reference": "${inputs.acs_index_name}",
        "type": ["string"]}, {"default": "Edm.String", "name": "field_data_type",
        "optional": false, "type": ["string"]}]}, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "uionly_hidden"}, "aoai_embedding_connection": {"type":
        ["AzureOpenAIConnection"], "enabled_by": "embedding_type", "enabled_by_value":
        ["Azure OpenAI"], "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "uionly_hidden"}, "embedding_deployment": {"type": ["string"], "enabled_by":
        "embedding_type", "enabled_by_value": ["Azure OpenAI"], "dynamic_list": {"func_path":
        "promptflow_vectordb.tool.common_index_lookup_utils.list_aoai_embedding_deployments",
        "func_kwargs": [{"name": "aoai_connection", "optional": false, "reference":
        "${inputs.aoai_embedding_connection}", "type": ["AzurOpenAIConnection"]}]},
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "embedding_model": {"type": ["string"], "enabled_by": "embedding_type", "enabled_by_value":
        ["OpenAI", "Hugging Face"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_embedding_models",
        "func_kwargs": [{"name": "embedding_type", "optional": false, "reference":
        "${inputs.embedding_type}", "type": ["string"]}]}, "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "uionly_hidden"}, "embedding_type":
        {"type": ["string"], "enabled_by": "index_type", "enabled_by_value": ["Azure
        AI Search", "FAISS", "Pinecone"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_available_embedding_types",
        "func_kwargs": [{"name": "index_type", "optional": false, "reference": "${inputs.index_type}",
        "type": ["string"]}]}, "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "uionly_hidden"}, "faiss_index_path": {"type": ["string"], "enabled_by":
        "index_type", "enabled_by_value": ["FAISS"], "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "uionly_hidden"}, "index_type": {"type":
        ["string"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_available_index_types"},
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "mlindex_asset_id": {"type": ["string"], "enabled_by": "index_type", "enabled_by_value":
        ["Registered Index"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_registered_mlindices"},
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "mlindex_content": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
        false, "generated_by": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.forward_mapping",
        "func_kwargs": [{"name": "index_type", "reference": "${inputs.index_type}",
        "type": ["string"]}, {"name": "mlindex_asset_id", "optional": true, "reference":
        "${inputs.mlindex_asset_id}", "type": ["string"]}, {"name": "mlindex_path",
        "optional": true, "reference": "${inputs.mlindex_path}", "type": ["string"]},
        {"name": "acs_index_connection", "optional": true, "reference": "${inputs.acs_index_connection}",
        "type": ["CognitiveSearchConnection"]}, {"name": "acs_index_name", "optional":
        true, "reference": "${inputs.acs_index_name}", "type": ["string"]}, {"name":
        "acs_content_field", "optional": true, "reference": "${inputs.acs_content_field}",
        "type": ["string"]}, {"name": "acs_embedding_field", "optional": true, "reference":
        "${inputs.acs_embedding_field}", "type": ["string"]}, {"name": "acs_metadata_field",
        "optional": true, "reference": "${inputs.acs_metadata_field}", "type": ["string"]},
        {"name": "semantic_configuration", "optional": true, "reference": "${inputs.semantic_configuration}",
        "type": ["string"]}, {"name": "faiss_index_path", "optional": true, "reference":
        "${inputs.faiss_index_path}", "type": ["string"]}, {"name": "pinecone_index_connection",
        "optional": true, "reference": "${inputs.pinecone_index_connection}", "type":
        ["string"]}, {"name": "pinecone_index_name", "optional": true, "reference":
        "${inputs.pinecone_index_name}", "type": ["string"]}, {"name": "pinecone_content_field",
        "optional": true, "reference": "${inputs.pinecone_content_field}", "type":
        ["string"]}, {"name": "pinecone_metadata_field", "optional": true, "reference":
        "${inputs.pinecone_metadata_field}", "type": ["string"]}, {"name": "embedding_type",
        "optional": true, "reference": "${inputs.embedding_type}", "type": ["string"]},
        {"name": "aoai_embedding_connection", "optional": true, "reference": "${inputs.aoai_embedding_connection}",
        "type": ["AzureOpenAIConnection"]}, {"name": "oai_embedding_connection", "optional":
        true, "reference": "${inputs.oai_embedding_connection}", "type": ["string"]},
        {"name": "embedding_model", "optional": true, "reference": "${inputs.embedding_model}",
        "type": ["string"]}, {"name": "embedding_deployment", "optional": true, "reference":
        "${inputs.embedding_deployment}", "type": ["string"]}], "reverse_func_path":
        "promptflow_vectordb.tool.common_index_lookup_utils.reverse_mapping"}, "input_type":
        "default"}, "mlindex_path": {"type": ["string"], "enabled_by": "index_type",
        "enabled_by_value": ["MLIndex file from path"], "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "uionly_hidden"}, "oai_embedding_connection":
        {"type": ["OpenAIConnection"], "enabled_by": "embedding_type", "enabled_by_value":
        ["OpenAI"], "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "uionly_hidden"}, "pinecone_content_field": {"type": ["string"], "enabled_by":
        "index_type", "enabled_by_value": ["Pinecone"], "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "uionly_hidden"}, "pinecone_index_connection":
        {"type": ["PineconeConnection"], "enabled_by": "index_type", "enabled_by_value":
        ["Pinecone"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_pinecone_connections"},
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "pinecone_index_name": {"type": ["string"], "enabled_by": "index_type", "enabled_by_value":
        ["Pinecone"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_pinecone_indices",
        "func_kwargs": [{"name": "pinecone_connection_name", "optional": false, "reference":
        "${inputs.pinecone_index_connection}", "type": ["string"]}]}, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "uionly_hidden"}, "pinecone_metadata_field":
        {"type": ["string"], "enabled_by": "index_type", "enabled_by_value": ["Pinecone"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "queries": {"type": ["object"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "query_type": {"type": ["string"], "dynamic_list":
        {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_available_query_types",
        "func_kwargs": [{"name": "mlindex_content", "optional": false, "reference":
        "${inputs.mlindex_content}", "type": ["string"]}]}, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "semantic_configuration":
        {"type": ["string"], "enabled_by": "index_type", "enabled_by_value": ["Azure
        AI Search"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_acs_index_semantic_configurations",
        "func_kwargs": [{"name": "acs_connection", "optional": false, "reference":
        "${inputs.acs_index_connection}", "type": ["CognitiveSearchConnection"]},
        {"name": "acs_index_name", "optional": false, "reference": "${inputs.acs_index_name}",
        "type": ["string"]}]}, "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "uionly_hidden"}, "top_k": {"type": ["int"], "default": 3, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}}, "description":
        "Search an AzureML Vector Index for relevant results using one or more text
        queries.", "module": "promptflow_vectordb.tool.common_index_lookup", "function":
        "search", "is_builtin": true, "package": "promptflow-vectordb", "package_version":
        "0.0.1", "enable_kwargs": false, "tool_state": "preview"}, {"name": "Faiss
        Index Lookup", "type": "python", "inputs": {"path": {"type": ["string"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "top_k": {"type":
        ["int"], "default": "3", "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "vector": {"type": ["list"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}}, "description":
        "Search vector based query from the FAISS index file.", "module": "promptflow_vectordb.tool.faiss_index_lookup",
        "class_name": "FaissIndexLookup", "function": "search", "is_builtin": true,
        "package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
        false, "tool_state": "stable"}, {"name": "Vector DB Lookup", "type": "python",
        "inputs": {"class_name": {"type": ["string"], "enabled_by": "connection",
        "enabled_by_type": ["WeaviateConnection"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "collection_name": {"type": ["string"], "enabled_by":
        "connection", "enabled_by_type": ["QdrantConnection"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "connection": {"type":
        ["CognitiveSearchConnection", "QdrantConnection", "WeaviateConnection"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "index_name": {"type":
        ["string"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "search_filters": {"type": ["object"], "enabled_by": "connection", "enabled_by_type":
        ["CognitiveSearchConnection", "QdrantConnection"], "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "default"}, "search_params": {"type":
        ["object"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection",
        "QdrantConnection"], "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "text_field": {"type": ["string"], "enabled_by":
        "connection", "enabled_by_type": ["CognitiveSearchConnection", "QdrantConnection",
        "WeaviateConnection"], "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "top_k": {"type": ["int"], "default": "3", "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "vector": {"type":
        ["list"], "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "default"}, "vector_field": {"type": ["string"], "enabled_by": "connection",
        "enabled_by_type": ["CognitiveSearchConnection"], "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "default"}}, "description": "Search
        vector based query from existing Vector Database.", "module": "promptflow_vectordb.tool.vector_db_lookup",
        "class_name": "VectorDBLookup", "function": "search", "is_builtin": true,
        "package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
        false, "tool_state": "stable"}, {"name": "Vector Index Lookup", "type": "python",
        "inputs": {"path": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "query": {"type": ["object"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "top_k": {"type":
        ["int"], "default": "3", "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}}, "description": "Search text or vector based query
        from AzureML Vector Index.", "module": "promptflow_vectordb.tool.vector_index_lookup",
        "class_name": "VectorIndexLookup", "function": "search", "is_builtin": true,
        "package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
        false, "tool_state": "stable"}, {"name": "print_env.py", "type": "python",
        "inputs": {"key": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}}, "source": "print_env.py", "function": "get_env_var",
        "is_builtin": false, "enable_kwargs": false, "tool_state": "stable"}], "inputs":
        {"key": {"type": "string", "is_chat_input": false}}, "outputs": {"output":
        {"type": "string", "reference": "${print_env.output.value}", "evaluation_only":
        false, "is_chat_output": false}}}, "flowRunResourceId": "azureml://locations/eastus/workspaces/00000/flows/name/flowRuns/name",
        "flowRunId": "name", "flowRunDisplayName": "name", "batchDataInput": {"dataUri":
        "azureml://datastores/workspaceblobstore/paths/LocalUpload/c32a61842e439cecc022ebcff5dc0da4/env_var_names.jsonl"},
        "flowRunType": "FlowRun", "flowType": "Default", "runtimeName": "automatic",
        "inputsMapping": {}, "outputDatastoreName": "workspaceblobstore", "childRunBasePath":
        "promptflow/PromptFlowArtifacts/name/flow_artifacts", "flowDagFileRelativePath":
        "flow.dag.yaml", "flowSnapshotId": "031ac559-2433-4b4b-87e5-1aa6a1170995",
        "studioPortalEndpoint": "https://ml.azure.com/runs/name?wsid=/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000"}'
    headers:
      connection:
      - keep-alive
      content-length:
      - '26109'
      content-type:
      - application/json; charset=utf-8
      strict-transport-security:
      - max-age=15724800; includeSubDomains; preload
      transfer-encoding:
      - chunked
      vary:
      - Accept-Encoding
      x-content-type-options:
      - nosniff
      x-request-time:
      - '0.292'
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - application/json
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - promptflow-sdk/0.0.1 azsdk-python-azuremachinelearningdesignerserviceclient/unknown
        Python/3.11.5 (Windows-10-10.0.22621-SP0)
    method: GET
    uri: https://eastus.api.azureml.ms/flow/api/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/BulkRuns/name
  response:
    body:
      string: '{"flowGraph": {"nodes": [{"name": "print_env", "type": "python", "source":
        {"type": "code", "path": "print_env.py"}, "inputs": {"key": "${inputs.key}"},
        "tool": "print_env.py", "reduce": false}], "tools": [{"name": "Azure OpenAI
        GPT-4 Turbo with Vision", "type": "custom_llm", "inputs": {"connection": {"type":
        ["AzureOpenAIConnection"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "deployment_name": {"type": ["string"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "frequency_penalty":
        {"type": ["double"], "default": 0, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "max_tokens": {"type": ["int"], "default":
        512, "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "default"}, "presence_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "stop": {"type":
        ["list"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "temperature": {"type": ["double"], "default": 1,
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "top_p": {"type": ["double"], "default": 1, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}}, "description": "Use Azure OpenAI GPT-4 Turbo
        with Vision to leverage AOAI vision ability.", "module": "promptflow.tools.aoai_gpt4v",
        "class_name": "AzureOpenAI", "function": "chat", "icon": {"dark": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA2ElEQVR4nJXSzW3CQBAF4DUSTjk+Al1AD0ikESslpBIEheRALhEpgAYSWV8OGUublf/yLuP3PPNmdndS+gdwXZrYDmh7fGE/W+wXbaYd8IYm4rxJPnZ0boI3wZcdJxs/n+AwV7DFK7aFyfQdYIMLPvES8YJNf5yp4jMeeEYdWh38gXOR35YGHe5xabvQdsHv6PLi8qV6gycc8YH3iMfQu6Lh4ASr+F5Hh3XwVWnQYzUkVlX1nccplAb1SN6Y/sfgmlK64VS8wimldIv/0yj2QLkHizG0iWP4AVAfQ34DVQONAAAAAElFTkSuQmCC",
        "light": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAx0lEQVR4nJWSwQ2CQBBFX0jAcjgqXUgPJNiIsQQrIVCIFy8GC6ABDcGDX7Mus9n1Xz7zZ+fPsLPwH4bUg0dD2wMPcbR48Uxq4AKU4iSTDwZ1LhWXipN/B3V0J6hjBTvgLHZNonewBXrgDpzEvXSIjN0BE3AACmmF4kl5F6tNzcCoLpW0SvGovFvsb4oZ2AANcAOu4ka6axCcINN3rg654sww+CYsPD0OwjcozFNh/Qcd78tqVbCIW+n+Fky472Bh/Q6SYb1EEy8tDzd+9IsVPAAAAABJRU5ErkJggg=="},
        "is_builtin": true, "package": "promptflow-tools", "package_version": "1.0.3",
        "default_prompt": "# system:\nAs an AI assistant, your task involves interpreting
        images and responding to questions about the image.\nRemember to provide accurate
        answers based on the information present in the image.\n\n# user:\nCan you
        tell me what the image depicts?\n![image]({{image_input}})\n", "enable_kwargs":
        false, "tool_state": "preview"}, {"name": "Content Safety (Text Analyze)",
        "type": "python", "inputs": {"connection": {"type": ["AzureContentSafetyConnection"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "hate_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
        ["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "self_harm_category": {"type": ["string"], "default": "medium_sensitivity",
        "enum": ["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "sexual_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
        ["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "text": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "violence_category": {"type": ["string"],
        "default": "medium_sensitivity", "enum": ["disable", "low_sensitivity", "medium_sensitivity",
        "high_sensitivity"], "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}}, "description": "Use Azure Content Safety to detect
        harmful content.", "module": "promptflow.tools.azure_content_safety", "function":
        "analyze_text", "is_builtin": true, "package": "promptflow-tools", "package_version":
        "1.0.3", "enable_kwargs": false, "deprecated_tools": ["content_safety_text.tools.content_safety_text_tool.analyze_text"],
        "tool_state": "stable"}, {"name": "Embedding", "type": "python", "inputs":
        {"connection": {"type": ["AzureOpenAIConnection", "OpenAIConnection"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "deployment_name":
        {"type": ["string"], "enabled_by": "connection", "enabled_by_type": ["AzureOpenAIConnection"],
        "model_list": ["text-embedding-ada-002", "text-search-ada-doc-001", "text-search-ada-query-001"],
        "capabilities": {"completion": false, "chat_completion": false, "embeddings":
        true}, "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "default"}, "input": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "model": {"type": ["string"], "enum": ["text-embedding-ada-002",
        "text-search-ada-doc-001", "text-search-ada-query-001"], "enabled_by": "connection",
        "enabled_by_type": ["OpenAIConnection"], "allow_manual_entry": true, "is_multi_select":
        false, "input_type": "default"}}, "description": "Use Open AI''s embedding
        model to create an embedding vector representing the input text.", "module":
        "promptflow.tools.embedding", "function": "embedding", "is_builtin": true,
        "package": "promptflow-tools", "package_version": "1.0.3", "enable_kwargs":
        false, "tool_state": "stable"}, {"name": "Open Model LLM", "type": "custom_llm",
        "inputs": {"api": {"type": ["string"], "enum": ["chat", "completion"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "deployment_name":
        {"type": ["string"], "default": "", "dynamic_list": {"func_path": "promptflow.tools.open_model_llm.list_deployment_names",
        "func_kwargs": [{"name": "endpoint", "optional": true, "reference": "${inputs.endpoint}",
        "type": ["string"]}]}, "allow_manual_entry": true, "is_multi_select": false,
        "input_type": "default"}, "endpoint_name": {"type": ["string"], "dynamic_list":
        {"func_path": "promptflow.tools.open_model_llm.list_endpoint_names"}, "allow_manual_entry":
        true, "is_multi_select": false, "input_type": "default"}, "max_new_tokens":
        {"type": ["int"], "default": 500, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "model_kwargs": {"type": ["object"], "default":
        "{}", "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "default", "advanced": true}, "temperature": {"type": ["double"], "default":
        1.0, "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "default"}, "top_p": {"type": ["double"], "default": 1.0, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default", "advanced": true}},
        "description": "Use an open model from the Azure Model catalog, deployed to
        an AzureML Online Endpoint for LLM Chat or Completion API calls.", "module":
        "promptflow.tools.open_model_llm", "class_name": "OpenModelLLM", "function":
        "call", "icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACgElEQVR4nGWSz2vcVRTFP/e9NzOZ1KDGohASslLEH6VLV0ak4l/QpeDCrfQPcNGliODKnVm4EBdBsIjQIlhciKW0ycKFVCSNbYnjdDLtmPnmO/nO9917XcxMkjYX3uLx7nnn3HOuMK2Nix4fP78ZdrYXVkLVWjf3l3B1B+HpcjzGFtmqa6cePz7/x0dnn1n5qhj3iBJPYREIURAJuCtpY8PjReDbrf9WG7H1fuefwQU9qKztTcMJT+PNnEFvjGVDBDlSsH6p/9MLzy6+NxwVqI8RAg4IPmWedMckdLYP6O6UpIaQfvyyXG012+e79/ZfHukoS1ISMT2hGTB1RkUmNgQ5QZ0w+a2VWDq73MbdEWmfnnv6UWe7oNzPaLapl5CwuLTXK9WUGBuCjqekzhP+z52ZXOrKMD3OJg0Hh778aiOuvpnYvp05d6GJO4iAO4QAe/eV36/X5LFRV4Zmn+AdkqlL8Vjp3oVioOz+WTPzzYEgsN+fgPLYyJVheSbPPVl2ikeGZRjtG52/8rHuaV9VOlpP2OtKyVndcRVCSqOhsvxa4vW359i6OuKdD+aP8Q4SYPdOzS/flGjt1JUSaMqZ5nwa1Y8qWb/Ud/eZZkHisYezEM0m+fcelDr8F1SqW2LNK6r1jXQwyLzy1hxvrLXZulry7ocL+FS6G4QIu3fG/Px1gdYeW7LIgXU2P/115TOA5G7e3Rmj2aS/m7l5pThiZzrCcE/d1XHzbln373nw7y6veeoUm5KCNKT/IPPwbiY1hYd/l5MIT65BMFt87sU4v9D7/JMflr44uV6hGh1+L4RCkg6z5iK2tAhNLeLsNGwYA4fDYnC/drvuuFxe86NV/x+Ut27g0FvykgAAAABJRU5ErkJggg==",
        "is_builtin": true, "package": "promptflow-tools", "package_version": "1.0.3",
        "enable_kwargs": false, "tool_state": "stable"}, {"name": "OpenAI GPT-4V",
        "type": "custom_llm", "inputs": {"connection": {"type": ["OpenAIConnection"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "frequency_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "max_tokens": {"type":
        ["int"], "default": 512, "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "model": {"type": ["string"], "enum": ["gpt-4-vision-preview"],
        "allow_manual_entry": true, "is_multi_select": false, "input_type": "default"},
        "presence_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "stop": {"type":
        ["list"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "temperature": {"type": ["double"], "default": 1,
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "top_p": {"type": ["double"], "default": 1, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}}, "description": "Use OpenAI GPT-4V to leverage
        vision ability.", "module": "promptflow.tools.openai_gpt4v", "class_name":
        "OpenAI", "function": "chat", "icon": {"dark": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA2ElEQVR4nJXSzW3CQBAF4DUSTjk+Al1AD0ikESslpBIEheRALhEpgAYSWV8OGUublf/yLuP3PPNmdndS+gdwXZrYDmh7fGE/W+wXbaYd8IYm4rxJPnZ0boI3wZcdJxs/n+AwV7DFK7aFyfQdYIMLPvES8YJNf5yp4jMeeEYdWh38gXOR35YGHe5xabvQdsHv6PLi8qV6gycc8YH3iMfQu6Lh4ASr+F5Hh3XwVWnQYzUkVlX1nccplAb1SN6Y/sfgmlK64VS8wimldIv/0yj2QLkHizG0iWP4AVAfQ34DVQONAAAAAElFTkSuQmCC",
        "light": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAx0lEQVR4nJWSwQ2CQBBFX0jAcjgqXUgPJNiIsQQrIVCIFy8GC6ABDcGDX7Mus9n1Xz7zZ+fPsLPwH4bUg0dD2wMPcbR48Uxq4AKU4iSTDwZ1LhWXipN/B3V0J6hjBTvgLHZNonewBXrgDpzEvXSIjN0BE3AACmmF4kl5F6tNzcCoLpW0SvGovFvsb4oZ2AANcAOu4ka6axCcINN3rg654sww+CYsPD0OwjcozFNh/Qcd78tqVbCIW+n+Fky472Bh/Q6SYb1EEy8tDzd+9IsVPAAAAABJRU5ErkJggg=="},
        "is_builtin": true, "package": "promptflow-tools", "package_version": "1.0.3",
        "default_prompt": "# system:\nAs an AI assistant, your task involves interpreting
        images and responding to questions about the image.\nRemember to provide accurate
        answers based on the information present in the image.\n\n# user:\nCan you
        tell me what the image depicts?\n![image]({{image_input}})\n", "enable_kwargs":
        false, "tool_state": "preview"}, {"name": "Serp API", "type": "python", "inputs":
        {"connection": {"type": ["SerpConnection"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "engine": {"type": ["string"], "default":
        "google", "enum": ["google", "bing"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "location": {"type": ["string"], "default":
        "", "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "num": {"type": ["int"], "default": "10", "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "query": {"type": ["string"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "safe": {"type":
        ["string"], "default": "off", "enum": ["active", "off"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}}, "description":
        "Use Serp API to obtain search results from a specific search engine.", "module":
        "promptflow.tools.serpapi", "class_name": "SerpAPI", "function": "search",
        "is_builtin": true, "package": "promptflow-tools", "package_version": "1.0.3",
        "enable_kwargs": false, "tool_state": "stable"}, {"name": "Index Lookup",
        "type": "python", "inputs": {"acs_content_field": {"type": ["string"], "enabled_by":
        "index_type", "enabled_by_value": ["Azure AI Search"], "dynamic_list": {"func_path":
        "promptflow_vectordb.tool.common_index_lookup_utils.list_acs_index_fields",
        "func_kwargs": [{"name": "acs_connection", "optional": false, "reference":
        "${inputs.acs_index_connection}", "type": ["CognitiveSearchConnection"]},
        {"name": "acs_index_name", "optional": false, "reference": "${inputs.acs_index_name}",
        "type": ["string"]}, {"default": "Edm.String", "name": "field_data_type",
        "optional": false, "type": ["string"]}]}, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "uionly_hidden"}, "acs_embedding_field": {"type": ["string"],
        "enabled_by": "index_type", "enabled_by_value": ["Azure AI Search"], "dynamic_list":
        {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_acs_index_fields",
        "func_kwargs": [{"name": "acs_connection", "optional": false, "reference":
        "${inputs.acs_index_connection}", "type": ["CognitiveSearchConnection"]},
        {"name": "acs_index_name", "optional": false, "reference": "${inputs.acs_index_name}",
        "type": ["string"]}, {"default": "Collection(Edm.Single)", "name": "field_data_type",
        "optional": false, "type": ["string"]}]}, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "uionly_hidden"}, "acs_index_connection": {"type": ["CognitiveSearchConnection"],
        "enabled_by": "index_type", "enabled_by_value": ["Azure AI Search"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "uionly_hidden"}, "acs_index_name":
        {"type": ["string"], "enabled_by": "index_type", "enabled_by_value": ["Azure
        AI Search"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_acs_indices",
        "func_kwargs": [{"name": "acs_connection", "optional": false, "reference":
        "${inputs.acs_index_connection}", "type": ["CognitiveSearchConnection"]}]},
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "acs_metadata_field": {"type": ["string"], "enabled_by": "index_type", "enabled_by_value":
        ["Azure AI Search"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_acs_index_fields",
        "func_kwargs": [{"name": "acs_connection", "optional": false, "reference":
        "${inputs.acs_index_connection}", "type": ["CognitiveSearchConnection"]},
        {"name": "acs_index_name", "optional": false, "reference": "${inputs.acs_index_name}",
        "type": ["string"]}, {"default": "Edm.String", "name": "field_data_type",
        "optional": false, "type": ["string"]}]}, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "uionly_hidden"}, "aoai_embedding_connection": {"type":
        ["AzureOpenAIConnection"], "enabled_by": "embedding_type", "enabled_by_value":
        ["Azure OpenAI"], "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "uionly_hidden"}, "embedding_deployment": {"type": ["string"], "enabled_by":
        "embedding_type", "enabled_by_value": ["Azure OpenAI"], "dynamic_list": {"func_path":
        "promptflow_vectordb.tool.common_index_lookup_utils.list_aoai_embedding_deployments",
        "func_kwargs": [{"name": "aoai_connection", "optional": false, "reference":
        "${inputs.aoai_embedding_connection}", "type": ["AzurOpenAIConnection"]}]},
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "embedding_model": {"type": ["string"], "enabled_by": "embedding_type", "enabled_by_value":
        ["OpenAI", "Hugging Face"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_embedding_models",
        "func_kwargs": [{"name": "embedding_type", "optional": false, "reference":
        "${inputs.embedding_type}", "type": ["string"]}]}, "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "uionly_hidden"}, "embedding_type":
        {"type": ["string"], "enabled_by": "index_type", "enabled_by_value": ["Azure
        AI Search", "FAISS", "Pinecone"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_available_embedding_types",
        "func_kwargs": [{"name": "index_type", "optional": false, "reference": "${inputs.index_type}",
        "type": ["string"]}]}, "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "uionly_hidden"}, "faiss_index_path": {"type": ["string"], "enabled_by":
        "index_type", "enabled_by_value": ["FAISS"], "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "uionly_hidden"}, "index_type": {"type":
        ["string"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_available_index_types"},
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "mlindex_asset_id": {"type": ["string"], "enabled_by": "index_type", "enabled_by_value":
        ["Registered Index"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_registered_mlindices"},
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "mlindex_content": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
        false, "generated_by": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.forward_mapping",
        "func_kwargs": [{"name": "index_type", "reference": "${inputs.index_type}",
        "type": ["string"]}, {"name": "mlindex_asset_id", "optional": true, "reference":
        "${inputs.mlindex_asset_id}", "type": ["string"]}, {"name": "mlindex_path",
        "optional": true, "reference": "${inputs.mlindex_path}", "type": ["string"]},
        {"name": "acs_index_connection", "optional": true, "reference": "${inputs.acs_index_connection}",
        "type": ["CognitiveSearchConnection"]}, {"name": "acs_index_name", "optional":
        true, "reference": "${inputs.acs_index_name}", "type": ["string"]}, {"name":
        "acs_content_field", "optional": true, "reference": "${inputs.acs_content_field}",
        "type": ["string"]}, {"name": "acs_embedding_field", "optional": true, "reference":
        "${inputs.acs_embedding_field}", "type": ["string"]}, {"name": "acs_metadata_field",
        "optional": true, "reference": "${inputs.acs_metadata_field}", "type": ["string"]},
        {"name": "semantic_configuration", "optional": true, "reference": "${inputs.semantic_configuration}",
        "type": ["string"]}, {"name": "faiss_index_path", "optional": true, "reference":
        "${inputs.faiss_index_path}", "type": ["string"]}, {"name": "pinecone_index_connection",
        "optional": true, "reference": "${inputs.pinecone_index_connection}", "type":
        ["string"]}, {"name": "pinecone_index_name", "optional": true, "reference":
        "${inputs.pinecone_index_name}", "type": ["string"]}, {"name": "pinecone_content_field",
        "optional": true, "reference": "${inputs.pinecone_content_field}", "type":
        ["string"]}, {"name": "pinecone_metadata_field", "optional": true, "reference":
        "${inputs.pinecone_metadata_field}", "type": ["string"]}, {"name": "embedding_type",
        "optional": true, "reference": "${inputs.embedding_type}", "type": ["string"]},
        {"name": "aoai_embedding_connection", "optional": true, "reference": "${inputs.aoai_embedding_connection}",
        "type": ["AzureOpenAIConnection"]}, {"name": "oai_embedding_connection", "optional":
        true, "reference": "${inputs.oai_embedding_connection}", "type": ["string"]},
        {"name": "embedding_model", "optional": true, "reference": "${inputs.embedding_model}",
        "type": ["string"]}, {"name": "embedding_deployment", "optional": true, "reference":
        "${inputs.embedding_deployment}", "type": ["string"]}], "reverse_func_path":
        "promptflow_vectordb.tool.common_index_lookup_utils.reverse_mapping"}, "input_type":
        "default"}, "mlindex_path": {"type": ["string"], "enabled_by": "index_type",
        "enabled_by_value": ["MLIndex file from path"], "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "uionly_hidden"}, "oai_embedding_connection":
        {"type": ["OpenAIConnection"], "enabled_by": "embedding_type", "enabled_by_value":
        ["OpenAI"], "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "uionly_hidden"}, "pinecone_content_field": {"type": ["string"], "enabled_by":
        "index_type", "enabled_by_value": ["Pinecone"], "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "uionly_hidden"}, "pinecone_index_connection":
        {"type": ["PineconeConnection"], "enabled_by": "index_type", "enabled_by_value":
        ["Pinecone"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_pinecone_connections"},
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "pinecone_index_name": {"type": ["string"], "enabled_by": "index_type", "enabled_by_value":
        ["Pinecone"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_pinecone_indices",
        "func_kwargs": [{"name": "pinecone_connection_name", "optional": false, "reference":
        "${inputs.pinecone_index_connection}", "type": ["string"]}]}, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "uionly_hidden"}, "pinecone_metadata_field":
        {"type": ["string"], "enabled_by": "index_type", "enabled_by_value": ["Pinecone"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "queries": {"type": ["object"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "query_type": {"type": ["string"], "dynamic_list":
        {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_available_query_types",
        "func_kwargs": [{"name": "mlindex_content", "optional": false, "reference":
        "${inputs.mlindex_content}", "type": ["string"]}]}, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "semantic_configuration":
        {"type": ["string"], "enabled_by": "index_type", "enabled_by_value": ["Azure
        AI Search"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_acs_index_semantic_configurations",
        "func_kwargs": [{"name": "acs_connection", "optional": false, "reference":
        "${inputs.acs_index_connection}", "type": ["CognitiveSearchConnection"]},
        {"name": "acs_index_name", "optional": false, "reference": "${inputs.acs_index_name}",
        "type": ["string"]}]}, "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "uionly_hidden"}, "top_k": {"type": ["int"], "default": 3, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}}, "description":
        "Search an AzureML Vector Index for relevant results using one or more text
        queries.", "module": "promptflow_vectordb.tool.common_index_lookup", "function":
        "search", "is_builtin": true, "package": "promptflow-vectordb", "package_version":
        "0.0.1", "enable_kwargs": false, "tool_state": "preview"}, {"name": "Faiss
        Index Lookup", "type": "python", "inputs": {"path": {"type": ["string"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "top_k": {"type":
        ["int"], "default": "3", "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "vector": {"type": ["list"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}}, "description":
        "Search vector based query from the FAISS index file.", "module": "promptflow_vectordb.tool.faiss_index_lookup",
        "class_name": "FaissIndexLookup", "function": "search", "is_builtin": true,
        "package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
        false, "tool_state": "stable"}, {"name": "Vector DB Lookup", "type": "python",
        "inputs": {"class_name": {"type": ["string"], "enabled_by": "connection",
        "enabled_by_type": ["WeaviateConnection"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "collection_name": {"type": ["string"], "enabled_by":
        "connection", "enabled_by_type": ["QdrantConnection"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "connection": {"type":
        ["CognitiveSearchConnection", "QdrantConnection", "WeaviateConnection"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "index_name": {"type":
        ["string"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "search_filters": {"type": ["object"], "enabled_by": "connection", "enabled_by_type":
        ["CognitiveSearchConnection", "QdrantConnection"], "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "default"}, "search_params": {"type":
        ["object"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection",
        "QdrantConnection"], "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "text_field": {"type": ["string"], "enabled_by":
        "connection", "enabled_by_type": ["CognitiveSearchConnection", "QdrantConnection",
        "WeaviateConnection"], "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "top_k": {"type": ["int"], "default": "3", "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "vector": {"type":
        ["list"], "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "default"}, "vector_field": {"type": ["string"], "enabled_by": "connection",
        "enabled_by_type": ["CognitiveSearchConnection"], "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "default"}}, "description": "Search
        vector based query from existing Vector Database.", "module": "promptflow_vectordb.tool.vector_db_lookup",
        "class_name": "VectorDBLookup", "function": "search", "is_builtin": true,
        "package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
        false, "tool_state": "stable"}, {"name": "Vector Index Lookup", "type": "python",
        "inputs": {"path": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "query": {"type": ["object"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "top_k": {"type":
        ["int"], "default": "3", "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}}, "description": "Search text or vector based query
        from AzureML Vector Index.", "module": "promptflow_vectordb.tool.vector_index_lookup",
        "class_name": "VectorIndexLookup", "function": "search", "is_builtin": true,
        "package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
        false, "tool_state": "stable"}, {"name": "print_env.py", "type": "python",
        "inputs": {"key": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}}, "source": "print_env.py", "function": "get_env_var",
        "is_builtin": false, "enable_kwargs": false, "tool_state": "stable"}], "inputs":
        {"key": {"type": "string", "is_chat_input": false}}, "outputs": {"output":
        {"type": "string", "reference": "${print_env.output.value}", "evaluation_only":
        false, "is_chat_output": false}}}, "flowRunResourceId": "azureml://locations/eastus/workspaces/00000/flows/name/flowRuns/name",
        "flowRunId": "name", "flowRunDisplayName": "name", "batchDataInput": {"dataUri":
        "azureml://datastores/workspaceblobstore/paths/LocalUpload/c32a61842e439cecc022ebcff5dc0da4/env_var_names.jsonl"},
        "flowRunType": "FlowRun", "flowType": "Default", "runtimeName": "automatic",
        "inputsMapping": {}, "outputDatastoreName": "workspaceblobstore", "childRunBasePath":
        "promptflow/PromptFlowArtifacts/name/flow_artifacts", "flowDagFileRelativePath":
        "flow.dag.yaml", "flowSnapshotId": "031ac559-2433-4b4b-87e5-1aa6a1170995",
        "studioPortalEndpoint": "https://ml.azure.com/runs/name?wsid=/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000"}'
    headers:
      connection:
      - keep-alive
      content-length:
      - '26109'
      content-type:
      - application/json; charset=utf-8
      strict-transport-security:
      - max-age=15724800; includeSubDomains; preload
      transfer-encoding:
      - chunked
      vary:
      - Accept-Encoding
      x-content-type-options:
      - nosniff
      x-request-time:
      - '0.372'
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - application/json
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - promptflow-sdk/0.0.1 azsdk-python-azuremachinelearningdesignerserviceclient/unknown
        Python/3.11.5 (Windows-10-10.0.22621-SP0)
    method: GET
    uri: https://eastus.api.azureml.ms/flow/api/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/BulkRuns/name
  response:
    body:
      string: '{"flowGraph": {"nodes": [{"name": "print_env", "type": "python", "source":
        {"type": "code", "path": "print_env.py"}, "inputs": {"key": "${inputs.key}"},
        "tool": "print_env.py", "reduce": false}], "tools": [{"name": "Azure OpenAI
        GPT-4 Turbo with Vision", "type": "custom_llm", "inputs": {"connection": {"type":
        ["AzureOpenAIConnection"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "deployment_name": {"type": ["string"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "frequency_penalty":
        {"type": ["double"], "default": 0, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "max_tokens": {"type": ["int"], "default":
        512, "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "default"}, "presence_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "stop": {"type":
        ["list"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "temperature": {"type": ["double"], "default": 1,
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "top_p": {"type": ["double"], "default": 1, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}}, "description": "Use Azure OpenAI GPT-4 Turbo
        with Vision to leverage AOAI vision ability.", "module": "promptflow.tools.aoai_gpt4v",
        "class_name": "AzureOpenAI", "function": "chat", "icon": {"dark": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA2ElEQVR4nJXSzW3CQBAF4DUSTjk+Al1AD0ikESslpBIEheRALhEpgAYSWV8OGUublf/yLuP3PPNmdndS+gdwXZrYDmh7fGE/W+wXbaYd8IYm4rxJPnZ0boI3wZcdJxs/n+AwV7DFK7aFyfQdYIMLPvES8YJNf5yp4jMeeEYdWh38gXOR35YGHe5xabvQdsHv6PLi8qV6gycc8YH3iMfQu6Lh4ASr+F5Hh3XwVWnQYzUkVlX1nccplAb1SN6Y/sfgmlK64VS8wimldIv/0yj2QLkHizG0iWP4AVAfQ34DVQONAAAAAElFTkSuQmCC",
        "light": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAx0lEQVR4nJWSwQ2CQBBFX0jAcjgqXUgPJNiIsQQrIVCIFy8GC6ABDcGDX7Mus9n1Xz7zZ+fPsLPwH4bUg0dD2wMPcbR48Uxq4AKU4iSTDwZ1LhWXipN/B3V0J6hjBTvgLHZNonewBXrgDpzEvXSIjN0BE3AACmmF4kl5F6tNzcCoLpW0SvGovFvsb4oZ2AANcAOu4ka6axCcINN3rg654sww+CYsPD0OwjcozFNh/Qcd78tqVbCIW+n+Fky472Bh/Q6SYb1EEy8tDzd+9IsVPAAAAABJRU5ErkJggg=="},
        "is_builtin": true, "package": "promptflow-tools", "package_version": "1.0.3",
        "default_prompt": "# system:\nAs an AI assistant, your task involves interpreting
        images and responding to questions about the image.\nRemember to provide accurate
        answers based on the information present in the image.\n\n# user:\nCan you
        tell me what the image depicts?\n![image]({{image_input}})\n", "enable_kwargs":
        false, "tool_state": "preview"}, {"name": "Content Safety (Text Analyze)",
        "type": "python", "inputs": {"connection": {"type": ["AzureContentSafetyConnection"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "hate_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
        ["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "self_harm_category": {"type": ["string"], "default": "medium_sensitivity",
        "enum": ["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "sexual_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
        ["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "text": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "violence_category": {"type": ["string"],
        "default": "medium_sensitivity", "enum": ["disable", "low_sensitivity", "medium_sensitivity",
        "high_sensitivity"], "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}}, "description": "Use Azure Content Safety to detect
        harmful content.", "module": "promptflow.tools.azure_content_safety", "function":
        "analyze_text", "is_builtin": true, "package": "promptflow-tools", "package_version":
        "1.0.3", "enable_kwargs": false, "deprecated_tools": ["content_safety_text.tools.content_safety_text_tool.analyze_text"],
        "tool_state": "stable"}, {"name": "Embedding", "type": "python", "inputs":
        {"connection": {"type": ["AzureOpenAIConnection", "OpenAIConnection"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "deployment_name":
        {"type": ["string"], "enabled_by": "connection", "enabled_by_type": ["AzureOpenAIConnection"],
        "model_list": ["text-embedding-ada-002", "text-search-ada-doc-001", "text-search-ada-query-001"],
        "capabilities": {"completion": false, "chat_completion": false, "embeddings":
        true}, "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "default"}, "input": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "model": {"type": ["string"], "enum": ["text-embedding-ada-002",
        "text-search-ada-doc-001", "text-search-ada-query-001"], "enabled_by": "connection",
        "enabled_by_type": ["OpenAIConnection"], "allow_manual_entry": true, "is_multi_select":
        false, "input_type": "default"}}, "description": "Use Open AI''s embedding
        model to create an embedding vector representing the input text.", "module":
        "promptflow.tools.embedding", "function": "embedding", "is_builtin": true,
        "package": "promptflow-tools", "package_version": "1.0.3", "enable_kwargs":
        false, "tool_state": "stable"}, {"name": "Open Model LLM", "type": "custom_llm",
        "inputs": {"api": {"type": ["string"], "enum": ["chat", "completion"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "deployment_name":
        {"type": ["string"], "default": "", "dynamic_list": {"func_path": "promptflow.tools.open_model_llm.list_deployment_names",
        "func_kwargs": [{"name": "endpoint", "optional": true, "reference": "${inputs.endpoint}",
        "type": ["string"]}]}, "allow_manual_entry": true, "is_multi_select": false,
        "input_type": "default"}, "endpoint_name": {"type": ["string"], "dynamic_list":
        {"func_path": "promptflow.tools.open_model_llm.list_endpoint_names"}, "allow_manual_entry":
        true, "is_multi_select": false, "input_type": "default"}, "max_new_tokens":
        {"type": ["int"], "default": 500, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "model_kwargs": {"type": ["object"], "default":
        "{}", "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "default", "advanced": true}, "temperature": {"type": ["double"], "default":
        1.0, "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "default"}, "top_p": {"type": ["double"], "default": 1.0, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default", "advanced": true}},
        "description": "Use an open model from the Azure Model catalog, deployed to
        an AzureML Online Endpoint for LLM Chat or Completion API calls.", "module":
        "promptflow.tools.open_model_llm", "class_name": "OpenModelLLM", "function":
        "call", "icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACgElEQVR4nGWSz2vcVRTFP/e9NzOZ1KDGohASslLEH6VLV0ak4l/QpeDCrfQPcNGliODKnVm4EBdBsIjQIlhciKW0ycKFVCSNbYnjdDLtmPnmO/nO9917XcxMkjYX3uLx7nnn3HOuMK2Nix4fP78ZdrYXVkLVWjf3l3B1B+HpcjzGFtmqa6cePz7/x0dnn1n5qhj3iBJPYREIURAJuCtpY8PjReDbrf9WG7H1fuefwQU9qKztTcMJT+PNnEFvjGVDBDlSsH6p/9MLzy6+NxwVqI8RAg4IPmWedMckdLYP6O6UpIaQfvyyXG012+e79/ZfHukoS1ISMT2hGTB1RkUmNgQ5QZ0w+a2VWDq73MbdEWmfnnv6UWe7oNzPaLapl5CwuLTXK9WUGBuCjqekzhP+z52ZXOrKMD3OJg0Hh778aiOuvpnYvp05d6GJO4iAO4QAe/eV36/X5LFRV4Zmn+AdkqlL8Vjp3oVioOz+WTPzzYEgsN+fgPLYyJVheSbPPVl2ikeGZRjtG52/8rHuaV9VOlpP2OtKyVndcRVCSqOhsvxa4vW359i6OuKdD+aP8Q4SYPdOzS/flGjt1JUSaMqZ5nwa1Y8qWb/Ud/eZZkHisYezEM0m+fcelDr8F1SqW2LNK6r1jXQwyLzy1hxvrLXZulry7ocL+FS6G4QIu3fG/Px1gdYeW7LIgXU2P/115TOA5G7e3Rmj2aS/m7l5pThiZzrCcE/d1XHzbln373nw7y6veeoUm5KCNKT/IPPwbiY1hYd/l5MIT65BMFt87sU4v9D7/JMflr44uV6hGh1+L4RCkg6z5iK2tAhNLeLsNGwYA4fDYnC/drvuuFxe86NV/x+Ut27g0FvykgAAAABJRU5ErkJggg==",
        "is_builtin": true, "package": "promptflow-tools", "package_version": "1.0.3",
        "enable_kwargs": false, "tool_state": "stable"}, {"name": "OpenAI GPT-4V",
        "type": "custom_llm", "inputs": {"connection": {"type": ["OpenAIConnection"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "frequency_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "max_tokens": {"type":
        ["int"], "default": 512, "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "model": {"type": ["string"], "enum": ["gpt-4-vision-preview"],
        "allow_manual_entry": true, "is_multi_select": false, "input_type": "default"},
        "presence_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "stop": {"type":
        ["list"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "temperature": {"type": ["double"], "default": 1,
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "top_p": {"type": ["double"], "default": 1, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}}, "description": "Use OpenAI GPT-4V to leverage
        vision ability.", "module": "promptflow.tools.openai_gpt4v", "class_name":
        "OpenAI", "function": "chat", "icon": {"dark": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA2ElEQVR4nJXSzW3CQBAF4DUSTjk+Al1AD0ikESslpBIEheRALhEpgAYSWV8OGUublf/yLuP3PPNmdndS+gdwXZrYDmh7fGE/W+wXbaYd8IYm4rxJPnZ0boI3wZcdJxs/n+AwV7DFK7aFyfQdYIMLPvES8YJNf5yp4jMeeEYdWh38gXOR35YGHe5xabvQdsHv6PLi8qV6gycc8YH3iMfQu6Lh4ASr+F5Hh3XwVWnQYzUkVlX1nccplAb1SN6Y/sfgmlK64VS8wimldIv/0yj2QLkHizG0iWP4AVAfQ34DVQONAAAAAElFTkSuQmCC",
        "light": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAx0lEQVR4nJWSwQ2CQBBFX0jAcjgqXUgPJNiIsQQrIVCIFy8GC6ABDcGDX7Mus9n1Xz7zZ+fPsLPwH4bUg0dD2wMPcbR48Uxq4AKU4iSTDwZ1LhWXipN/B3V0J6hjBTvgLHZNonewBXrgDpzEvXSIjN0BE3AACmmF4kl5F6tNzcCoLpW0SvGovFvsb4oZ2AANcAOu4ka6axCcINN3rg654sww+CYsPD0OwjcozFNh/Qcd78tqVbCIW+n+Fky472Bh/Q6SYb1EEy8tDzd+9IsVPAAAAABJRU5ErkJggg=="},
        "is_builtin": true, "package": "promptflow-tools", "package_version": "1.0.3",
        "default_prompt": "# system:\nAs an AI assistant, your task involves interpreting
        images and responding to questions about the image.\nRemember to provide accurate
        answers based on the information present in the image.\n\n# user:\nCan you
        tell me what the image depicts?\n![image]({{image_input}})\n", "enable_kwargs":
        false, "tool_state": "preview"}, {"name": "Serp API", "type": "python", "inputs":
        {"connection": {"type": ["SerpConnection"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "engine": {"type": ["string"], "default":
        "google", "enum": ["google", "bing"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "location": {"type": ["string"], "default":
        "", "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "num": {"type": ["int"], "default": "10", "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "query": {"type": ["string"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "safe": {"type":
        ["string"], "default": "off", "enum": ["active", "off"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}}, "description":
        "Use Serp API to obtain search results from a specific search engine.", "module":
        "promptflow.tools.serpapi", "class_name": "SerpAPI", "function": "search",
        "is_builtin": true, "package": "promptflow-tools", "package_version": "1.0.3",
        "enable_kwargs": false, "tool_state": "stable"}, {"name": "Index Lookup",
        "type": "python", "inputs": {"acs_content_field": {"type": ["string"], "enabled_by":
        "index_type", "enabled_by_value": ["Azure AI Search"], "dynamic_list": {"func_path":
        "promptflow_vectordb.tool.common_index_lookup_utils.list_acs_index_fields",
        "func_kwargs": [{"name": "acs_connection", "optional": false, "reference":
        "${inputs.acs_index_connection}", "type": ["CognitiveSearchConnection"]},
        {"name": "acs_index_name", "optional": false, "reference": "${inputs.acs_index_name}",
        "type": ["string"]}, {"default": "Edm.String", "name": "field_data_type",
        "optional": false, "type": ["string"]}]}, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "uionly_hidden"}, "acs_embedding_field": {"type": ["string"],
        "enabled_by": "index_type", "enabled_by_value": ["Azure AI Search"], "dynamic_list":
        {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_acs_index_fields",
        "func_kwargs": [{"name": "acs_connection", "optional": false, "reference":
        "${inputs.acs_index_connection}", "type": ["CognitiveSearchConnection"]},
        {"name": "acs_index_name", "optional": false, "reference": "${inputs.acs_index_name}",
        "type": ["string"]}, {"default": "Collection(Edm.Single)", "name": "field_data_type",
        "optional": false, "type": ["string"]}]}, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "uionly_hidden"}, "acs_index_connection": {"type": ["CognitiveSearchConnection"],
        "enabled_by": "index_type", "enabled_by_value": ["Azure AI Search"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "uionly_hidden"}, "acs_index_name":
        {"type": ["string"], "enabled_by": "index_type", "enabled_by_value": ["Azure
        AI Search"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_acs_indices",
        "func_kwargs": [{"name": "acs_connection", "optional": false, "reference":
        "${inputs.acs_index_connection}", "type": ["CognitiveSearchConnection"]}]},
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "acs_metadata_field": {"type": ["string"], "enabled_by": "index_type", "enabled_by_value":
        ["Azure AI Search"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_acs_index_fields",
        "func_kwargs": [{"name": "acs_connection", "optional": false, "reference":
        "${inputs.acs_index_connection}", "type": ["CognitiveSearchConnection"]},
        {"name": "acs_index_name", "optional": false, "reference": "${inputs.acs_index_name}",
        "type": ["string"]}, {"default": "Edm.String", "name": "field_data_type",
        "optional": false, "type": ["string"]}]}, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "uionly_hidden"}, "aoai_embedding_connection": {"type":
        ["AzureOpenAIConnection"], "enabled_by": "embedding_type", "enabled_by_value":
        ["Azure OpenAI"], "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "uionly_hidden"}, "embedding_deployment": {"type": ["string"], "enabled_by":
        "embedding_type", "enabled_by_value": ["Azure OpenAI"], "dynamic_list": {"func_path":
        "promptflow_vectordb.tool.common_index_lookup_utils.list_aoai_embedding_deployments",
        "func_kwargs": [{"name": "aoai_connection", "optional": false, "reference":
        "${inputs.aoai_embedding_connection}", "type": ["AzurOpenAIConnection"]}]},
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "embedding_model": {"type": ["string"], "enabled_by": "embedding_type", "enabled_by_value":
        ["OpenAI", "Hugging Face"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_embedding_models",
        "func_kwargs": [{"name": "embedding_type", "optional": false, "reference":
        "${inputs.embedding_type}", "type": ["string"]}]}, "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "uionly_hidden"}, "embedding_type":
        {"type": ["string"], "enabled_by": "index_type", "enabled_by_value": ["Azure
        AI Search", "FAISS", "Pinecone"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_available_embedding_types",
        "func_kwargs": [{"name": "index_type", "optional": false, "reference": "${inputs.index_type}",
        "type": ["string"]}]}, "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "uionly_hidden"}, "faiss_index_path": {"type": ["string"], "enabled_by":
        "index_type", "enabled_by_value": ["FAISS"], "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "uionly_hidden"}, "index_type": {"type":
        ["string"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_available_index_types"},
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "mlindex_asset_id": {"type": ["string"], "enabled_by": "index_type", "enabled_by_value":
        ["Registered Index"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_registered_mlindices"},
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "mlindex_content": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
        false, "generated_by": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.forward_mapping",
        "func_kwargs": [{"name": "index_type", "reference": "${inputs.index_type}",
        "type": ["string"]}, {"name": "mlindex_asset_id", "optional": true, "reference":
        "${inputs.mlindex_asset_id}", "type": ["string"]}, {"name": "mlindex_path",
        "optional": true, "reference": "${inputs.mlindex_path}", "type": ["string"]},
        {"name": "acs_index_connection", "optional": true, "reference": "${inputs.acs_index_connection}",
        "type": ["CognitiveSearchConnection"]}, {"name": "acs_index_name", "optional":
        true, "reference": "${inputs.acs_index_name}", "type": ["string"]}, {"name":
        "acs_content_field", "optional": true, "reference": "${inputs.acs_content_field}",
        "type": ["string"]}, {"name": "acs_embedding_field", "optional": true, "reference":
        "${inputs.acs_embedding_field}", "type": ["string"]}, {"name": "acs_metadata_field",
        "optional": true, "reference": "${inputs.acs_metadata_field}", "type": ["string"]},
        {"name": "semantic_configuration", "optional": true, "reference": "${inputs.semantic_configuration}",
        "type": ["string"]}, {"name": "faiss_index_path", "optional": true, "reference":
        "${inputs.faiss_index_path}", "type": ["string"]}, {"name": "pinecone_index_connection",
        "optional": true, "reference": "${inputs.pinecone_index_connection}", "type":
        ["string"]}, {"name": "pinecone_index_name", "optional": true, "reference":
        "${inputs.pinecone_index_name}", "type": ["string"]}, {"name": "pinecone_content_field",
        "optional": true, "reference": "${inputs.pinecone_content_field}", "type":
        ["string"]}, {"name": "pinecone_metadata_field", "optional": true, "reference":
        "${inputs.pinecone_metadata_field}", "type": ["string"]}, {"name": "embedding_type",
        "optional": true, "reference": "${inputs.embedding_type}", "type": ["string"]},
        {"name": "aoai_embedding_connection", "optional": true, "reference": "${inputs.aoai_embedding_connection}",
        "type": ["AzureOpenAIConnection"]}, {"name": "oai_embedding_connection", "optional":
        true, "reference": "${inputs.oai_embedding_connection}", "type": ["string"]},
        {"name": "embedding_model", "optional": true, "reference": "${inputs.embedding_model}",
        "type": ["string"]}, {"name": "embedding_deployment", "optional": true, "reference":
        "${inputs.embedding_deployment}", "type": ["string"]}], "reverse_func_path":
        "promptflow_vectordb.tool.common_index_lookup_utils.reverse_mapping"}, "input_type":
        "default"}, "mlindex_path": {"type": ["string"], "enabled_by": "index_type",
        "enabled_by_value": ["MLIndex file from path"], "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "uionly_hidden"}, "oai_embedding_connection":
        {"type": ["OpenAIConnection"], "enabled_by": "embedding_type", "enabled_by_value":
        ["OpenAI"], "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "uionly_hidden"}, "pinecone_content_field": {"type": ["string"], "enabled_by":
        "index_type", "enabled_by_value": ["Pinecone"], "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "uionly_hidden"}, "pinecone_index_connection":
        {"type": ["PineconeConnection"], "enabled_by": "index_type", "enabled_by_value":
        ["Pinecone"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_pinecone_connections"},
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "pinecone_index_name": {"type": ["string"], "enabled_by": "index_type", "enabled_by_value":
        ["Pinecone"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_pinecone_indices",
        "func_kwargs": [{"name": "pinecone_connection_name", "optional": false, "reference":
        "${inputs.pinecone_index_connection}", "type": ["string"]}]}, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "uionly_hidden"}, "pinecone_metadata_field":
        {"type": ["string"], "enabled_by": "index_type", "enabled_by_value": ["Pinecone"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "queries": {"type": ["object"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "query_type": {"type": ["string"], "dynamic_list":
        {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_available_query_types",
        "func_kwargs": [{"name": "mlindex_content", "optional": false, "reference":
        "${inputs.mlindex_content}", "type": ["string"]}]}, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "semantic_configuration":
        {"type": ["string"], "enabled_by": "index_type", "enabled_by_value": ["Azure
        AI Search"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_acs_index_semantic_configurations",
        "func_kwargs": [{"name": "acs_connection", "optional": false, "reference":
        "${inputs.acs_index_connection}", "type": ["CognitiveSearchConnection"]},
        {"name": "acs_index_name", "optional": false, "reference": "${inputs.acs_index_name}",
        "type": ["string"]}]}, "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "uionly_hidden"}, "top_k": {"type": ["int"], "default": 3, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}}, "description":
        "Search an AzureML Vector Index for relevant results using one or more text
        queries.", "module": "promptflow_vectordb.tool.common_index_lookup", "function":
        "search", "is_builtin": true, "package": "promptflow-vectordb", "package_version":
        "0.0.1", "enable_kwargs": false, "tool_state": "preview"}, {"name": "Faiss
        Index Lookup", "type": "python", "inputs": {"path": {"type": ["string"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "top_k": {"type":
        ["int"], "default": "3", "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "vector": {"type": ["list"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}}, "description":
        "Search vector based query from the FAISS index file.", "module": "promptflow_vectordb.tool.faiss_index_lookup",
        "class_name": "FaissIndexLookup", "function": "search", "is_builtin": true,
        "package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
        false, "tool_state": "stable"}, {"name": "Vector DB Lookup", "type": "python",
        "inputs": {"class_name": {"type": ["string"], "enabled_by": "connection",
        "enabled_by_type": ["WeaviateConnection"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "collection_name": {"type": ["string"], "enabled_by":
        "connection", "enabled_by_type": ["QdrantConnection"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "connection": {"type":
        ["CognitiveSearchConnection", "QdrantConnection", "WeaviateConnection"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "index_name": {"type":
        ["string"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "search_filters": {"type": ["object"], "enabled_by": "connection", "enabled_by_type":
        ["CognitiveSearchConnection", "QdrantConnection"], "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "default"}, "search_params": {"type":
        ["object"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection",
        "QdrantConnection"], "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "text_field": {"type": ["string"], "enabled_by":
        "connection", "enabled_by_type": ["CognitiveSearchConnection", "QdrantConnection",
        "WeaviateConnection"], "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "top_k": {"type": ["int"], "default": "3", "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "vector": {"type":
        ["list"], "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "default"}, "vector_field": {"type": ["string"], "enabled_by": "connection",
        "enabled_by_type": ["CognitiveSearchConnection"], "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "default"}}, "description": "Search
        vector based query from existing Vector Database.", "module": "promptflow_vectordb.tool.vector_db_lookup",
        "class_name": "VectorDBLookup", "function": "search", "is_builtin": true,
        "package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
        false, "tool_state": "stable"}, {"name": "Vector Index Lookup", "type": "python",
        "inputs": {"path": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "query": {"type": ["object"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "top_k": {"type":
        ["int"], "default": "3", "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}}, "description": "Search text or vector based query
        from AzureML Vector Index.", "module": "promptflow_vectordb.tool.vector_index_lookup",
        "class_name": "VectorIndexLookup", "function": "search", "is_builtin": true,
        "package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
        false, "tool_state": "stable"}, {"name": "print_env.py", "type": "python",
        "inputs": {"key": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}}, "source": "print_env.py", "function": "get_env_var",
        "is_builtin": false, "enable_kwargs": false, "tool_state": "stable"}], "inputs":
        {"key": {"type": "string", "is_chat_input": false}}, "outputs": {"output":
        {"type": "string", "reference": "${print_env.output.value}", "evaluation_only":
        false, "is_chat_output": false}}}, "flowRunResourceId": "azureml://locations/eastus/workspaces/00000/flows/name/flowRuns/name",
        "flowRunId": "name", "flowRunDisplayName": "name", "batchDataInput": {"dataUri":
        "azureml://datastores/workspaceblobstore/paths/LocalUpload/c32a61842e439cecc022ebcff5dc0da4/env_var_names.jsonl"},
        "flowRunType": "FlowRun", "flowType": "Default", "runtimeName": "automatic",
        "inputsMapping": {}, "outputDatastoreName": "workspaceblobstore", "childRunBasePath":
        "promptflow/PromptFlowArtifacts/name/flow_artifacts", "flowDagFileRelativePath":
        "flow.dag.yaml", "flowSnapshotId": "031ac559-2433-4b4b-87e5-1aa6a1170995",
        "studioPortalEndpoint": "https://ml.azure.com/runs/name?wsid=/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000"}'
    headers:
      connection:
      - keep-alive
      content-length:
      - '26109'
      content-type:
      - application/json; charset=utf-8
      strict-transport-security:
      - max-age=15724800; includeSubDomains; preload
      transfer-encoding:
      - chunked
      vary:
      - Accept-Encoding
      x-content-type-options:
      - nosniff
      x-request-time:
      - '0.431'
    status:
      code: 200
      message: OK
- request:
    body: '{}'
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '2'
      Content-Type:
      - application/json
      User-Agent:
      - python-requests/2.31.0
    method: POST
    uri: https://eastus.api.azureml.ms/metric/v2.0/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/runs/name/lastvalues
  response:
    body:
      string: '{"value": [{"dataContainerId": "dcid.name", "name": "__pf__.nodes.print_env.completed",
        "columns": {"__pf__.nodes.print_env.completed": "Double"}, "properties": {"uxMetricType":
        "azureml.v1.scalar", "dataLocation": null}, "namespace": null, "standardSchemaId":
        null, "value": [{"metricId": "ba353a41-14f2-400c-925f-408afca84892", "createdUtc":
        "2024-01-17T10:13:01.659+00:00", "step": 0, "data": {"__pf__.nodes.print_env.completed":
        1.0}}]}, {"dataContainerId": "dcid.name", "name": "__pf__.lines.completed",
        "columns": {"__pf__.lines.completed": "Double"}, "properties": {"uxMetricType":
        "azureml.v1.scalar", "dataLocation": null}, "namespace": null, "standardSchemaId":
        null, "value": [{"metricId": "1d8dcff4-eeb6-46ce-a9c9-2c8a44f3f6f3", "createdUtc":
        "2024-01-17T10:13:02.06+00:00", "step": 0, "data": {"__pf__.lines.completed":
        1.0}}]}, {"dataContainerId": "dcid.name", "name": "__pf__.lines.failed", "columns":
        {"__pf__.lines.failed": "Double"}, "properties": {"uxMetricType": "azureml.v1.scalar",
        "dataLocation": null}, "namespace": null, "standardSchemaId": null, "value":
        [{"metricId": "cb5521af-802c-4ade-bc26-d5f50a99dc38", "createdUtc": "2024-01-17T10:13:02.485+00:00",
        "step": 0, "data": {"__pf__.lines.failed": 0.0}}]}]}'
    headers:
      connection:
      - keep-alive
      content-length:
      - '1884'
      content-type:
      - application/json; charset=utf-8
      strict-transport-security:
      - max-age=15724800; includeSubDomains; preload
      transfer-encoding:
      - chunked
      vary:
      - Accept-Encoding
      x-content-type-options:
      - nosniff
      x-request-time:
      - '0.083'
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - application/json
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - promptflow-sdk/0.0.1 azsdk-python-azuremachinelearningdesignerserviceclient/unknown
        Python/3.11.5 (Windows-10-10.0.22621-SP0)
    method: GET
    uri: https://eastus.api.azureml.ms/flow/api/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/BulkRuns/name
  response:
    body:
      string: '{"flowGraph": {"nodes": [{"name": "print_env", "type": "python", "source":
        {"type": "code", "path": "print_env.py"}, "inputs": {"key": "${inputs.key}"},
        "tool": "print_env.py", "reduce": false}], "tools": [{"name": "Azure OpenAI
        GPT-4 Turbo with Vision", "type": "custom_llm", "inputs": {"connection": {"type":
        ["AzureOpenAIConnection"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "deployment_name": {"type": ["string"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "frequency_penalty":
        {"type": ["double"], "default": 0, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "max_tokens": {"type": ["int"], "default":
        512, "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "default"}, "presence_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "stop": {"type":
        ["list"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "temperature": {"type": ["double"], "default": 1,
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "top_p": {"type": ["double"], "default": 1, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}}, "description": "Use Azure OpenAI GPT-4 Turbo
        with Vision to leverage AOAI vision ability.", "module": "promptflow.tools.aoai_gpt4v",
        "class_name": "AzureOpenAI", "function": "chat", "icon": {"dark": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA2ElEQVR4nJXSzW3CQBAF4DUSTjk+Al1AD0ikESslpBIEheRALhEpgAYSWV8OGUublf/yLuP3PPNmdndS+gdwXZrYDmh7fGE/W+wXbaYd8IYm4rxJPnZ0boI3wZcdJxs/n+AwV7DFK7aFyfQdYIMLPvES8YJNf5yp4jMeeEYdWh38gXOR35YGHe5xabvQdsHv6PLi8qV6gycc8YH3iMfQu6Lh4ASr+F5Hh3XwVWnQYzUkVlX1nccplAb1SN6Y/sfgmlK64VS8wimldIv/0yj2QLkHizG0iWP4AVAfQ34DVQONAAAAAElFTkSuQmCC",
        "light": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAx0lEQVR4nJWSwQ2CQBBFX0jAcjgqXUgPJNiIsQQrIVCIFy8GC6ABDcGDX7Mus9n1Xz7zZ+fPsLPwH4bUg0dD2wMPcbR48Uxq4AKU4iSTDwZ1LhWXipN/B3V0J6hjBTvgLHZNonewBXrgDpzEvXSIjN0BE3AACmmF4kl5F6tNzcCoLpW0SvGovFvsb4oZ2AANcAOu4ka6axCcINN3rg654sww+CYsPD0OwjcozFNh/Qcd78tqVbCIW+n+Fky472Bh/Q6SYb1EEy8tDzd+9IsVPAAAAABJRU5ErkJggg=="},
        "is_builtin": true, "package": "promptflow-tools", "package_version": "1.0.3",
        "default_prompt": "# system:\nAs an AI assistant, your task involves interpreting
        images and responding to questions about the image.\nRemember to provide accurate
        answers based on the information present in the image.\n\n# user:\nCan you
        tell me what the image depicts?\n![image]({{image_input}})\n", "enable_kwargs":
        false, "tool_state": "preview"}, {"name": "Content Safety (Text Analyze)",
        "type": "python", "inputs": {"connection": {"type": ["AzureContentSafetyConnection"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "hate_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
        ["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "self_harm_category": {"type": ["string"], "default": "medium_sensitivity",
        "enum": ["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "sexual_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
        ["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "text": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "violence_category": {"type": ["string"],
        "default": "medium_sensitivity", "enum": ["disable", "low_sensitivity", "medium_sensitivity",
        "high_sensitivity"], "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}}, "description": "Use Azure Content Safety to detect
        harmful content.", "module": "promptflow.tools.azure_content_safety", "function":
        "analyze_text", "is_builtin": true, "package": "promptflow-tools", "package_version":
        "1.0.3", "enable_kwargs": false, "deprecated_tools": ["content_safety_text.tools.content_safety_text_tool.analyze_text"],
        "tool_state": "stable"}, {"name": "Embedding", "type": "python", "inputs":
        {"connection": {"type": ["AzureOpenAIConnection", "OpenAIConnection"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "deployment_name":
        {"type": ["string"], "enabled_by": "connection", "enabled_by_type": ["AzureOpenAIConnection"],
        "model_list": ["text-embedding-ada-002", "text-search-ada-doc-001", "text-search-ada-query-001"],
        "capabilities": {"completion": false, "chat_completion": false, "embeddings":
        true}, "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "default"}, "input": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "model": {"type": ["string"], "enum": ["text-embedding-ada-002",
        "text-search-ada-doc-001", "text-search-ada-query-001"], "enabled_by": "connection",
        "enabled_by_type": ["OpenAIConnection"], "allow_manual_entry": true, "is_multi_select":
        false, "input_type": "default"}}, "description": "Use Open AI''s embedding
        model to create an embedding vector representing the input text.", "module":
        "promptflow.tools.embedding", "function": "embedding", "is_builtin": true,
        "package": "promptflow-tools", "package_version": "1.0.3", "enable_kwargs":
        false, "tool_state": "stable"}, {"name": "Open Model LLM", "type": "custom_llm",
        "inputs": {"api": {"type": ["string"], "enum": ["chat", "completion"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "deployment_name":
        {"type": ["string"], "default": "", "dynamic_list": {"func_path": "promptflow.tools.open_model_llm.list_deployment_names",
        "func_kwargs": [{"name": "endpoint", "optional": true, "reference": "${inputs.endpoint}",
        "type": ["string"]}]}, "allow_manual_entry": true, "is_multi_select": false,
        "input_type": "default"}, "endpoint_name": {"type": ["string"], "dynamic_list":
        {"func_path": "promptflow.tools.open_model_llm.list_endpoint_names"}, "allow_manual_entry":
        true, "is_multi_select": false, "input_type": "default"}, "max_new_tokens":
        {"type": ["int"], "default": 500, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "model_kwargs": {"type": ["object"], "default":
        "{}", "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "default", "advanced": true}, "temperature": {"type": ["double"], "default":
        1.0, "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "default"}, "top_p": {"type": ["double"], "default": 1.0, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default", "advanced": true}},
        "description": "Use an open model from the Azure Model catalog, deployed to
        an AzureML Online Endpoint for LLM Chat or Completion API calls.", "module":
        "promptflow.tools.open_model_llm", "class_name": "OpenModelLLM", "function":
        "call", "icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACgElEQVR4nGWSz2vcVRTFP/e9NzOZ1KDGohASslLEH6VLV0ak4l/QpeDCrfQPcNGliODKnVm4EBdBsIjQIlhciKW0ycKFVCSNbYnjdDLtmPnmO/nO9917XcxMkjYX3uLx7nnn3HOuMK2Nix4fP78ZdrYXVkLVWjf3l3B1B+HpcjzGFtmqa6cePz7/x0dnn1n5qhj3iBJPYREIURAJuCtpY8PjReDbrf9WG7H1fuefwQU9qKztTcMJT+PNnEFvjGVDBDlSsH6p/9MLzy6+NxwVqI8RAg4IPmWedMckdLYP6O6UpIaQfvyyXG012+e79/ZfHukoS1ISMT2hGTB1RkUmNgQ5QZ0w+a2VWDq73MbdEWmfnnv6UWe7oNzPaLapl5CwuLTXK9WUGBuCjqekzhP+z52ZXOrKMD3OJg0Hh778aiOuvpnYvp05d6GJO4iAO4QAe/eV36/X5LFRV4Zmn+AdkqlL8Vjp3oVioOz+WTPzzYEgsN+fgPLYyJVheSbPPVl2ikeGZRjtG52/8rHuaV9VOlpP2OtKyVndcRVCSqOhsvxa4vW359i6OuKdD+aP8Q4SYPdOzS/flGjt1JUSaMqZ5nwa1Y8qWb/Ud/eZZkHisYezEM0m+fcelDr8F1SqW2LNK6r1jXQwyLzy1hxvrLXZulry7ocL+FS6G4QIu3fG/Px1gdYeW7LIgXU2P/115TOA5G7e3Rmj2aS/m7l5pThiZzrCcE/d1XHzbln373nw7y6veeoUm5KCNKT/IPPwbiY1hYd/l5MIT65BMFt87sU4v9D7/JMflr44uV6hGh1+L4RCkg6z5iK2tAhNLeLsNGwYA4fDYnC/drvuuFxe86NV/x+Ut27g0FvykgAAAABJRU5ErkJggg==",
        "is_builtin": true, "package": "promptflow-tools", "package_version": "1.0.3",
        "enable_kwargs": false, "tool_state": "stable"}, {"name": "OpenAI GPT-4V",
        "type": "custom_llm", "inputs": {"connection": {"type": ["OpenAIConnection"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "frequency_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "max_tokens": {"type":
        ["int"], "default": 512, "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "model": {"type": ["string"], "enum": ["gpt-4-vision-preview"],
        "allow_manual_entry": true, "is_multi_select": false, "input_type": "default"},
        "presence_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "stop": {"type":
        ["list"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "temperature": {"type": ["double"], "default": 1,
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "top_p": {"type": ["double"], "default": 1, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}}, "description": "Use OpenAI GPT-4V to leverage
        vision ability.", "module": "promptflow.tools.openai_gpt4v", "class_name":
        "OpenAI", "function": "chat", "icon": {"dark": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA2ElEQVR4nJXSzW3CQBAF4DUSTjk+Al1AD0ikESslpBIEheRALhEpgAYSWV8OGUublf/yLuP3PPNmdndS+gdwXZrYDmh7fGE/W+wXbaYd8IYm4rxJPnZ0boI3wZcdJxs/n+AwV7DFK7aFyfQdYIMLPvES8YJNf5yp4jMeeEYdWh38gXOR35YGHe5xabvQdsHv6PLi8qV6gycc8YH3iMfQu6Lh4ASr+F5Hh3XwVWnQYzUkVlX1nccplAb1SN6Y/sfgmlK64VS8wimldIv/0yj2QLkHizG0iWP4AVAfQ34DVQONAAAAAElFTkSuQmCC",
        "light": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAx0lEQVR4nJWSwQ2CQBBFX0jAcjgqXUgPJNiIsQQrIVCIFy8GC6ABDcGDX7Mus9n1Xz7zZ+fPsLPwH4bUg0dD2wMPcbR48Uxq4AKU4iSTDwZ1LhWXipN/B3V0J6hjBTvgLHZNonewBXrgDpzEvXSIjN0BE3AACmmF4kl5F6tNzcCoLpW0SvGovFvsb4oZ2AANcAOu4ka6axCcINN3rg654sww+CYsPD0OwjcozFNh/Qcd78tqVbCIW+n+Fky472Bh/Q6SYb1EEy8tDzd+9IsVPAAAAABJRU5ErkJggg=="},
        "is_builtin": true, "package": "promptflow-tools", "package_version": "1.0.3",
        "default_prompt": "# system:\nAs an AI assistant, your task involves interpreting
        images and responding to questions about the image.\nRemember to provide accurate
        answers based on the information present in the image.\n\n# user:\nCan you
        tell me what the image depicts?\n![image]({{image_input}})\n", "enable_kwargs":
        false, "tool_state": "preview"}, {"name": "Serp API", "type": "python", "inputs":
        {"connection": {"type": ["SerpConnection"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "engine": {"type": ["string"], "default":
        "google", "enum": ["google", "bing"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "location": {"type": ["string"], "default":
        "", "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "num": {"type": ["int"], "default": "10", "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "query": {"type": ["string"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "safe": {"type":
        ["string"], "default": "off", "enum": ["active", "off"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}}, "description":
        "Use Serp API to obtain search results from a specific search engine.", "module":
        "promptflow.tools.serpapi", "class_name": "SerpAPI", "function": "search",
        "is_builtin": true, "package": "promptflow-tools", "package_version": "1.0.3",
        "enable_kwargs": false, "tool_state": "stable"}, {"name": "Index Lookup",
        "type": "python", "inputs": {"acs_content_field": {"type": ["string"], "enabled_by":
        "index_type", "enabled_by_value": ["Azure AI Search"], "dynamic_list": {"func_path":
        "promptflow_vectordb.tool.common_index_lookup_utils.list_acs_index_fields",
        "func_kwargs": [{"name": "acs_connection", "optional": false, "reference":
        "${inputs.acs_index_connection}", "type": ["CognitiveSearchConnection"]},
        {"name": "acs_index_name", "optional": false, "reference": "${inputs.acs_index_name}",
        "type": ["string"]}, {"default": "Edm.String", "name": "field_data_type",
        "optional": false, "type": ["string"]}]}, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "uionly_hidden"}, "acs_embedding_field": {"type": ["string"],
        "enabled_by": "index_type", "enabled_by_value": ["Azure AI Search"], "dynamic_list":
        {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_acs_index_fields",
        "func_kwargs": [{"name": "acs_connection", "optional": false, "reference":
        "${inputs.acs_index_connection}", "type": ["CognitiveSearchConnection"]},
        {"name": "acs_index_name", "optional": false, "reference": "${inputs.acs_index_name}",
        "type": ["string"]}, {"default": "Collection(Edm.Single)", "name": "field_data_type",
        "optional": false, "type": ["string"]}]}, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "uionly_hidden"}, "acs_index_connection": {"type": ["CognitiveSearchConnection"],
        "enabled_by": "index_type", "enabled_by_value": ["Azure AI Search"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "uionly_hidden"}, "acs_index_name":
        {"type": ["string"], "enabled_by": "index_type", "enabled_by_value": ["Azure
        AI Search"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_acs_indices",
        "func_kwargs": [{"name": "acs_connection", "optional": false, "reference":
        "${inputs.acs_index_connection}", "type": ["CognitiveSearchConnection"]}]},
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "acs_metadata_field": {"type": ["string"], "enabled_by": "index_type", "enabled_by_value":
        ["Azure AI Search"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_acs_index_fields",
        "func_kwargs": [{"name": "acs_connection", "optional": false, "reference":
        "${inputs.acs_index_connection}", "type": ["CognitiveSearchConnection"]},
        {"name": "acs_index_name", "optional": false, "reference": "${inputs.acs_index_name}",
        "type": ["string"]}, {"default": "Edm.String", "name": "field_data_type",
        "optional": false, "type": ["string"]}]}, "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "uionly_hidden"}, "aoai_embedding_connection": {"type":
        ["AzureOpenAIConnection"], "enabled_by": "embedding_type", "enabled_by_value":
        ["Azure OpenAI"], "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "uionly_hidden"}, "embedding_deployment": {"type": ["string"], "enabled_by":
        "embedding_type", "enabled_by_value": ["Azure OpenAI"], "dynamic_list": {"func_path":
        "promptflow_vectordb.tool.common_index_lookup_utils.list_aoai_embedding_deployments",
        "func_kwargs": [{"name": "aoai_connection", "optional": false, "reference":
        "${inputs.aoai_embedding_connection}", "type": ["AzurOpenAIConnection"]}]},
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "embedding_model": {"type": ["string"], "enabled_by": "embedding_type", "enabled_by_value":
        ["OpenAI", "Hugging Face"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_embedding_models",
        "func_kwargs": [{"name": "embedding_type", "optional": false, "reference":
        "${inputs.embedding_type}", "type": ["string"]}]}, "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "uionly_hidden"}, "embedding_type":
        {"type": ["string"], "enabled_by": "index_type", "enabled_by_value": ["Azure
        AI Search", "FAISS", "Pinecone"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_available_embedding_types",
        "func_kwargs": [{"name": "index_type", "optional": false, "reference": "${inputs.index_type}",
        "type": ["string"]}]}, "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "uionly_hidden"}, "faiss_index_path": {"type": ["string"], "enabled_by":
        "index_type", "enabled_by_value": ["FAISS"], "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "uionly_hidden"}, "index_type": {"type":
        ["string"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_available_index_types"},
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "mlindex_asset_id": {"type": ["string"], "enabled_by": "index_type", "enabled_by_value":
        ["Registered Index"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_registered_mlindices"},
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "mlindex_content": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
        false, "generated_by": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.forward_mapping",
        "func_kwargs": [{"name": "index_type", "reference": "${inputs.index_type}",
        "type": ["string"]}, {"name": "mlindex_asset_id", "optional": true, "reference":
        "${inputs.mlindex_asset_id}", "type": ["string"]}, {"name": "mlindex_path",
        "optional": true, "reference": "${inputs.mlindex_path}", "type": ["string"]},
        {"name": "acs_index_connection", "optional": true, "reference": "${inputs.acs_index_connection}",
        "type": ["CognitiveSearchConnection"]}, {"name": "acs_index_name", "optional":
        true, "reference": "${inputs.acs_index_name}", "type": ["string"]}, {"name":
        "acs_content_field", "optional": true, "reference": "${inputs.acs_content_field}",
        "type": ["string"]}, {"name": "acs_embedding_field", "optional": true, "reference":
        "${inputs.acs_embedding_field}", "type": ["string"]}, {"name": "acs_metadata_field",
        "optional": true, "reference": "${inputs.acs_metadata_field}", "type": ["string"]},
        {"name": "semantic_configuration", "optional": true, "reference": "${inputs.semantic_configuration}",
        "type": ["string"]}, {"name": "faiss_index_path", "optional": true, "reference":
        "${inputs.faiss_index_path}", "type": ["string"]}, {"name": "pinecone_index_connection",
        "optional": true, "reference": "${inputs.pinecone_index_connection}", "type":
        ["string"]}, {"name": "pinecone_index_name", "optional": true, "reference":
        "${inputs.pinecone_index_name}", "type": ["string"]}, {"name": "pinecone_content_field",
        "optional": true, "reference": "${inputs.pinecone_content_field}", "type":
        ["string"]}, {"name": "pinecone_metadata_field", "optional": true, "reference":
        "${inputs.pinecone_metadata_field}", "type": ["string"]}, {"name": "embedding_type",
        "optional": true, "reference": "${inputs.embedding_type}", "type": ["string"]},
        {"name": "aoai_embedding_connection", "optional": true, "reference": "${inputs.aoai_embedding_connection}",
        "type": ["AzureOpenAIConnection"]}, {"name": "oai_embedding_connection", "optional":
        true, "reference": "${inputs.oai_embedding_connection}", "type": ["string"]},
        {"name": "embedding_model", "optional": true, "reference": "${inputs.embedding_model}",
        "type": ["string"]}, {"name": "embedding_deployment", "optional": true, "reference":
        "${inputs.embedding_deployment}", "type": ["string"]}], "reverse_func_path":
        "promptflow_vectordb.tool.common_index_lookup_utils.reverse_mapping"}, "input_type":
        "default"}, "mlindex_path": {"type": ["string"], "enabled_by": "index_type",
        "enabled_by_value": ["MLIndex file from path"], "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "uionly_hidden"}, "oai_embedding_connection":
        {"type": ["OpenAIConnection"], "enabled_by": "embedding_type", "enabled_by_value":
        ["OpenAI"], "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "uionly_hidden"}, "pinecone_content_field": {"type": ["string"], "enabled_by":
        "index_type", "enabled_by_value": ["Pinecone"], "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "uionly_hidden"}, "pinecone_index_connection":
        {"type": ["PineconeConnection"], "enabled_by": "index_type", "enabled_by_value":
        ["Pinecone"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_pinecone_connections"},
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "pinecone_index_name": {"type": ["string"], "enabled_by": "index_type", "enabled_by_value":
        ["Pinecone"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_pinecone_indices",
        "func_kwargs": [{"name": "pinecone_connection_name", "optional": false, "reference":
        "${inputs.pinecone_index_connection}", "type": ["string"]}]}, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "uionly_hidden"}, "pinecone_metadata_field":
        {"type": ["string"], "enabled_by": "index_type", "enabled_by_value": ["Pinecone"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "uionly_hidden"},
        "queries": {"type": ["object"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "query_type": {"type": ["string"], "dynamic_list":
        {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_available_query_types",
        "func_kwargs": [{"name": "mlindex_content", "optional": false, "reference":
        "${inputs.mlindex_content}", "type": ["string"]}]}, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "semantic_configuration":
        {"type": ["string"], "enabled_by": "index_type", "enabled_by_value": ["Azure
        AI Search"], "dynamic_list": {"func_path": "promptflow_vectordb.tool.common_index_lookup_utils.list_acs_index_semantic_configurations",
        "func_kwargs": [{"name": "acs_connection", "optional": false, "reference":
        "${inputs.acs_index_connection}", "type": ["CognitiveSearchConnection"]},
        {"name": "acs_index_name", "optional": false, "reference": "${inputs.acs_index_name}",
        "type": ["string"]}]}, "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "uionly_hidden"}, "top_k": {"type": ["int"], "default": 3, "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}}, "description":
        "Search an AzureML Vector Index for relevant results using one or more text
        queries.", "module": "promptflow_vectordb.tool.common_index_lookup", "function":
        "search", "is_builtin": true, "package": "promptflow-vectordb", "package_version":
        "0.0.1", "enable_kwargs": false, "tool_state": "preview"}, {"name": "Faiss
        Index Lookup", "type": "python", "inputs": {"path": {"type": ["string"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "top_k": {"type":
        ["int"], "default": "3", "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "vector": {"type": ["list"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}}, "description":
        "Search vector based query from the FAISS index file.", "module": "promptflow_vectordb.tool.faiss_index_lookup",
        "class_name": "FaissIndexLookup", "function": "search", "is_builtin": true,
        "package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
        false, "tool_state": "stable"}, {"name": "Vector DB Lookup", "type": "python",
        "inputs": {"class_name": {"type": ["string"], "enabled_by": "connection",
        "enabled_by_type": ["WeaviateConnection"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "collection_name": {"type": ["string"], "enabled_by":
        "connection", "enabled_by_type": ["QdrantConnection"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "connection": {"type":
        ["CognitiveSearchConnection", "QdrantConnection", "WeaviateConnection"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "index_name": {"type":
        ["string"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection"],
        "allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
        "search_filters": {"type": ["object"], "enabled_by": "connection", "enabled_by_type":
        ["CognitiveSearchConnection", "QdrantConnection"], "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "default"}, "search_params": {"type":
        ["object"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection",
        "QdrantConnection"], "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "text_field": {"type": ["string"], "enabled_by":
        "connection", "enabled_by_type": ["CognitiveSearchConnection", "QdrantConnection",
        "WeaviateConnection"], "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}, "top_k": {"type": ["int"], "default": "3", "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "vector": {"type":
        ["list"], "allow_manual_entry": false, "is_multi_select": false, "input_type":
        "default"}, "vector_field": {"type": ["string"], "enabled_by": "connection",
        "enabled_by_type": ["CognitiveSearchConnection"], "allow_manual_entry": false,
        "is_multi_select": false, "input_type": "default"}}, "description": "Search
        vector based query from existing Vector Database.", "module": "promptflow_vectordb.tool.vector_db_lookup",
        "class_name": "VectorDBLookup", "function": "search", "is_builtin": true,
        "package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
        false, "tool_state": "stable"}, {"name": "Vector Index Lookup", "type": "python",
        "inputs": {"path": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}, "query": {"type": ["object"], "allow_manual_entry":
        false, "is_multi_select": false, "input_type": "default"}, "top_k": {"type":
        ["int"], "default": "3", "allow_manual_entry": false, "is_multi_select": false,
        "input_type": "default"}}, "description": "Search text or vector based query
        from AzureML Vector Index.", "module": "promptflow_vectordb.tool.vector_index_lookup",
        "class_name": "VectorIndexLookup", "function": "search", "is_builtin": true,
        "package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
        false, "tool_state": "stable"}, {"name": "print_env.py", "type": "python",
        "inputs": {"key": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
        false, "input_type": "default"}}, "source": "print_env.py", "function": "get_env_var",
        "is_builtin": false, "enable_kwargs": false, "tool_state": "stable"}], "inputs":
        {"key": {"type": "string", "is_chat_input": false}}, "outputs": {"output":
        {"type": "string", "reference": "${print_env.output.value}", "evaluation_only":
        false, "is_chat_output": false}}}, "flowRunResourceId": "azureml://locations/eastus/workspaces/00000/flows/name/flowRuns/name",
        "flowRunId": "name", "flowRunDisplayName": "name", "batchDataInput": {"dataUri":
        "azureml://datastores/workspaceblobstore/paths/LocalUpload/c32a61842e439cecc022ebcff5dc0da4/env_var_names.jsonl"},
        "flowRunType": "FlowRun", "flowType": "Default", "runtimeName": "automatic",
        "inputsMapping": {}, "outputDatastoreName": "workspaceblobstore", "childRunBasePath":
        "promptflow/PromptFlowArtifacts/name/flow_artifacts", "flowDagFileRelativePath":
        "flow.dag.yaml", "flowSnapshotId": "031ac559-2433-4b4b-87e5-1aa6a1170995",
        "studioPortalEndpoint": "https://ml.azure.com/runs/name?wsid=/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000"}'
    headers:
      connection:
      - keep-alive
      content-length:
      - '26109'
      content-type:
      - application/json; charset=utf-8
      strict-transport-security:
      - max-age=15724800; includeSubDomains; preload
      transfer-encoding:
      - chunked
      vary:
      - Accept-Encoding
      x-content-type-options:
      - nosniff
      x-request-time:
      - '1.264'
    status:
      code: 200
      message: OK
- request:
    body: '{"snapshotOrAssetId": "031ac559-2433-4b4b-87e5-1aa6a1170995"}'
    headers:
      accept:
      - '*/*'
      accept-encoding:
      - gzip, deflate
      connection:
      - keep-alive
      content-length:
      - '61'
      content-type:
      - application/json
      host:
      - eastus.api.azureml.ms
      user-agent:
      - python-httpx/0.26.0
    method: POST
    uri: https://eastus.api.azureml.ms/content/v2.0/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/snapshots/sas
  response:
    content: '{"name": "", "hash": null, "type": "Directory", "timestamp": "0001-01-01T00:00:00+00:00",
      "sasUrl": null, "absoluteUrl": null, "sizeBytes": 0, "sizeSet": false, "children":
      {"flow.dag.yaml": {"name": "flow.dag.yaml", "hash": "15FBB0521E1DDAA24005B5F08F800230",
      "type": "File", "timestamp": "0001-01-01T00:00:00+00:00", "sasUrl": "https://promptfloweast4063704120.blob.core.windows.net/azureml-blobstore-3e123da1-f9a5-4c91-9234-8d9ffbb39ff5/runs/name/flow.dag.yaml?sv=2019-07-07&sr=b&sig=BeYO6oo0UqDWrAXZGM2%2FIwFvDwUdIIyxnz58IkiKJUg%3D&st=2024-01-17T10%3A04%3A51Z&se=2024-01-17T18%3A14%3A51Z&sp=r&rscd=filename%3Dflow.dag.yaml",
      "absoluteUrl": "https://promptfloweast4063704120.blob.core.windows.net/azureml-blobstore-3e123da1-f9a5-4c91-9234-8d9ffbb39ff5/runs/name/flow.dag.yaml",
      "sizeBytes": 304, "sizeSet": true, "children": {}}, "print_env.py": {"name":
      "print_env.py", "hash": "C7B4B1B83D64548A97CDF74DDD9A532D", "type": "File",
      "timestamp": "0001-01-01T00:00:00+00:00", "sasUrl": "https://promptfloweast4063704120.blob.core.windows.net/azureml-blobstore-3e123da1-f9a5-4c91-9234-8d9ffbb39ff5/runs/name/print_env.py?sv=2019-07-07&sr=b&sig=peNM47UGTwNkNWRpuXZuuoszho952f%2BwoUEHOWufjQQ%3D&st=2024-01-17T10%3A04%3A51Z&se=2024-01-17T18%3A14%3A51Z&sp=r&rscd=filename%3Dprint_env.py",
      "absoluteUrl": "https://promptfloweast4063704120.blob.core.windows.net/azureml-blobstore-3e123da1-f9a5-4c91-9234-8d9ffbb39ff5/runs/name/print_env.py",
      "sizeBytes": 245, "sizeSet": true, "children": {}}, "requirements.txt": {"name":
      "requirements.txt", "hash": "DF7228B3D730379A4384E45275C91AF7", "type": "File",
      "timestamp": "0001-01-01T00:00:00+00:00", "sasUrl": "https://promptfloweast4063704120.blob.core.windows.net/azureml-blobstore-3e123da1-f9a5-4c91-9234-8d9ffbb39ff5/runs/name/requirements.txt?sv=2019-07-07&sr=b&sig=0ZN0aeWFILKkX4e308DgTEi7ud0qRAYOLTFnp%2Fogy7c%3D&st=2024-01-17T10%3A04%3A51Z&se=2024-01-17T18%3A14%3A51Z&sp=r&rscd=filename%3Drequirements.txt",
      "absoluteUrl": "https://promptfloweast4063704120.blob.core.windows.net/azureml-blobstore-3e123da1-f9a5-4c91-9234-8d9ffbb39ff5/runs/name/requirements.txt",
      "sizeBytes": 11, "sizeSet": true, "children": {}}}}'
    headers:
      connection:
      - keep-alive
      content-type:
      - application/json; charset=utf-8
      strict-transport-security:
      - max-age=15724800; includeSubDomains; preload
      transfer-encoding:
      - chunked
      vary:
      - Accept-Encoding
      x-content-type-options:
      - nosniff
      x-request-time:
      - '0.040'
    http_version: HTTP/1.1
    status_code: 200
- request:
    body: '{"value": "azureml://locations/eastus/workspaces/00000/data/azureml_name_output_data_debug_info/versions/1"}'
    headers:
      accept:
      - '*/*'
      accept-encoding:
      - gzip, deflate
      connection:
      - keep-alive
      content-length:
      - '171'
      content-type:
      - application/json
      host:
      - eastus.api.azureml.ms
      user-agent:
      - python-httpx/0.26.0
    method: POST
    uri: https://eastus.api.azureml.ms/data/v1.0/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/dataversion/getByAssetId
  response:
    content: '{"dataVersion": {"assetId": "azureml://locations/eastus/workspaces/00000/data/azureml_name_output_data_debug_info/versions/1",
      "dataContainerName": "azureml_name_output_data_debug_info", "dataType": "UriFolder",
      "dataUri": "azureml://subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/00000/workspaces/00000/datastores/workspaceblobstore/paths/promptflow/PromptFlowArtifacts/name/",
      "versionId": "1", "mutableProps": {"dataExpiryTime": null, "description": null,
      "tags": null, "isArchived": false, "stage": "Logged", "autoDeleteSetting": null},
      "referencedDataUris": null, "properties": null, "initialAssetId": "azureml://locations/eastus/workspaces/00000/data/azureml_name_output_data_debug_info/versions/1",
      "isRegistered": false, "runId": "name", "originAssetId": null}, "entityMetadata":
      {"etag": "\"04009d91-0000-0100-0000-65a7a8300000\"", "createdTime": "2024-01-17T10:13:04.0261855+00:00",
      "modifiedTime": "2024-01-17T10:13:04.060129+00:00", "createdBy": {"userObjectId":
      "00000000-0000-0000-0000-000000000000", "userPuId": "100320005227D154", "userIdp":
      null, "userAltSecId": null, "userIss": "https://sts.windows.net/00000000-0000-0000-0000-000000000000/",
      "userTenantId": "00000000-0000-0000-0000-000000000000", "userName": "Han Wang",
      "upn": "username@microsoft.com"}, "modifiedBy": null}, "legacyDatasetId": "40952a92-935d-431b-8f84-6c4f91c6aa94",
      "isV2": true, "legacyDatasetType": null, "legacyDataflowType": null, "legacyDataflow":
      null, "legacySavedDatasetId": null, "putAssetLROResponseDto": null}'
    headers:
      connection:
      - keep-alive
      content-type:
      - application/json; charset=utf-8
      strict-transport-security:
      - max-age=15724800; includeSubDomains; preload
      transfer-encoding:
      - chunked
      vary:
      - Accept-Encoding
      x-content-type-options:
      - nosniff
      x-request-time:
      - '0.050'
    http_version: HTTP/1.1
    status_code: 200
- request:
    body: null
    headers:
      Accept:
      - application/xml
      User-Agent:
      - azsdk-python-storage-blob/12.19.0 Python/3.11.5 (Windows-10-10.0.22621-SP0)
      x-ms-date:
      - Wed, 17 Jan 2024 10:14:51 GMT
      x-ms-range:
      - bytes=0-33554431
      x-ms-version:
      - '2023-11-03'
    method: GET
    uri: https://fake_account_name.blob.core.windows.net/fake-container-name/runs/name/flow.dag.yaml
  response:
    body:
      string: "inputs:\r\n  key:\r\n    type: string\r\noutputs:\r\n  output:\r\n
        \   type: string\r\n    reference: ${print_env.output.value}\r\nnodes:\r\n-
        name: print_env\r\n  type: python\r\n  source:\r\n    type: code\r\n    path:
        print_env.py\r\n  inputs:\r\n    key: ${inputs.key}\r\nenvironment:\r\n  python_requirements_txt:
        requirements.txt\r\n"
    headers:
      accept-ranges:
      - bytes
      content-length:
      - '304'
      content-range:
      - bytes 0-303/304
      content-type:
      - application/octet-stream
      last-modified:
      - Wed, 17 Jan 2024 10:12:48 GMT
      server:
      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
      vary:
      - Origin
      x-ms-blob-content-md5:
      - FfuwUh4d2qJABbXwj4ACMA==
      x-ms-blob-type:
      - BlockBlob
      x-ms-copy-completion-time:
      - Wed, 17 Jan 2024 10:12:48 GMT
      x-ms-copy-id:
      - 5dd2f5cc-2133-47cf-813a-5917d60bc14c
      x-ms-copy-progress:
      - 304/304
      x-ms-copy-source:
      - https://promptfloweast4063704120.blob.core.windows.net/azureml-blobstore-3e123da1-f9a5-4c91-9234-8d9ffbb39ff5/LocalUpload/0200d5934081bd47ddf030b9398d0cd0/flow_with_requirements_txt/flow.dag.yaml
      x-ms-copy-status:
      - success
      x-ms-creation-time:
      - Wed, 17 Jan 2024 10:12:48 GMT
      x-ms-meta-name:
      - 170072d0-60d9-4d21-8c3d-5ac5f8434bb9
      x-ms-meta-upload_status:
      - completed
      x-ms-meta-version:
      - '1'
      x-ms-version:
      - '2023-11-03'
    status:
      code: 206
      message: Partial Content
- request:
    body: null
    headers:
      Accept:
      - application/xml
      User-Agent:
      - azsdk-python-storage-blob/12.19.0 Python/3.11.5 (Windows-10-10.0.22621-SP0)
      x-ms-date:
      - Wed, 17 Jan 2024 10:14:55 GMT
      x-ms-range:
      - bytes=0-33554431
      x-ms-version:
      - '2023-11-03'
    method: GET
    uri: https://fake_account_name.blob.core.windows.net/fake-container-name/runs/name/print_env.py
  response:
    body:
      string: "import os\r\n\r\nfrom promptflow import tool\r\n\r\n\r\n@tool\r\ndef
        get_env_var(key: str):\r\n    from langchain import __version__\r\n\r\n    print(__version__)\r\n
        \   print(os.environ.get(key))\r\n    # get from env var\r\n    return {\"value\":
        os.environ.get(key)}\r\n"
    headers:
      accept-ranges:
      - bytes
      content-length:
      - '245'
      content-range:
      - bytes 0-244/245
      content-type:
      - application/octet-stream
      last-modified:
      - Wed, 17 Jan 2024 10:12:48 GMT
      server:
      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
      vary:
      - Origin
      x-ms-blob-content-md5:
      - x7SxuD1kVIqXzfdN3ZpTLQ==
      x-ms-blob-type:
      - BlockBlob
      x-ms-copy-completion-time:
      - Wed, 17 Jan 2024 10:12:48 GMT
      x-ms-copy-id:
      - db97b5ff-a0c6-4b5b-b8da-616a9e805643
      x-ms-copy-progress:
      - 245/245
      x-ms-copy-source:
      - https://promptfloweast4063704120.blob.core.windows.net/azureml-blobstore-3e123da1-f9a5-4c91-9234-8d9ffbb39ff5/LocalUpload/0200d5934081bd47ddf030b9398d0cd0/flow_with_requirements_txt/print_env.py
      x-ms-copy-status:
      - success
      x-ms-creation-time:
      - Wed, 17 Jan 2024 10:12:48 GMT
      x-ms-version:
      - '2023-11-03'
    status:
      code: 206
      message: Partial Content
- request:
    body: null
    headers:
      Accept:
      - application/xml
      User-Agent:
      - azsdk-python-storage-blob/12.19.0 Python/3.11.5 (Windows-10-10.0.22621-SP0)
      x-ms-date:
      - Wed, 17 Jan 2024 10:14:55 GMT
      x-ms-range:
      - bytes=0-33554431
      x-ms-version:
      - '2023-11-03'
    method: GET
    uri: https://fake_account_name.blob.core.windows.net/fake-container-name/runs/name/requirements.txt
  response:
    body:
      string: "langchain\r\n"
    headers:
      accept-ranges:
      - bytes
      content-length:
      - '11'
      content-range:
      - bytes 0-10/11
      content-type:
      - application/octet-stream
      last-modified:
      - Wed, 17 Jan 2024 10:12:48 GMT
      server:
      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
      vary:
      - Origin
      x-ms-blob-content-md5:
      - 33Ios9cwN5pDhORSdcka9w==
      x-ms-blob-type:
      - BlockBlob
      x-ms-copy-completion-time:
      - Wed, 17 Jan 2024 10:12:48 GMT
      x-ms-copy-id:
      - f32cb6cc-df1b-4580-8cec-19ebb20ae861
      x-ms-copy-progress:
      - 11/11
      x-ms-copy-source:
      - https://promptfloweast4063704120.blob.core.windows.net/azureml-blobstore-3e123da1-f9a5-4c91-9234-8d9ffbb39ff5/LocalUpload/0200d5934081bd47ddf030b9398d0cd0/flow_with_requirements_txt/requirements.txt
      x-ms-copy-status:
      - success
      x-ms-creation-time:
      - Wed, 17 Jan 2024 10:12:48 GMT
      x-ms-version:
      - '2023-11-03'
    status:
      code: 206
      message: Partial Content
- request:
    body: null
    headers:
      Accept:
      - application/xml
      User-Agent:
      - azsdk-python-storage-blob/12.19.0 Python/3.11.5 (Windows-10-10.0.22621-SP0)
      x-ms-date:
      - Wed, 17 Jan 2024 10:14:55 GMT
      x-ms-version:
      - '2023-11-03'
    method: GET
    uri: https://fake_account_name.blob.core.windows.net/fake-container-name?comp=list&prefix=promptflow%2FPromptFlowArtifacts%2Fname%2F&restype=container
  response:
    body:
      string: "\uFEFF<?xml version=\"1.0\" encoding=\"utf-8\"?><EnumerationResults
        ServiceEndpoint=\"https://promptfloweast4063704120.blob.core.windows.net/\"
        ContainerName=\"azureml-blobstore-3e123da1-f9a5-4c91-9234-8d9ffbb39ff5\"><Prefix>promptflow/PromptFlowArtifacts/name/</Prefix><Blobs><Blob><Name>promptflow/PromptFlowArtifacts/name/flow_artifacts/000000000_000000024.jsonl</Name><Properties><Creation-Time>Wed,
        17 Jan 2024 10:13:00 GMT</Creation-Time><Last-Modified>Wed, 17 Jan 2024 10:13:00
        GMT</Last-Modified><Etag>0x8DC1744E2879ADA</Etag><Content-Length>1432</Content-Length><Content-Type>application/octet-stream</Content-Type><Content-Encoding
        /><Content-Language /><Content-CRC64 /><Content-MD5 /><Cache-Control /><Content-Disposition
        /><BlobType>AppendBlob</BlobType><LeaseStatus>unlocked</LeaseStatus><LeaseState>available</LeaseState><ServerEncrypted>true</ServerEncrypted></Properties><OrMetadata
        /></Blob><Blob><Name>promptflow/PromptFlowArtifacts/name/flow_outputs/output.jsonl</Name><Properties><Creation-Time>Wed,
        17 Jan 2024 10:13:04 GMT</Creation-Time><Last-Modified>Wed, 17 Jan 2024 10:13:04
        GMT</Last-Modified><Etag>0x8DC1744E4ADDB62</Etag><Content-Length>35</Content-Length><Content-Type>application/octet-stream</Content-Type><Content-Encoding
        /><Content-Language /><Content-CRC64 /><Content-MD5>/e0Zn1phO4FyeGCAse5gGw==</Content-MD5><Cache-Control
        /><Content-Disposition /><BlobType>BlockBlob</BlobType><AccessTier>Hot</AccessTier><AccessTierInferred>true</AccessTierInferred><LeaseStatus>unlocked</LeaseStatus><LeaseState>available</LeaseState><ServerEncrypted>true</ServerEncrypted></Properties><OrMetadata
        /></Blob><Blob><Name>promptflow/PromptFlowArtifacts/name/instance_results.jsonl</Name><Properties><Creation-Time>Wed,
        17 Jan 2024 10:13:00 GMT</Creation-Time><Last-Modified>Wed, 17 Jan 2024 10:13:00
        GMT</Last-Modified><Etag>0x8DC1744E28C505B</Etag><Content-Length>109</Content-Length><Content-Type>application/octet-stream</Content-Type><Content-Encoding
        /><Content-Language /><Content-CRC64 /><Content-MD5 /><Cache-Control /><Content-Disposition
        /><BlobType>AppendBlob</BlobType><LeaseStatus>unlocked</LeaseStatus><LeaseState>available</LeaseState><ServerEncrypted>true</ServerEncrypted></Properties><OrMetadata
        /></Blob><Blob><Name>promptflow/PromptFlowArtifacts/name/meta.json</Name><Properties><Creation-Time>Wed,
        17 Jan 2024 10:12:58 GMT</Creation-Time><Last-Modified>Wed, 17 Jan 2024 10:12:58
        GMT</Last-Modified><Etag>0x8DC1744E1568CC8</Etag><Content-Length>18</Content-Length><Content-Type>application/octet-stream</Content-Type><Content-Encoding
        /><Content-Language /><Content-CRC64 /><Content-MD5>/u1NXUpgXMFDmZEw835qnw==</Content-MD5><Cache-Control
        /><Content-Disposition /><BlobType>BlockBlob</BlobType><AccessTier>Hot</AccessTier><AccessTierInferred>true</AccessTierInferred><LeaseStatus>unlocked</LeaseStatus><LeaseState>available</LeaseState><ServerEncrypted>true</ServerEncrypted></Properties><OrMetadata
        /></Blob><Blob><Name>promptflow/PromptFlowArtifacts/name/node_artifacts/print_env/000000000.jsonl</Name><Properties><Creation-Time>Wed,
        17 Jan 2024 10:13:00 GMT</Creation-Time><Last-Modified>Wed, 17 Jan 2024 10:13:00
        GMT</Last-Modified><Etag>0x8DC1744E281FBC3</Etag><Content-Length>1142</Content-Length><Content-Type>application/octet-stream</Content-Type><Content-Encoding
        /><Content-Language /><Content-CRC64 /><Content-MD5>FmF+m6Ku8yBJVaBT2aPWTg==</Content-MD5><Cache-Control
        /><Content-Disposition /><BlobType>BlockBlob</BlobType><AccessTier>Hot</AccessTier><AccessTierInferred>true</AccessTierInferred><LeaseStatus>unlocked</LeaseStatus><LeaseState>available</LeaseState><ServerEncrypted>true</ServerEncrypted></Properties><OrMetadata
        /></Blob></Blobs><NextMarker /></EnumerationResults>"
    headers:
      content-type:
      - application/xml
      server:
      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
      transfer-encoding:
      - chunked
      vary:
      - Origin
      x-ms-version:
      - '2023-11-03'
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - application/xml
      User-Agent:
      - azsdk-python-storage-blob/12.19.0 Python/3.11.5 (Windows-10-10.0.22621-SP0)
      x-ms-date:
      - Wed, 17 Jan 2024 10:14:57 GMT
      x-ms-range:
      - bytes=0-33554431
      x-ms-version:
      - '2023-11-03'
    method: GET
    uri: https://fake_account_name.blob.core.windows.net/fake-container-name/promptflow/PromptFlowArtifacts/name/flow_artifacts/000000000_000000024.jsonl
  response:
    body:
      string: '{"line_number": 0, "run_info": {"run_id": "name_0", "status": "Completed",
        "error": null, "inputs": {"key": "API_BASE", "line_number": 0}, "output":
        {"output": null}, "metrics": null, "request": null, "parent_run_id": "name",
        "root_run_id": "name", "source_run_id": null, "flow_id": "default_flow_id",
        "start_time": "2024-01-17T10:13:00.482142Z", "end_time": "2024-01-17T10:13:00.494986Z",
        "index": 0, "api_calls": [{"name": "flow", "node_name": "flow", "type": "Flow",
        "start_time": 1705486380.482142, "end_time": 1705486380.494986, "children":
        [{"name": "get_env_var", "type": "Tool", "inputs": {"key": "API_BASE"}, "output":
        {"value": null}, "start_time": 1705486380.485055, "end_time": 1705486380.493225,
        "error": null, "children": [], "node_name": "print_env", "parent_id": "",
        "id": "de387a3d-b4ff-4bdf-991b-ea8c99b4c4c9", "system_metrics": {}}], "system_metrics":
        {"duration": 0.012844, "prompt_tokens": 0, "completion_tokens": 0, "total_tokens":
        0}}], "variant_id": "", "name": "", "description": "", "tags": null, "system_metrics":
        {"duration": 0.012844, "prompt_tokens": 0, "completion_tokens": 0, "total_tokens":
        0}, "result": {"output": null}, "upload_metrics": false}, "start_time": "2024-01-17T10:13:00.482142",
        "end_time": "2024-01-17T10:13:00.494986", "name": "", "description": "", "status":
        "Completed", "tags": null}

        '
    headers:
      accept-ranges:
      - bytes
      content-length:
      - '1432'
      content-range:
      - bytes 0-1431/1432
      content-type:
      - application/octet-stream
      last-modified:
      - Wed, 17 Jan 2024 10:13:00 GMT
      server:
      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
      vary:
      - Origin
      x-ms-blob-committed-block-count:
      - '1'
      x-ms-blob-type:
      - AppendBlob
      x-ms-creation-time:
      - Wed, 17 Jan 2024 10:13:00 GMT
      x-ms-version:
      - '2023-11-03'
    status:
      code: 206
      message: Partial Content
- request:
    body: null
    headers:
      Accept:
      - application/xml
      User-Agent:
      - azsdk-python-storage-blob/12.19.0 Python/3.11.5 (Windows-10-10.0.22621-SP0)
      x-ms-date:
      - Wed, 17 Jan 2024 10:14:57 GMT
      x-ms-range:
      - bytes=0-33554431
      x-ms-version:
      - '2023-11-03'
    method: GET
    uri: https://fake_account_name.blob.core.windows.net/fake-container-name/promptflow/PromptFlowArtifacts/name/instance_results.jsonl
  response:
    body:
      string: '{"line_number": 0, "status": "Completed", "inputs.key": "API_BASE",
        "inputs.line_number": 0, "output": null}

        '
    headers:
      accept-ranges:
      - bytes
      content-length:
      - '109'
      content-range:
      - bytes 0-108/109
      content-type:
      - application/octet-stream
      last-modified:
      - Wed, 17 Jan 2024 10:13:00 GMT
      server:
      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
      vary:
      - Origin
      x-ms-blob-committed-block-count:
      - '1'
      x-ms-blob-type:
      - AppendBlob
      x-ms-creation-time:
      - Wed, 17 Jan 2024 10:13:00 GMT
      x-ms-version:
      - '2023-11-03'
    status:
      code: 206
      message: Partial Content
- request:
    body: null
    headers:
      Accept:
      - application/xml
      User-Agent:
      - azsdk-python-storage-blob/12.19.0 Python/3.11.5 (Windows-10-10.0.22621-SP0)
      x-ms-date:
      - Wed, 17 Jan 2024 10:14:57 GMT
      x-ms-range:
      - bytes=0-33554431
      x-ms-version:
      - '2023-11-03'
    method: GET
    uri: https://fake_account_name.blob.core.windows.net/fake-container-name/promptflow/PromptFlowArtifacts/name/flow_outputs/output.jsonl
  response:
    body:
      string: '{"line_number": 0, "output": null}

        '
    headers:
      accept-ranges:
      - bytes
      content-length:
      - '35'
      content-range:
      - bytes 0-34/35
      content-type:
      - application/octet-stream
      last-modified:
      - Wed, 17 Jan 2024 10:13:04 GMT
      server:
      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
      vary:
      - Origin
      x-ms-blob-content-md5:
      - /e0Zn1phO4FyeGCAse5gGw==
      x-ms-blob-type:
      - BlockBlob
      x-ms-creation-time:
      - Wed, 17 Jan 2024 10:13:04 GMT
      x-ms-version:
      - '2023-11-03'
    status:
      code: 206
      message: Partial Content
- request:
    body: null
    headers:
      Accept:
      - application/xml
      User-Agent:
      - azsdk-python-storage-blob/12.19.0 Python/3.11.5 (Windows-10-10.0.22621-SP0)
      x-ms-date:
      - Wed, 17 Jan 2024 10:14:57 GMT
      x-ms-range:
      - bytes=0-33554431
      x-ms-version:
      - '2023-11-03'
    method: GET
    uri: https://fake_account_name.blob.core.windows.net/fake-container-name/promptflow/PromptFlowArtifacts/name/meta.json
  response:
    body:
      string: '{"batch_size": 25}'
    headers:
      accept-ranges:
      - bytes
      content-length:
      - '18'
      content-range:
      - bytes 0-17/18
      content-type:
      - application/octet-stream
      last-modified:
      - Wed, 17 Jan 2024 10:12:58 GMT
      server:
      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
      vary:
      - Origin
      x-ms-blob-content-md5:
      - /u1NXUpgXMFDmZEw835qnw==
      x-ms-blob-type:
      - BlockBlob
      x-ms-creation-time:
      - Wed, 17 Jan 2024 10:12:58 GMT
      x-ms-version:
      - '2023-11-03'
    status:
      code: 206
      message: Partial Content
- request:
    body: null
    headers:
      Accept:
      - application/xml
      User-Agent:
      - azsdk-python-storage-blob/12.19.0 Python/3.11.5 (Windows-10-10.0.22621-SP0)
      x-ms-date:
      - Wed, 17 Jan 2024 10:14:57 GMT
      x-ms-range:
      - bytes=0-33554431
      x-ms-version:
      - '2023-11-03'
    method: GET
    uri: https://fake_account_name.blob.core.windows.net/fake-container-name/promptflow/PromptFlowArtifacts/name/node_artifacts/print_env/000000000.jsonl
  response:
    body:
      string: '{"node_name": "print_env", "line_number": 0, "run_info": {"node": "print_env",
        "flow_run_id": "name", "run_id": "name_print_env_0", "status": "Completed",
        "inputs": {"key": "API_BASE"}, "output": {"value": null}, "metrics": null,
        "error": null, "parent_run_id": "name_0", "start_time": "2024-01-17T10:13:00.484187Z",
        "end_time": "2024-01-17T10:13:00.493799Z", "index": 0, "api_calls": [{"name":
        "get_env_var", "type": "Tool", "inputs": {"key": "API_BASE"}, "output": {"value":
        null}, "start_time": 1705486380.485055, "end_time": 1705486380.493225, "error":
        null, "children": [], "node_name": "print_env", "parent_id": "", "id": "de387a3d-b4ff-4bdf-991b-ea8c99b4c4c9",
        "system_metrics": {}}], "variant_id": "", "cached_run_id": null, "cached_flow_run_id":
        null, "logs": {"stdout": "[2024-01-17T10:13:00+0000] 0.0.348\n[2024-01-17T10:13:00+0000]
        None\n", "stderr": ""}, "system_metrics": {"duration": 0.009612}, "result":
        {"value": null}}, "start_time": "2024-01-17T10:13:00.484187", "end_time":
        "2024-01-17T10:13:00.493799", "status": "Completed"}'
    headers:
      accept-ranges:
      - bytes
      content-length:
      - '1142'
      content-range:
      - bytes 0-1141/1142
      content-type:
      - application/octet-stream
      last-modified:
      - Wed, 17 Jan 2024 10:13:00 GMT
      server:
      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
      vary:
      - Origin
      x-ms-blob-content-md5:
      - FmF+m6Ku8yBJVaBT2aPWTg==
      x-ms-blob-type:
      - BlockBlob
      x-ms-creation-time:
      - Wed, 17 Jan 2024 10:13:00 GMT
      x-ms-version:
      - '2023-11-03'
    status:
      code: 206
      message: Partial Content
- request:
    body: '{"runId": "name", "selectRunMetadata": true, "selectRunDefinition": true,
      "selectJobSpecification": true}'
    headers:
      accept:
      - '*/*'
      accept-encoding:
      - gzip, deflate
      connection:
      - keep-alive
      content-length:
      - '137'
      content-type:
      - application/json
      host:
      - eastus.api.azureml.ms
      user-agent:
      - python-httpx/0.26.0
    method: POST
    uri: https://eastus.api.azureml.ms/history/v1.0/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/rundata
  response:
    content: '{"runMetadata": {"runNumber": 1705486358, "rootRunId": "name", "createdUtc":
      "2024-01-17T10:12:38.2013066+00:00", "createdBy": {"userObjectId": "00000000-0000-0000-0000-000000000000",
      "userPuId": "100320005227D154", "userIdp": null, "userAltSecId": null, "userIss":
      "https://sts.windows.net/00000000-0000-0000-0000-000000000000/", "userTenantId":
      "00000000-0000-0000-0000-000000000000", "userName": "Han Wang", "upn": null},
      "userId": "00000000-0000-0000-0000-000000000000", "token": null, "tokenExpiryTimeUtc":
      null, "error": null, "warnings": null, "revision": 6, "statusRevision": 3, "runUuid":
      "f0b6dc5e-041b-4c4e-bde5-b834f338b411", "parentRunUuid": null, "rootRunUuid":
      "f0b6dc5e-041b-4c4e-bde5-b834f338b411", "lastStartTimeUtc": null, "currentComputeTime":
      null, "computeDuration": "00:00:04.6486936", "effectiveStartTimeUtc": null,
      "lastModifiedBy": {"userObjectId": "00000000-0000-0000-0000-000000000000", "userPuId":
      "100320005227D154", "userIdp": null, "userAltSecId": null, "userIss": "https://sts.windows.net/00000000-0000-0000-0000-000000000000/",
      "userTenantId": "00000000-0000-0000-0000-000000000000", "userName": "Han Wang",
      "upn": "username@microsoft.com"}, "lastModifiedUtc": "2024-01-17T10:13:02.9198188+00:00",
      "duration": "00:00:04.6486936", "cancelationReason": null, "currentAttemptId":
      1, "runId": "name", "parentRunId": null, "experimentId": "9fd7ec9d-c9b7-439c-9f21-d2f7d05037ae",
      "status": "Completed", "startTimeUtc": "2024-01-17T10:13:00.1287876+00:00",
      "endTimeUtc": "2024-01-17T10:13:04.7774812+00:00", "scheduleId": null, "displayName":
      "name", "name": null, "dataContainerId": "dcid.name", "description": null, "hidden":
      false, "runType": "azureml.promptflow.FlowRun", "runTypeV2": {"orchestrator":
      null, "traits": [], "attribution": "PromptFlow", "computeType": null}, "properties":
      {"azureml.promptflow.runtime_name": "automatic", "azureml.promptflow.runtime_version":
      "20240111.v2", "azureml.promptflow.definition_file_name": "flow.dag.yaml", "azureml.promptflow.session_id":
      "b73aa389eb901648446f8f78c027d8049823b2f47afdc98b", "azureml.promptflow.flow_lineage_id":
      "0dc4f921d423a11eec59c6a5f580361e7f257e56b8f9dc1cc8edb1ad56f6d50d", "azureml.promptflow.flow_definition_datastore_name":
      "workspaceblobstore", "azureml.promptflow.flow_definition_blob_path": "LocalUpload/0200d5934081bd47ddf030b9398d0cd0/flow_with_requirements_txt/flow.dag.yaml",
      "azureml.promptflow.input_data": "azureml://datastores/workspaceblobstore/paths/LocalUpload/c32a61842e439cecc022ebcff5dc0da4/env_var_names.jsonl",
      "_azureml.evaluation_run": "promptflow.BatchRun", "azureml.promptflow.snapshot_id":
      "031ac559-2433-4b4b-87e5-1aa6a1170995", "azureml.promptflow.total_tokens": "0",
      "_azureml.evaluate_artifacts": "[{\"path\": \"instance_results.jsonl\", \"type\":
      \"table\"}]"}, "parameters": {}, "actionUris": {}, "scriptName": null, "target":
      null, "uniqueChildRunComputeTargets": [], "tags": {}, "settings": {}, "services":
      {}, "inputDatasets": [], "outputDatasets": [], "runDefinition": null, "jobSpecification":
      null, "primaryMetricName": null, "createdFrom": null, "cancelUri": null, "completeUri":
      null, "diagnosticsUri": null, "computeRequest": null, "compute": null, "retainForLifetimeOfWorkspace":
      false, "queueingInfo": null, "inputs": null, "outputs": {"debug_info": {"assetId":
      "azureml://locations/eastus/workspaces/00000/data/azureml_name_output_data_debug_info/versions/1",
      "type": "UriFolder"}, "flow_outputs": {"assetId": "azureml://locations/eastus/workspaces/00000/data/azureml_name_output_data_flow_outputs/versions/1",
      "type": "UriFolder"}}}, "runDefinition": null, "jobSpecification": null, "systemSettings":
      null}'
    headers:
      connection:
      - keep-alive
      content-type:
      - application/json; charset=utf-8
      strict-transport-security:
      - max-age=15724800; includeSubDomains; preload
      transfer-encoding:
      - chunked
      vary:
      - Accept-Encoding
      x-content-type-options:
      - nosniff
      x-request-time:
      - '0.039'
    http_version: HTTP/1.1
    status_code: 200
- request:
    body: null
    headers:
      Accept:
      - application/json
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Type:
      - application/json
      User-Agent:
      - promptflow-sdk/0.0.1 azsdk-python-azuremachinelearningdesignerserviceclient/unknown
        Python/3.11.5 (Windows-10-10.0.22621-SP0)
    method: GET
    uri: https://eastus.api.azureml.ms/flow/api/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/BulkRuns/name/logContent
  response:
    body:
      string: '"2024-01-17 10:12:53 +0000      49 promptflow-runtime INFO     [name]
        Receiving v2 bulk run request 03a647b1-37c9-4b18-af9a-c7c09fb4fef1: {\"flow_id\":
        \"name\", \"flow_run_id\": \"name\", \"flow_source\": {\"flow_source_type\":
        1, \"flow_source_info\": {\"snapshot_id\": \"031ac559-2433-4b4b-87e5-1aa6a1170995\"},
        \"flow_dag_file\": \"flow.dag.yaml\"}, \"log_path\": \"https://promptfloweast4063704120.blob.core.windows.net/azureml/ExperimentRun/dcid.name/logs/azureml/executionlogs.txt?sv=2019-07-07&sr=b&sig=**data_scrubbed**&skoid=55b92eba-d7c7-4afd-ab76-7bb1cd345283&sktid=00000000-0000-0000-0000-000000000000&skt=2024-01-17T09%3A25%3A48Z&ske=2024-01-18T17%3A35%3A48Z&sks=b&skv=2019-07-07&st=2024-01-17T10%3A02%3A51Z&se=2024-01-17T18%3A12%3A51Z&sp=rcw\",
        \"app_insights_instrumentation_key\": \"InstrumentationKey=**data_scrubbed**;IngestionEndpoint=https://eastus-6.in.applicationinsights.azure.com/;LiveEndpoint=https://eastus.livediagnostics.monitor.azure.com/\",
        \"data_inputs\": {\"data\": \"azureml://datastores/workspaceblobstore/paths/LocalUpload/c32a61842e439cecc022ebcff5dc0da4/env_var_names.jsonl\"},
        \"azure_storage_setting\": {\"azure_storage_mode\": 1, \"storage_account_name\":
        \"promptfloweast4063704120\", \"blob_container_name\": \"azureml-blobstore-3e123da1-f9a5-4c91-9234-8d9ffbb39ff5\",
        \"flow_artifacts_root_path\": \"promptflow/PromptFlowArtifacts/name\", \"blob_container_sas_token\":
        \"?sv=2019-07-07&sr=c&sig=**data_scrubbed**&skoid=55b92eba-d7c7-4afd-ab76-7bb1cd345283&sktid=00000000-0000-0000-0000-000000000000&skt=2024-01-17T10%3A12%3A52Z&ske=2024-01-24T10%3A12%3A52Z&sks=b&skv=2019-07-07&se=2024-01-24T10%3A12%3A52Z&sp=racwl\",
        \"output_datastore_name\": \"workspaceblobstore\"}}\n2024-01-17 10:12:53 +0000      49
        promptflow-runtime INFO     Runtime version: 20240111.v2. PromptFlow version:
        1.4.0rc2\n2024-01-17 10:12:53 +0000      49 promptflow-runtime INFO     Updating
        name to Status.Preparing...\n2024-01-17 10:12:53 +0000      49 promptflow-runtime
        INFO     Downloading snapshot to /mnt/host/service/app/43691/requests/name\n2024-01-17
        10:12:53 +0000      49 promptflow-runtime INFO     Get snapshot sas url for
        031ac559-2433-4b4b-87e5-1aa6a1170995.\n2024-01-17 10:12:53 +0000      49 promptflow-runtime
        INFO     Snapshot 031ac559-2433-4b4b-87e5-1aa6a1170995 contains 3 files.\n2024-01-17
        10:12:53 +0000      49 promptflow-runtime INFO     Download snapshot 031ac559-2433-4b4b-87e5-1aa6a1170995
        completed.\n2024-01-17 10:12:53 +0000      49 promptflow-runtime INFO     Successfully
        download snapshot to /mnt/host/service/app/43691/requests/name\n2024-01-17
        10:12:53 +0000      49 promptflow-runtime INFO     About to execute a python
        flow.\n2024-01-17 10:12:53 +0000      49 promptflow-runtime INFO     Use spawn
        method to start child process.\n2024-01-17 10:12:53 +0000      49 promptflow-runtime
        INFO     Starting to check process 401 status for run name\n2024-01-17 10:12:53
        +0000      49 promptflow-runtime INFO     Start checking run status for run
        name\n2024-01-17 10:12:57 +0000     401 promptflow-runtime INFO     [49--401]
        Start processing flowV2......\n2024-01-17 10:12:57 +0000     401 promptflow-runtime
        INFO     Runtime version: 20240111.v2. PromptFlow version: 1.4.0rc2\n2024-01-17
        10:12:57 +0000     401 promptflow-runtime INFO     Setting mlflow tracking
        uri...\n2024-01-17 10:12:57 +0000     401 promptflow-runtime INFO     Validating
        ''AzureML Data Scientist'' user authentication...\n2024-01-17 10:12:58 +0000     401
        promptflow-runtime INFO     Successfully validated ''AzureML Data Scientist''
        user authentication.\n2024-01-17 10:12:58 +0000     401 promptflow-runtime
        INFO     Using AzureMLRunStorageV2\n2024-01-17 10:12:58 +0000     401 promptflow-runtime
        INFO     Setting mlflow tracking uri to ''azureml://eastus.api.azureml.ms/mlflow/v1.0/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/promptflow-eastus''\n2024-01-17
        10:12:58 +0000     401 promptflow-runtime INFO     Initialized blob service
        client for AzureMLRunTracker.\n2024-01-17 10:12:58 +0000     401 promptflow-runtime
        INFO     Setting mlflow tracking uri to ''azureml://eastus.api.azureml.ms/mlflow/v1.0/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/promptflow-eastus''\n2024-01-17
        10:12:59 +0000     401 promptflow-runtime INFO     Resolve data from url finished
        in 0.7507558229999631 seconds\n2024-01-17 10:12:59 +0000     401 promptflow-runtime
        INFO     Starting the aml run ''name''...\n2024-01-17 10:13:00 +0000     401
        execution          WARNING  Starting run without column mapping may lead to
        unexpected results. Please consult the following documentation for more information:
        https://aka.ms/pf/column-mapping\n2024-01-17 10:13:00 +0000     401 execution.bulk     INFO     Set
        process count to 1 by taking the minimum value among the factors of {''default_worker_count'':
        16, ''row_count'': 1}.\n2024-01-17 10:13:00 +0000     442 execution.bulk     INFO     Process
        442 started.\n2024-01-17 10:13:00 +0000     401 execution.bulk     INFO     Process
        name: ForkProcess-6:2, Process id: 442, Line number: 0 start execution.\n2024-01-17
        10:13:00 +0000     401 execution.bulk     INFO     Process name: ForkProcess-6:2,
        Process id: 442, Line number: 0 completed.\n2024-01-17 10:13:00 +0000     401
        execution.bulk     INFO     Finished 1 / 1 lines.\n2024-01-17 10:13:00 +0000     401
        execution.bulk     INFO     Average execution time for completed lines: 0.2
        seconds. Estimated time for incomplete lines: 0.0 seconds.\n2024-01-17 10:13:01
        +0000     401 promptflow-runtime INFO     Post processing batch result...\n2024-01-17
        10:13:02 +0000     401 execution.bulk     INFO     Upload status summary metrics
        for run name finished in 1.2066231439998774 seconds\n2024-01-17 10:13:02 +0000     401
        promptflow-runtime INFO     Successfully write run properties {\"azureml.promptflow.total_tokens\":
        0, \"_azureml.evaluate_artifacts\": \"[{\\\"path\\\": \\\"instance_results.jsonl\\\",
        \\\"type\\\": \\\"table\\\"}]\"} with run id ''name''\n2024-01-17 10:13:02
        +0000     401 execution.bulk     INFO     Upload RH properties for run name
        finished in 0.0651191319998361 seconds\n2024-01-17 10:13:02 +0000     401
        promptflow-runtime INFO     Creating unregistered output Asset for Run name...\n2024-01-17
        10:13:04 +0000     401 promptflow-runtime INFO     Created debug_info Asset:
        azureml://locations/eastus/workspaces/00000/data/azureml_name_output_data_debug_info/versions/1\n2024-01-17
        10:13:04 +0000     401 promptflow-runtime INFO     Creating unregistered output
        Asset for Run name...\n2024-01-17 10:13:04 +0000     401 promptflow-runtime
        INFO     Created flow_outputs output Asset: azureml://locations/eastus/workspaces/00000/data/azureml_name_output_data_flow_outputs/versions/1\n2024-01-17
        10:13:04 +0000     401 promptflow-runtime INFO     Creating Artifact for Run
        name...\n2024-01-17 10:13:04 +0000     401 promptflow-runtime INFO     Created
        instance_results.jsonl Artifact.\n2024-01-17 10:13:04 +0000     401 promptflow-runtime
        INFO     Patching name...\n2024-01-17 10:13:04 +0000     401 promptflow-runtime
        INFO     Ending the aml run ''name'' with status ''Completed''...\n2024-01-17
        10:13:59 +0000      49 promptflow-runtime INFO     Process 401 finished\n2024-01-17
        10:13:59 +0000      49 promptflow-runtime INFO     [49] Child process finished!\n2024-01-17
        10:13:59 +0000      49 promptflow-runtime INFO     [name] End processing bulk
        run\n2024-01-17 10:13:59 +0000      49 promptflow-runtime INFO     Cleanup
        working dir /mnt/host/service/app/43691/requests/name for bulk run\n"'
    headers:
      connection:
      - keep-alive
      content-length:
      - '8471'
      content-type:
      - application/json; charset=utf-8
      strict-transport-security:
      - max-age=15724800; includeSubDomains; preload
      transfer-encoding:
      - chunked
      vary:
      - Accept-Encoding
      x-content-type-options:
      - nosniff
      x-request-time:
      - '1.763'
    status:
      code: 200
      message: OK
version: 1
