{ "class_fqid": "com-snaplogic-pipeline_9", "instance_version": 19, "link_serial": 104, "property_map": { "info": { "label": { "value": "AC-480 Azure AI Search grounding example" }, "author": { "value": null }, "pipeline_doc_uri": { "value": null }, "notes": { "value": "HTTP Client queries Azure AI Search, Mapper joins the passages into $context, Chat Completions answers from them with Data source left empty. Select your own Secured Headers Account (api-key) on HTTP Client and your Azure OpenAI account on Chat Completions, then set the pipeline parameters." }, "purpose": { "value": null } }, "error": { "error_behavior": { "value": "none" } }, "settings": { "error_pipeline": { "value": null, "expression": false }, "error_param_table": { "value": [] }, "param_table": { "value": [ { "capture": { "value": false }, "key": { "value": "question" }, "value": { "value": "Which hotel has a bowling alley?" }, "required": { "value": false }, "data_type": { "value": "string" }, "description": { "value": "The question to answer" } }, { "capture": { "value": false }, "key": { "value": "searchService" }, "value": { "value": "" }, "required": { "value": true }, "data_type": { "value": "string" }, "description": { "value": "Azure AI Search service name, the part before .search.windows.net" } }, { "capture": { "value": false }, "key": { "value": "indexName" }, "value": { "value": "" }, "required": { "value": true }, "data_type": { "value": "string" }, "description": { "value": "Azure AI Search index name" } } ] }, "imports": { "value": [] }, "tags": { "value": [] }, "suspendable": { "value": false }, "test_pipeline": { "value": false }, "cache_pipelines": { "value": [] } }, "instance_version": 18, "input": {}, "output": { "3dbe8db4-86c2-4ff6-8dd6-ecb21151cd68_output0": { "view_type": { "value": "document" }, "label": { "value": "Azure OpenAI Chat Completions - output0" } } } }, "render_map": { "scale_ratio": 1, "pan_x_num": 0, "pan_y_num": 0, "default_snaplex": "6aa08fa0a93ad8eeece4d334", "detail_map": { "1e5fa68e-0e1b-46f0-9f9e-c7aeeb9ee65c": { "grid_x_int": 2, "grid_y_int": 1, "rot_int": 0, "recommendation_id": null, "source": "", "index": null, "rot_tail_int": 0, "input": {}, "output": {}, "error": {} }, "7101dbfb-8c32-4ac8-82fd-652e9e6f9e5e": { "grid_x_int": 3, "grid_y_int": 1, "rot_int": 0, "recommendation_id": null, "source": "", "index": null, "rot_tail_int": 0 }, "45568275-0a0d-4a7c-a5c5-398e2c2e3423": { "grid_x_int": 4, "grid_y_int": 1, "rot_int": 0, "recommendation_id": null, "source": "", "index": null, "rot_tail_int": 0, "input": {}, "output": {}, "error": {} }, "3dbe8db4-86c2-4ff6-8dd6-ecb21151cd68": { "grid_x_int": 5, "grid_y_int": 1, "rot_int": 0, "recommendation_id": null, "source": "", "index": null, "rot_tail_int": 0 } }, "notes": {} }, "snap_map": { "1e5fa68e-0e1b-46f0-9f9e-c7aeeb9ee65c": { "class_id": "com-snaplogic-snaps-transform-jsongenerator", "class_version": 2, "instance_id": "1e5fa68e-0e1b-46f0-9f9e-c7aeeb9ee65c", "instance_version": 1, "property_map": { "info": { "label": { "value": "Trigger" }, "notes": {} }, "input": {}, "output": { "output0": { "view_type": { "value": "document" }, "label": { "value": "output0" } } }, "error": { "error0": { "view_type": { "value": "document" }, "label": { "value": "error0" } }, "error_behavior": { "value": "fail" } }, "settings": { "editable_content": { "value": "{}" }, "arrayElementsAsDocuments": { "value": false } }, "view_serial": 100 }, "instance_fqid": "1e5fa68e-0e1b-46f0-9f9e-c7aeeb9ee65c_1", "class_build_tag": "UNKNOWN", "class_fqid": null }, "7101dbfb-8c32-4ac8-82fd-652e9e6f9e5e": { "class_id": "com-snaplogic-snaps-apisuite-httpclient", "class_version": 1, "instance_id": "7101dbfb-8c32-4ac8-82fd-652e9e6f9e5e", "instance_version": 9, "property_map": { "info": { "label": { "value": "HTTP Client: Azure AI Search" }, "notes": {} }, "input": { "input0": { "view_type": { "value": "document" }, "label": { "value": "input0" } } }, "output": { "outputResponse": { "view_type": { "value": "document" }, "label": { "value": "Response" } } }, "error": { "error0": { "view_type": { "value": "document" }, "label": { "value": "error0" } }, "error_behavior": { "value": "fail" } }, "settings": { "queryParam": { "value": [] }, "httpMethod": { "value": "POST", "expression": false }, "execution_mode": { "value": "Validate & Execute" }, "preventURLEncoding": { "value": false }, "httpEntity": { "value": { "entityType": { "value": "raw" }, "rawEntity": { "value": "{ \"search\": _question, \"top\": 3, \"select\": \"HotelName,Description\" }", "expression": true }, "multipartSubtype": { "value": "form-data", "expression": false }, "multipartForm": { "value": [ { "partType": { "value": "Text" }, "partKey": { "value": null, "expression": false }, "partValue": { "value": null, "expression": false }, "partContentType": { "value": null, "expression": false } } ] }, "urlEncodedForm": { "value": [] }, "binaryFile": { "value": null, "expression": false } } }, "formEncodeSpace": { "value": false }, "uri": { "value": "\"https://\" + _searchService + \".search.windows.net/indexes('\" + _indexName + \"')/docs/search.post.search?api-version=2026-04-01\"", "expression": true }, "header": { "value": [ { "headerNameProp": { "value": "\"Content-Type\"", "expression": true }, "headerValProp": { "value": "\"application/json\"", "expression": true } } ] }, "enableDebug": { "value": false }, "pagination": { "value": { "paginationInterval": { "value": 0 }, "hasNext": { "expression": true, "value": null }, "nextUrl": { "expression": true, "value": null }, "overrideHeaders": { "value": [ { "overrideHeaderValue": { "expression": true, "value": null }, "overrideHeaderName": { "value": null, "expression": false } } ] }, "overrideParams": { "value": [ { "overrideParamValue": { "expression": true, "value": null }, "overrideParamName": { "value": null, "expression": false } } ] }, "maxPage": { "value": null, "expression": false }, "overrideURI": { "value": false }, "reuseParamsForPagination": { "value": false } } }, "clientProperties": { "value": { "connection": { "value": { "cookiePolicy": { "value": "RFC Lax" }, "readTimeout": { "value": 900 }, "connTimeout": { "value": 30 }, "trustAllCerts": { "value": false }, "diskStagingProp": { "value": false } } }, "retry": { "value": { "retryCondition": { "value": "Connection Errors" }, "maxRetry": { "value": 5 }, "retryInterval": { "value": 3 }, "autoRetry429": { "value": true }, "useRetryAfterHeader": { "value": true } } }, "redirects": { "value": { "followRedirection": { "value": true }, "maxRedirect": { "value": 10, "expression": false }, "allowRelativeRedirect": { "value": true }, "allowCircularRedirect": { "value": false }, "followOriginalMethod": { "value": false } } }, "outputProps": { "value": { "responseType": { "value": "JSON" }, "extractEntityPath": { "value": "JSON.parse(_extra_params || '{}').get('outputPath') ? $.entity.get(JSON.parse(_extra_params || '{}').get('outputPath'), []) : $.entity", "expression": true }, "errorRespToErrorview": { "value": true }, "extractEntity": { "value": false }, "includeCookies": { "value": false } } } } } }, "account": { "account_ref": { "value": null } }, "view_serial": 100 }, "instance_fqid": "7101dbfb-8c32-4ac8-82fd-652e9e6f9e5e_9", "class_build_tag": "UNKNOWN", "class_fqid": null }, "45568275-0a0d-4a7c-a5c5-398e2c2e3423": { "class_id": "com-snaplogic-snaps-transform-datatransform", "class_version": 4, "instance_id": "45568275-0a0d-4a7c-a5c5-398e2c2e3423", "instance_version": 1, "property_map": { "info": { "label": { "value": "Join passages" }, "notes": {} }, "input": { "input0": { "view_type": { "value": "document" }, "label": { "value": "input0" } } }, "output": { "output0": { "view_type": { "value": "document" }, "label": { "value": "output0" } } }, "error": { "error0": { "view_type": { "value": "document" }, "label": { "value": "error0" } }, "error_behavior": { "value": "fail" } }, "settings": { "execution_mode": { "value": "Validate & Execute" }, "passThrough": { "value": false }, "nullSafeAccess": { "value": false }, "transformations": { "value": { "mappingRoot": { "value": "$" }, "mappingTable": { "value": [ { "expression": { "value": "$entity.value.map(d => d.HotelName + \": \" + d.Description).join(\"\\n\\n\")", "expression": true }, "targetPath": { "value": "$context" } } ] } } } }, "view_serial": 100 }, "instance_fqid": "45568275-0a0d-4a7c-a5c5-398e2c2e3423_1", "class_build_tag": "UNKNOWN", "class_fqid": null }, "3dbe8db4-86c2-4ff6-8dd6-ecb21151cd68": { "class_id": "com-snaplogic-snaps-azureopenai-azureopenaichatcompletions", "class_version": 1, "instance_id": "3dbe8db4-86c2-4ff6-8dd6-ecb21151cd68", "instance_version": 4, "property_map": { "info": { "label": { "value": "Azure AI Foundry Chat Completions" }, "notes": {} }, "input": { "input0": { "view_type": { "value": "document" }, "label": { "value": "input0" } } }, "output": { "output0": { "view_type": { "value": "document" }, "label": { "value": "output0" } } }, "error": { "error0": { "view_type": { "value": "document" }, "label": { "value": "error0" } }, "error_behavior": { "value": "fail" } }, "settings": { "deploymentId": { "value": "", "expression": false }, "prompt": { "value": "\"Question: \" + _question + \"\\n\\nSources:\\n\" + $context", "expression": true }, "outputHandling": { "value": { "store": { "value": false, "expression": false } } }, "messagePayload": { "expression": true, "value": null }, "retry": { "value": { "maxRetry": { "value": null }, "retryInterval": { "value": null } } }, "execution_mode": { "value": "Validate & Execute" }, "useMessagePayload": { "value": false }, "advancedPromptConfiguration": { "value": { "jsonMode": { "value": false, "expression": false }, "systemPrompt": { "value": "\"Answer the question using only the sources provided. If the sources do not contain the answer, say you do not know.\"", "expression": true } } }, "dataSourceConfiguration": { "value": { "dataSource": { "value": null, "expression": true }, "embeddingDependency": { "value": null, "expression": false } } }, "modelParameters": { "value": { "maximumTokens": { "value": null, "expression": false }, "temperature": { "value": null, "expression": false }, "topP": { "value": null, "expression": false }, "responseCount": { "value": null, "expression": false }, "stopSequences": { "value": null, "expression": false }, "reasoningEffort": { "value": "DISABLED", "expression": false } } }, "advancedResponseConfiguration": { "value": { "simplifyResponse": { "value": true, "expression": false }, "continuationRequests": { "value": false, "expression": false }, "debugMode": { "value": false, "expression": false }, "continuationRequestLimit": { "value": null, "expression": false }, "structuredOutput": { "value": null, "expression": true } } } }, "account": { "account_ref": { "value": null } }, "view_serial": 100 }, "instance_fqid": "3dbe8db4-86c2-4ff6-8dd6-ecb21151cd68_4", "class_build_tag": "UNKNOWN", "class_fqid": null } }, "link_map": { "link101": { "src_id": "1e5fa68e-0e1b-46f0-9f9e-c7aeeb9ee65c", "src_view_id": "output0", "dst_id": "7101dbfb-8c32-4ac8-82fd-652e9e6f9e5e", "dst_view_id": "input0" }, "link102": { "src_id": "7101dbfb-8c32-4ac8-82fd-652e9e6f9e5e", "src_view_id": "outputResponse", "dst_id": "45568275-0a0d-4a7c-a5c5-398e2c2e3423", "dst_view_id": "input0" }, "link103": { "src_id": "45568275-0a0d-4a7c-a5c5-398e2c2e3423", "src_view_id": "output0", "dst_id": "3dbe8db4-86c2-4ff6-8dd6-ecb21151cd68", "dst_view_id": "input0" } }, "class_id": "com-snaplogic-pipeline", "class_version": 9, "migrate_version": "1794417783" }