// Generated by orrery. Edit the diagram spec and re-render instead of editing this file.
import { type SVGProps, useId } from "react";

export default function AmazonSageMakerAIAsTheLLMGateway(props: SVGProps<SVGSVGElement>) {
  const uid = useId().replace(/[^A-Za-z0-9_-]/g, "");
  return (
    <svg xmlns="http://www.w3.org/2000/svg" xmlnsXlink="http://www.w3.org/1999/xlink" width="1072" height="1329" viewBox="0 0 1072 1329" role="img" aria-labelledby={`${uid}-sdw-title ${uid}-sdw-desc`} fontFamily="Inter, 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif" {...props}>
      <title id={`${uid}-sdw-title`}>
        Amazon SageMaker AI as the LLM gateway
      </title>
      <desc id={`${uid}-sdw-desc`}>
        Amazon SageMaker AI as the LLM gateway. 15 components in 4 groups. Connections: Users to Amazon CloudFront (HTTPS); AWS WAF to Amazon CloudFront; Amazon CloudFront to Amazon API Gateway (/chat); Amazon Cognito to Amazon API Gateway; Amazon API Gateway to AWS Lambda (invoke); AWS Lambda to Amazon ElastiCache (lookup); AWS Lambda to Amazon SageMaker AI (embed query); AWS Lambda to Vector index (retrieve); AWS Lambda to Amazon SageMaker AI (generate); AWS Lambda to Amazon DynamoDB (history); Corpus and model artifacts to Vector index; Amazon SageMaker AI to AWS Secrets Manager (credentials); Amazon SageMaker AI to Amazon CloudWatch (metrics); Amazon DynamoDB to AWS Key Management Service (encryption keys).
      </desc>
      <defs>
        <symbol id={`${uid}-s1`} viewBox="0 0 40 40" overflow="visible">
          <g fill="none" fillRule="evenodd">
            <rect width="40" height="40" fill="#242f3e" />
            <path fill="#fff" d="M32.698 23.9c.361.47-.4 2.4-.74 3.264-.105.262.117.365.35.168 1.512-1.284 1.904-3.975 1.593-4.363-.307-.386-2.95-.717-4.563.432-.249.177-.206.42.07.389.907-.112 2.93-.357 3.29.11m-.842 2.01c.518-.378.074-.941-.454-.72-3.513 1.464-7.327 2.173-10.8 2.173-5.143 0-10.127-1.39-14.156-3.695-.352-.202-.613.155-.319.414 3.733 3.316 8.67 5.309 14.147 5.309 3.91 0 8.451-1.208 11.582-3.481m-2.144-5.215a6.6 6.6 0 0 1-1.459-.161q-.714-.163-1.093-.373-.233-.128-.29-.258a.7.7 0 0 1-.059-.26v-.47q0-.29.216-.292.083.002.173.033.091.034.241.098.48.21 1.044.324.564.113 1.126.113.895 0 1.384-.308a.97.97 0 0 0 .49-.873.88.88 0 0 0-.258-.65q-.256-.258-.952-.484l-1.375-.421q-1.045-.325-1.517-.938a2.17 2.17 0 0 1-.472-1.347q0-.581.258-1.027.255-.445.676-.761.427-.314.99-.478a4.3 4.3 0 0 1 1.19-.162q.315 0 .64.04a6.3 6.3 0 0 1 1.15.252q.248.082.4.162a.9.9 0 0 1 .28.227.5.5 0 0 1 .083.308v.436q0 .291-.217.29-.114.002-.364-.111c-.54-.24-1.15-.356-1.82-.356q-.815 0-1.262.258-.448.26-.448.827 0 .388.283.655.281.267 1.044.51l1.342.423q1.028.322 1.466.888.441.568.441 1.295 0 .6-.25 1.078-.248.477-.689.817a3.1 3.1 0 0 1-1.05.518q-.615.179-1.343.178m-12.165-.244q-.248.002-.365-.087-.117-.09-.199-.365l-2.222-7.157a1.8 1.8 0 0 1-.082-.371q0-.227.233-.227h.927q.265 0 .374.09.106.086.19.364l1.59 6.12 1.477-6.12q.066-.278.181-.364.116-.09.38-.09h.765q.263 0 .38.09.116.086.182.364l1.493 6.2 1.64-6.2q.082-.278.19-.364.109-.09.373-.09h.878q.233 0 .233.227a1 1 0 0 1-.016.144 2 2 0 0 1-.068.227l-2.286 7.157q-.083.275-.2.365-.116.088-.364.087h-.813q-.264.001-.38-.094-.116-.099-.182-.373l-1.476-5.96-1.457 5.96q-.067.274-.183.373-.116.095-.38.094zM9.94 19.449q.465 0 .98-.17.513-.17.893-.592.232-.259.324-.591.09-.33.09-.801v-.388a8 8 0 0 0-1.757-.211q-.945 0-1.408.373-.464.37-.465 1.07 0 .645.35.978.347.332.993.332m3.846-1.408q0 .517.107.825.11.31.307.664a.4.4 0 0 1 .066.209q0 .148-.182.276l-.597.39a.5.5 0 0 1-.248.08.4.4 0 0 1-.282-.128 2 2 0 0 1-.339-.43 6 6 0 0 1-.29-.544q-1.112 1.28-2.785 1.28-1.194.001-1.89-.664-.696-.664-.696-1.78 0-1.182.863-1.903.86-.72 2.32-.721.48 0 1.002.073t1.084.203v-.68q.001-1.052-.446-1.482-.446-.428-1.54-.428a4.5 4.5 0 0 0-1.02.12 7.5 7.5 0 0 0-1.02.315 3 3 0 0 1-.33.122.7.7 0 0 1-.15.024q-.199.001-.2-.292v-.452q.001-.228.068-.323.066-.099.265-.195a6 6 0 0 1 1.192-.421 6 6 0 0 1 1.476-.18c1.126 0 1.952.254 2.477.754q.787.753.788 2.275z" />
          </g>
        </symbol>
        <symbol id={`${uid}-s2`} viewBox="0 0 40 40" overflow="visible">
          <g fill="none" fillRule="evenodd">
            <rect width="40" height="40" fill="#00a4a6" />
            <path fill="#fff" d="M14 20.026v-9h15.293l-4.147 4.146a.5.5 0 0 0 0 .708l4.147 4.146zm12.207-4.5 4.647-4.646a.5.5 0 0 0-.354-.854H14V8.97A1.528 1.528 0 0 0 13.495 6c-.845 0-1.532.687-1.532 1.531 0 .67.435 1.235 1.037 1.442v24.053h-3v1h7v-1h-3v-12h16.5a.5.5 0 0 0 .354-.854z" />
          </g>
        </symbol>
        <symbol id={`${uid}-s3`} viewBox="0 0 48 48" overflow="visible">
          <path fill="#242f3e" fillRule="evenodd" d="M28.639 9.286c0-2.915 2.413-5.286 5.38-5.286s5.378 2.371 5.378 5.286-2.412 5.286-5.378 5.286-5.38-2.371-5.38-5.286m11.524 7.048a11.7 11.7 0 0 0-2.035-1.001c1.97-1.31 3.269-3.531 3.269-6.047 0-4.017-3.31-7.286-7.378-7.286-4.069 0-7.38 3.269-7.38 7.286 0 2.51 1.293 4.728 3.256 6.039a11.9 11.9 0 0 0-3.546 2.1l1.303 1.518A9.77 9.77 0 0 1 34 16.572c1.802 0 3.569.505 5.109 1.461 2.74 1.702 4.538 4.692 4.844 7.967H34v2h11a1 1 0 0 0 1-1c0-4.343-2.236-8.43-5.837-10.666M8.639 9.286C8.639 6.371 11.052 4 14.019 4s5.378 2.371 5.378 5.286-2.412 5.286-5.378 5.286-5.38-2.371-5.38-5.286M14 26H4.046C4.53 20.717 8.81 16.572 14 16.572c1.802 0 3.569.505 5.109 1.461.432.269.849.575 1.24.91l1.303-1.517a11.7 11.7 0 0 0-3.524-2.093c1.97-1.31 3.269-3.531 3.269-6.047 0-4.017-3.31-7.286-7.378-7.286-4.069 0-7.38 3.269-7.38 7.286 0 2.515 1.298 4.737 3.268 6.046C5.302 17.071 2 21.638 2 27a1 1 0 0 0 1 1h11zm.046 18c.484-5.283 4.764-9.428 9.954-9.428 1.802 0 3.569.505 5.109 1.461 2.74 1.702 4.538 4.692 4.844 7.967zm4.593-16.714c0-2.915 2.413-5.286 5.38-5.286s5.378 2.371 5.378 5.286-2.412 5.286-5.378 5.286-5.38-2.371-5.38-5.286m11.524 7.048a11.7 11.7 0 0 0-2.035-1.001c1.97-1.31 3.269-3.531 3.269-6.047 0-4.017-3.31-7.286-7.378-7.286-4.069 0-7.38 3.269-7.38 7.286 0 2.515 1.298 4.737 3.268 6.046C15.302 35.071 12 39.638 12 45a1 1 0 0 0 1 1h22a1 1 0 0 0 1-1c0-4.343-2.236-8.43-5.837-10.666" />
        </symbol>
        <symbol id={`${uid}-s4`} viewBox="0 0 80 80" overflow="visible">
          <g fill="none" fillRule="evenodd">
            <rect width="80" height="80" fill="#8c4fff" />
            <path fill="#fff" d="M55.122 52.123c0-1.654-1.346-3-3-3s-3 1.346-3 3 1.346 3 3 3 3-1.346 3-3m2 0c0 2.757-2.243 5-5 5s-5-2.243-5-5 2.243-5 5-5 5 2.243 5 5m-26.73-14.431c0-1.654-1.346-3-3-3-1.655 0-3 1.346-3 3s1.345 3 3 3c1.654 0 3-1.346 3-3m2 0c0 2.757-2.244 5-5 5-2.757 0-5-2.243-5-5s2.243-5 5-5c2.756 0 5 2.243 5 5m7.338-15.685c0 1.654 1.346 3 3 3 1.655 0 3-1.346 3-3 0-1.655-1.345-3-3-3-1.654 0-3 1.345-3 3m-2 0c0-2.757 2.244-5 5-5 2.757 0 5 2.243 5 5s-2.243 5-5 5c-2.756 0-5-2.243-5-5M66 40c0-9.273-4.972-17.852-12.988-22.491-1.437.29-2.827.687-4.561 1.314l-.68-1.881c.905-.326 1.715-.59 2.495-.816A25.95 25.95 0 0 0 40 14c-1.689 0-3.351.175-4.975.492a32 32 0 0 1 3.232 2.142l-1.209 1.593c-1.428-1.082-2.908-1.999-4.851-3.017-9.819 3.088-16.891 11.748-18.014 21.918a35 35 0 0 1 6.231-.698l.049 1.999c-2.3.057-4.276.301-6.436.776-.009.265-.027.533-.027.795a25.94 25.94 0 0 0 11.327 21.447c-1.253-3.731-1.877-7.257-1.877-10.701 0-1.964.338-3.577.695-5.284.083-.395.167-.797.249-1.214l1.963.387q-.127.635-.254 1.238c-.35 1.672-.653 3.116-.653 4.873 0 3.908.858 7.949 2.604 12.337A25.7 25.7 0 0 0 40 66c2.756 0 5.446-.44 8.012-1.286a33.5 33.5 0 0 0 2.378-6.015l1.921.557a36 36 0 0 1-1.602 4.421 25.4 25.4 0 0 0 4.574-2.672 36 36 0 0 0-1.124-2.506l1.789-.895c.348.696.667 1.408.972 2.124C62.705 54.775 66 47.66 66 40m2 0c0 8.727-3.966 16.799-10.879 22.149a27.5 27.5 0 0 1-5.532 3.323c-.833.378-1.681.728-2.553 1.022A27.5 27.5 0 0 1 40 68c-4.6 0-9.168-1.146-13.212-3.314A27.95 27.95 0 0 1 12 40c0-.686.018-1.208.059-1.691.681-11.684 8.697-21.797 19.942-25.143A27.7 27.7 0 0 1 40 12a27.87 27.87 0 0 1 13.684 3.579A28.03 28.03 0 0 1 68 40M37.314 25.463 36 23.956c-2.242 1.956-3.986 4.033-6.023 7.17l1.678 1.089c1.928-2.971 3.568-4.927 5.659-6.752m-3.039 12.964-.65 1.891c4.593 1.577 8.6 4.093 12.609 7.918l1.381-1.447c-4.226-4.031-8.465-6.688-13.34-8.362m13.371-11.759c3.752 5.722 5.865 12.003 6.279 18.67l-1.996.124c-.393-6.316-2.396-12.27-5.954-17.697z" />
          </g>
        </symbol>
        <symbol id={`${uid}-s5`} viewBox="0 0 80 80" overflow="visible">
          <g fill="none" fillRule="evenodd">
            <rect width="80" height="80" fill="#dd344c" />
            <path fill="#fff" d="M14.395 41H12v-2h2.4c.2-5.059 1.84-9.872 4.809-13.975l1.62 1.173c-2.72 3.759-4.23 8.168-4.43 12.802H19v2h-2.604c.186 4.662 1.698 9.097 4.433 12.876l-1.62 1.173c-2.984-4.123-4.625-8.964-4.812-14.049M55.01 60.828c-4.111 2.977-8.937 4.617-14.01 4.811V68h-2v-2.361c-5.071-.194-9.9-1.834-14.012-4.811l1.173-1.62c3.77 2.729 8.192 4.239 12.84 4.431V61h2v2.639c4.648-.193 9.069-1.703 12.837-4.431zM24.987 19.246c4.113-2.977 8.94-4.617 14.013-4.81V12h2v2.436c5.072.193 9.898 1.834 14.01 4.81l-1.172 1.62c-3.77-2.728-8.19-4.238-12.839-4.43V19h-2v-2.564c-4.648.191-9.07 1.702-12.84 4.43zM68 39v2h-2.398c-.187 5.085-1.829 9.926-4.812 14.049l-1.622-1.173c2.736-3.779 4.249-8.214 4.433-12.876H61v-2h2.6c-.2-4.634-1.71-9.043-4.43-12.802l1.621-1.173C63.759 29.128 65.399 33.941 65.6 39zM54.97 23.65l7.84-7.84 1.414 1.414-7.84 7.84zM25.027 56.424l-7.84 7.84-1.415-1.414 7.84-7.84zm2.226-27.757-14.84-14.84 1.413-1.414 14.842 14.84zm25.455 22.626 14.878 14.88-1.413 1.414-14.88-14.879zM31.664 40.735q.113-.2.24-.401c1.681-2.641 1.2-6.245.665-8.422 1.441.947 2.74 2.904 3.183 3.726a.99.99 0 0 0 .96.523 1 1 0 0 0 .865-.664c1.49-4.23.733-7.41-.317-9.471a7.2 7.2 0 0 1 2.912 3.166c1.416 2.942 1.1 6.969-.825 10.508-2.629 4.836-2.102 9.906-1.504 12.634-1.5-.647-2.837-1.378-3.99-2.182-3.026-2.11-3.99-6.245-2.19-9.417m13.43-.337a1.002 1.002 0 0 0 1.614.938c.081-.065 1.721-1.419 2.515-4.694.957 1.392 1.959 4.201.627 9.361-1.319 5.105-7.57 6.541-9.802 6.894-.538-1.933-1.632-7.298 1.057-12.242 1.909-3.51 2.415-7.479 1.459-10.754 1.81 2.126 3.337 5.472 2.53 10.497m-15.172-.648c-2.303 4.06-1.079 9.349 2.787 12.043 1.75 1.22 3.87 2.279 6.3 3.148q.167.06.337.059c.022 0 .04-.011.06-.012v.009c.425-.033 10.42-.901 12.38-8.494 2.521-9.766-2.53-12.663-2.746-12.782a1 1 0 0 0-1.475.774 13 13 0 0 1-.316 1.807c-.692-7.668-6.77-10.788-8-11.343-1.26-.965-2.792-1.628-4.568-1.943a1.002 1.002 0 0 0-.815 1.752c.15.127 3.267 2.829 2.377 7.971-1.16-1.523-3.009-3.359-5.183-3.359a1 1 0 0 0-.933 1.361c.022.054 2.06 5.425.09 8.52a13 13 0 0 0-.295.489" />
          </g>
        </symbol>
        <symbol id={`${uid}-s6`} viewBox="0 0 80 80" overflow="visible">
          <g fill="none" fillRule="evenodd">
            <rect width="80" height="80" fill="#dd344c" />
            <path fill="#fff" d="M16.964 35.808h12.905v-1.983H16.964zM61.376 50.23l1.403 1.402-7.372 7.36a.994.994 0 0 1-1.403 0l-3.71-3.702 1.406-1.4 3.006 3.001zm4.568 5.463a9.44 9.44 0 0 1-2.197 5.015 9.55 9.55 0 0 1-3.143 2.406 9.37 9.37 0 0 1-5.158.833 9.4 9.4 0 0 1-4.706-1.966 9.43 9.43 0 0 1-3.518-8.573 9.47 9.47 0 0 1 5.058-7.282 9.34 9.34 0 0 1 5.441-.972 9.43 9.43 0 0 1 7.26 5.088 9.45 9.45 0 0 1 .963 5.45m.806-6.35a11.406 11.406 0 0 0-15.381-4.978 11.45 11.45 0 0 0-6.118 8.805 11.4 11.4 0 0 0 4.254 10.364A11.38 11.38 0 0 0 56.592 66c1.68 0 3.338-.37 4.864-1.094a11.5 11.5 0 0 0 3.801-2.91 11.4 11.4 0 0 0 2.659-6.064 11.4 11.4 0 0 0-1.166-6.588m-39.86-7.588h3.972v-1.983H26.89zm-9.926 0h7.941v-1.983h-7.941zm-.858-25.773h44.402c1.17 0 2.12 1.156 2.12 2.578v7.334H59.65V20.94a.99.99 0 0 0-.993-.991H35.825a.99.99 0 0 0-.993.99v4.957H13.985v-7.334c0-1.398.972-2.578 2.12-2.578m31.15 9.625c2.305 0 4.18 1.853 4.18 4.131a4.11 4.11 0 0 1-2.163 3.608 4.25 4.25 0 0 1-4.043 0 4.11 4.11 0 0 1-2.154-3.608c0-2.278 1.874-4.131 4.18-4.131m-33.27 21.5v-19.23h20.846V44.73c0 .549.444.992.993.992h10.378v-1.983h-8.291a9.02 9.02 0 0 1 6.522-8.488c1.755.82 3.85.828 5.633-.001a9.1 9.1 0 0 1 5.226 4.005l1.699-1.027a11.1 11.1 0 0 0-5.147-4.432 6.05 6.05 0 0 0 1.577-4.056c0-3.37-2.767-6.114-6.166-6.114s-6.166 2.743-6.166 6.114a6.06 6.06 0 0 0 1.564 4.045 11 11 0 0 0-5.836 5.789V21.93h20.847v15.86h1.985v-9.912h2.978l.001 14.869h1.986l-.001-24.186c0-2.515-1.842-4.561-4.106-4.561H16.106C13.84 14 12 16.046 12 18.56v28.548c0 2.515 1.841 4.56 4.106 4.56h26.668v-1.982H16.106c-1.149 0-2.12-1.18-2.12-2.578" />
          </g>
        </symbol>
        <symbol id={`${uid}-s7`} viewBox="0 0 80 80" overflow="visible">
          <g fill="none">
            <rect width="80" height="80" fill="#8c4fff" />
            <path fill="#fff" fillRule="evenodd" d="M34.065 55.632H37v-2.017h-2.935zm4.935 0h3v-2.017h-3zM27 14.63l-13 6.452v40.111l13 4.397zm2 12.763v26.222h3v2.017h-3v11.36c0 .324-.155.629-.416.818a1 1 0 0 1-.902.138l-15-5.072A1.01 1.01 0 0 1 12 61.92V20.454c0-.384.217-.736.559-.905l15-7.445a.99.99 0 0 1 .969.049c.293.183.472.507.472.856v12.367h3v2.017zm15 28.24h3v-2.018h-3zm.065-28.24H47v-2.017h-2.935zm-5 0H42v-2.017h-2.935zm-5 0H37v-2.017h-2.935zM66 21.083 53 14.63v50.96l13-4.397zm2 40.837c0 .432-.274.817-.682.956l-15 5.072a.99.99 0 0 1-.902-.138 1.01 1.01 0 0 1-.416-.819V55.633h-1.935v-2.017H51V27.393h-1.935v-2.017H51V13.01c0-.35.179-.673.472-.857a.99.99 0 0 1 .969-.048l15 7.445c.342.17.559.521.559.905zM42.934 33.807l-1.868-.724-5 13.11 1.868.725zm6.773 6.402a1.014 1.014 0 0 0 0-1.426l-4-4.034-1.414 1.426 3.293 3.32-3.293 3.322 1.414 1.426zm-15.414 4.034-4-4.034a1.014 1.014 0 0 1 0-1.426l4-4.034 1.414 1.426-3.293 3.32 3.293 3.322z" clipRule="evenodd" />
          </g>
        </symbol>
        <symbol id={`${uid}-s8`} viewBox="0 0 80 80" overflow="visible">
          <g fill="none" fillRule="evenodd">
            <rect width="80" height="80" fill="#ed7100" />
            <path fill="#fff" d="M28.008 66H15.59l13.733-28.704 6.222 12.81zm2.212-31.447a1 1 0 0 0-.902-.564h-.003a1 1 0 0 0-.903.569L13.098 66.569A1 1 0 0 0 14.002 68h14.64c.388 0 .74-.223.906-.572l8.016-16.9a1 1 0 0 0-.005-.863zM64.995 66H52.66L32.867 24.57a1 1 0 0 0-.905-.57H23.89l.009-10h15.82L59.42 55.429c.166.348.519.571.906.571h4.67zm1.003-12H60.96l-19.7-41.429a1 1 0 0 0-.907-.571H22.898c-.553 0-1.002.447-1.003.999l-.01 12A1 1 0 0 0 22.886 26h8.442l19.793 41.43c.167.348.517.57.904.57h13.972A1 1 0 0 0 67 67V55a1 1 0 0 0-1.002-1" />
          </g>
        </symbol>
        <symbol id={`${uid}-s9`} viewBox="0 0 80 80" overflow="visible">
          <g fill="none" fillRule="evenodd">
            <rect width="80" height="80" fill="#c925d1" />
            <path fill="#fff" d="M51 61.555v-5.852c-2.534 1.637-7.096 2.41-11.444 2.41-4.74 0-8.435-.827-10.556-2.245v5.687C29 63.25 32.948 65 39.556 65 46.3 65 51 63.185 51 61.555M39.556 49.22c-4.74 0-8.435-.826-10.556-2.244v5.71c.031 1.688 3.973 3.427 10.556 3.427 6.723 0 11.413-1.804 11.444-3.43V46.81c-2.534 1.638-7.096 2.41-11.444 2.41M51 43.79v-6.76c-2.534 1.636-7.096 2.41-11.444 2.41-4.74 0-8.435-.827-10.556-2.245v6.6c.031 1.687 3.973 3.425 10.556 3.425 6.723 0 11.413-1.804 11.444-3.43m-22.003-9.797.001.009H29v.01c.031 1.688 3.973 3.427 10.556 3.427 7.342 0 11.413-2.022 11.444-3.43v-.007h.002l.001-.01c0-1.407-4.076-3.445-11.447-3.445-6.61 0-10.559 1.752-10.559 3.446M53 34.018v9.756h.003l-.003.025v8.868h.003l-.003.025v8.863C53 65.297 46.031 67 39.556 67 31.929 67 27 64.863 27 61.555v-8.857l-.003-.031H27v-8.862l-.003-.031H27v-9.75l-.003-.031c0-3.308 4.93-5.447 12.559-5.447 6.476 0 13.447 1.705 13.447 5.447zM67 21.12a1 1 0 0 0 1-1V15a1 1 0 0 0-1-1H13a1 1 0 0 0-1 1v5.12a1 1 0 0 0 1 1 2.21 2.21 0 0 1 2.214 2.2A2.21 2.21 0 0 1 13 25.522a1 1 0 0 0-1 1v20.482a1 1 0 0 0 1 1h10v-2h-5v-3h5v-2h-6a1 1 0 0 0-1 1v4h-2V27.401a4.21 4.21 0 0 0 3.214-4.08A4.21 4.21 0 0 0 14 19.239V16h52v3.24a4.21 4.21 0 0 0-3.214 4.08A4.21 4.21 0 0 0 66 27.402v18.602h-2v-4a1 1 0 0 0-1-1h-6v2h5v3h-5v2h10a1 1 0 0 0 1-1V26.521a1 1 0 0 0-1-1 2.21 2.21 0 0 1-2.214-2.2c0-1.213.993-2.2 2.214-2.2M28 28v-8a1 1 0 0 0-1-1h-6a1 1 0 0 0-1 1v17.001a1 1 0 0 0 1 1h3v-2h-2v-15h4v7zm30 8.001h-1v2h2a1 1 0 0 0 1-1v-17a1 1 0 0 0-1-1h-6a1 1 0 0 0-1 1v8h2v-7h4zm-8-9V20a1 1 0 0 0-1-1h-7a1 1 0 0 0-1 1v6h2v-5h5v6zm-13-1V21h-5v6h-2v-7a1 1 0 0 1 1-1h7a1 1 0 0 1 1 1v6z" />
          </g>
        </symbol>
        <symbol id={`${uid}-s10`} viewBox="0 0 80 80" overflow="visible">
          <g fill="none" fillRule="evenodd">
            <rect width="80" height="80" fill="#01a88d" />
            <path fill="#fff" d="M54.034 26.034a1.017 1.017 0 1 1-1.017-1.016c.561 0 1.017.456 1.017 1.016M48.002 36a1.001 1.001 0 0 1 2 0 1.001 1.001 0 0 1-2 0m0 19a1.001 1.001 0 0 1 2 0 1.001 1.001 0 0 1-2 0m10-13a1.001 1.001 0 0 1-2 0 1.001 1.001 0 0 1 2 0M65 45.272l-5.037-2.89c.016-.126.039-.25.039-.382 0-1.654-1.346-3-3-3-1.655 0-3 1.346-3 3s1.345 3 3 3c.799 0 1.521-.319 2.059-.829l4.825 2.768-4.331 2.166c-.339.17-.553.516-.553.895v8.441l-12.019 7.396-5.98-3.417V56h5.183a3 3 0 0 0 2.816 2c1.654 0 3-1.346 3-3 0-1.655-1.346-3-3-3a2.995 2.995 0 0 0-2.816 2h-5.183V40c0-.35-.185-.677-.486-.858l-5.001-3-1.029 1.715 4.516 2.71v2.94l-6.001 4.616V44a1 1 0 0 0-.375-.78l-4.625-3.7v-4.985l5.554-3.702a1 1 0 0 0 .446-.832v-6h-2v5.465l-4.989 3.324-5.011-3.326v-7.89l5-2.915V27h2v-9.51l4.003-2.334 5.996 3.459L39.002 31c0 .359.192.69.504.867l6.536 3.735c-.018.131-.04.261-.04.397 0 1.654 1.345 3 3 3 1.654 0 3-1.346 3-3s-1.346-3-3-3c-.794 0-1.512.315-2.049.82l-5.951-3.4-.001-11.802 5.963-3.441 11.038 7.359V25h-2.151a3.02 3.02 0 0 0-2.834-1.983 3.02 3.02 0 0 0-3.015 3.016 3.02 3.02 0 0 0 3.015 3.016A3.02 3.02 0 0 0 55.875 27h2.127v3a1 1 0 0 0 .504.869L65 34.58zM33.02 65.837l-3.153-1.94 5.716-4.083-1.162-1.628-6.403 4.573-7.016-4.318v-7.875l4.514-2.709-1.029-1.715-4.529 2.718-4.956-2.478-.001-5.765 5.448-2.723-.894-1.789-4.554 2.276.001-3.8 5.961-3.406 5.039 3.344v4.961l-5.553 3.687 1.106 1.666 5.403-3.588 4.044 3.235v5.182l-4.61 3.545 1.219 1.585 11.392-8.762v16.39zm33.476-32.705-6.494-3.711V22a1 1 0 0 0-.446-.832l-12-8a1 1 0 0 0-1.054-.034l-6.498 3.75-6.502-3.75a1 1 0 0 0-1.004.002l-12 7a1 1 0 0 0-.496.864v8.42l-6.496 3.711a1 1 0 0 0-.504.868v.417L13 34.48v10.884l.002.06V47c0 .38.214.725.553.894l5.447 2.724V59c0 .347.179.67.475.851l13 8a1 1 0 0 0 1.021.017l6.505-3.716 6.503 3.716c.315.181.707.174 1.02-.017l13-8a1 1 0 0 0 .476-.85v-8.383l5.445-2.724A1 1 0 0 0 67 47V34a1 1 0 0 0-.504-.868" />
          </g>
        </symbol>
        <symbol id={`${uid}-s11`} viewBox="0 0 48 48" overflow="visible">
          <path fill="#8c4fff" fillRule="evenodd" d="M21 32h6v-2h-6zm-5 2h16v-6H16zm17-8H15a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1v-8a1 1 0 0 0-1-1M11 12h6v-2h-6zm14-2h6V8h-6zM4 44h40V16H4zM22 4h12v5a1 1 0 0 0 1 1h5v4H22zm14 1.261L38.645 8H36zM45 14h-3V9c0-.259-.101-.508-.28-.695l-5.793-6a1 1 0 0 0-.72-.305H21a1 1 0 0 0-1 1v11H8V7h10V5H7a1 1 0 0 0-1 1v8H3a1 1 0 0 0-1 1v30a1 1 0 0 0 1 1h42a1 1 0 0 0 1-1V15a1 1 0 0 0-1-1" />
        </symbol>
        <symbol id={`${uid}-s12`} viewBox="0 0 48 48" overflow="visible">
          <path fill="#7aa116" fillRule="evenodd" d="m40.504 26.16.224-1.666c1.784 1.087 2.335 1.715 2.495 1.98-.473.143-1.428.017-2.72-.314m-17.702-6.049c0-.053.043-.096.096-.096.015 0 .026.01.039.017l-.073.147c-.033-.01-.062-.03-.062-.068m13.712 20.687a1 1 0 0 0-.01.133c0 .155-.378.744-2.063 1.41-.751.296-1.638.562-2.638.792-2.575.596-5.74.924-8.907.924-8.466 0-13.607-2.17-13.607-3.126q0-.066-.01-.133L5.442 12.285q.372.215.79.415c.079.038.165.074.247.112a16 16 0 0 0 1.089.453q.413.156.856.3c.087.03.17.06.258.086a27 27 0 0 0 1.522.427 30 30 0 0 0 1.378.32q.548.116 1.117.22l.244.046q.688.12 1.403.224.201.028.406.054.54.075 1.093.14l.453.051q.666.07 1.343.13l.162.013q.756.06 1.519.104l.436.021q.576.029 1.152.047l.45.014q.77.018 1.537.02a72 72 0 0 0 1.987-.034q.577-.019 1.15-.047l.439-.02q.764-.044 1.518-.105l.166-.014q.675-.058 1.338-.129l.457-.052q.55-.065 1.089-.138.207-.027.41-.056a50 50 0 0 0 1.402-.223q.123-.022.247-.047a38 38 0 0 0 2.493-.539l.344-.086q.61-.163 1.178-.34c.087-.028.169-.057.254-.086a19 19 0 0 0 1.954-.756c.079-.037.163-.072.24-.109q.42-.2.792-.416l-1.792 13.306c-3.637-1.167-8.745-3.284-13.58-5.583a2.09 2.09 0 0 0-2.084-1.993 2.1 2.1 0 0 0-2.096 2.096c0 1.155.94 2.095 2.096 2.095.454 0 .872-.149 1.215-.396 4.332 2.08 9.863 4.532 14.18 5.778zM22.896 4c10.419 0 17.76 3.228 17.896 5.021l-.026.208c-.018.062-.057.125-.09.19-.027.051-.047.101-.084.154-.044.062-.11.125-.166.188-.051.055-.094.11-.155.166-.068.061-.155.124-.236.186-.075.058-.141.115-.227.174-.091.06-.2.122-.302.184-.1.06-.19.12-.301.178-.11.06-.24.118-.36.178-.124.061-.24.121-.376.182-.13.057-.276.114-.414.171-.15.06-.291.122-.451.181-.148.056-.314.11-.471.164-.171.06-.335.12-.517.177-.17.054-.355.104-.534.157-.19.056-.373.113-.573.167-.192.052-.4.1-.6.15-.206.051-.406.104-.623.154s-.448.094-.674.141c-.218.045-.43.093-.658.136-.24.046-.497.087-.747.13-.23.04-.453.081-.692.118-.26.04-.536.076-.806.113-.244.033-.482.07-.734.1-.293.036-.602.066-.905.097-.244.026-.48.055-.73.077-.336.031-.688.054-1.034.078-.233.018-.458.038-.696.053-.38.022-.776.036-1.17.053-.215.008-.425.021-.646.028a65 65 0 0 1-3.797 0c-.222-.007-.434-.02-.654-.029-.39-.016-.783-.03-1.161-.052-.25-.016-.488-.037-.733-.055-.333-.024-.673-.046-.996-.076-.251-.022-.487-.052-.732-.077-.303-.03-.612-.06-.904-.097-.25-.03-.487-.066-.73-.1-.27-.037-.548-.072-.81-.113-.247-.038-.48-.082-.718-.123-.241-.042-.488-.08-.72-.125-.231-.044-.446-.092-.67-.138-.222-.047-.45-.09-.663-.14-.216-.049-.415-.102-.622-.153-.2-.05-.408-.098-.6-.15-.202-.054-.387-.112-.58-.169-.176-.05-.36-.102-.526-.155-.185-.059-.351-.119-.524-.18-.155-.053-.318-.106-.463-.16-.162-.06-.303-.123-.453-.183-.138-.057-.285-.114-.413-.17-.134-.06-.251-.12-.375-.182-.121-.06-.251-.118-.361-.179-.11-.059-.202-.119-.302-.179-.101-.06-.21-.122-.3-.182-.087-.06-.155-.118-.231-.177-.08-.06-.165-.123-.231-.183-.063-.057-.107-.114-.16-.169-.055-.062-.118-.124-.162-.185-.038-.054-.057-.106-.085-.16-.032-.062-.071-.124-.088-.184l-.028-.209C5.14 7.227 12.48 4 22.896 4m22.359 22.257c-.213-1.15-1.538-2.368-4.237-3.91l1.716-12.752v-.004l.05-.39a1 1 0 0 0 .01-.13c0-4.167-10.486-7.07-19.898-7.07S3 4.903 3 9.07q0 .066.009.132l.052.39v.002L7.29 41.01c.13 3.676 9.613 5.048 15.606 5.048 3.315 0 6.638-.346 9.357-.975a21 21 0 0 0 2.922-.882c2.166-.855 3.285-1.929 3.329-3.19l1.74-12.93c.953.202 1.818.325 2.537.325.969 0 1.694-.205 2.086-.673.35-.416.488-.94.388-1.475" />
        </symbol>
        <symbol id={`${uid}-s13`} viewBox="0 0 80 80" overflow="visible">
          <g fill="none" fillRule="evenodd">
            <rect width="80" height="80" fill="#c925d1" />
            <path fill="#fff" d="M52.086 54.85c-3.338 2.699-10.341 4.125-17.042 4.125S21.337 57.548 18 54.85v5.436h.001c0 2.71 6.999 5.731 17.043 5.731 10.036 0 17.031-3.017 17.042-5.726zm.001-10.328 2-.01v.01c0 1.208-.605 2.336-1.783 3.369 1.428 1.256 1.783 2.489 1.783 3.367l-.001.017v9.01c0 5.01-9.811 7.715-19.042 7.715-9.209 0-18.994-2.693-19.041-7.68L16 60.304v-9.05l.002-.007c.003-.878.359-2.106 1.785-3.36-1.417-1.251-1.777-2.472-1.786-3.343h.001l-.002-.01v-9.05l.002-.01c.003-.877.36-2.105 1.786-3.357-1.418-1.252-1.778-2.474-1.787-3.344h.001L16 28.76v-9.048l.002-.01C16.019 14.7 25.82 12 35.044 12c5.211 0 10.217.828 13.734 2.272l-.765 1.833c-3.283-1.348-8.01-2.121-12.969-2.121-10.044 0-17.043 3.02-17.043 5.733S25 25.45 35.044 25.45c.271.003.536 0 .804-.01l.084 1.982c-.296.012-.592.012-.888.012-6.702 0-13.707-1.427-17.044-4.126v5.432h.001v.023c.01 1.04 1.077 1.949 1.971 2.526 2.69 1.715 7.51 2.886 12.885 3.13l-.091 1.981c-5.445-.247-10.213-1.377-13.282-3.108-.756.565-1.483 1.33-1.483 2.197 0 2.711 6.999 5.732 17.043 5.732.985 0 1.963-.032 2.908-.098l.139 1.979c-.99.068-2.016.103-3.047.103-6.702 0-13.707-1.427-17.044-4.126v5.432h.001c.01 1.064 1.077 1.971 1.971 2.55 3.076 1.962 8.852 3.184 15.072 3.184h.44v1.984h-.44c-6.319 0-12.062-1.174-15.574-3.156-.752.564-1.469 1.325-1.469 2.185 0 2.712 6.999 5.734 17.043 5.734 10.036 0 17.031-3.018 17.042-5.727v-.011c-.002-.862-.722-1.623-1.476-2.187a14 14 0 0 1-1.606.788l-.766-1.833c.726-.298 1.356-.62 1.873-.96.902-.588 1.976-1.507 1.976-2.54m8.566-14.505h-5.604a1 1 0 0 1-.827-.435.98.98 0 0 1-.103-.922l3.409-8.522H44.619l-6 11.902h6.382c.319 0 .619.152.808.407a.99.99 0 0 1 .145.886L40.258 51.09zm3.069-.305L38.723 55.54a1.006 1.006 0 0 1-1.233.165.99.99 0 0 1-.442-1.153l6.586-20.528h-6.633c-.347 0-.668-.178-.851-.47a.98.98 0 0 1-.043-.965l7-13.886a1 1 0 0 1 .894-.549h15c.33 0 .642.164.827.435a.98.98 0 0 1 .103.923l-3.41 8.521H63c.4 0 .763.238.92.603a.99.99 0 0 1-.198 1.076M19.455 60.674c1.417.799 3.201 1.47 5.302 1.994l.488-1.924c-1.899-.473-3.559-1.094-4.802-1.794zM24.757 46.8l.488-1.924c-1.899-.474-3.559-1.095-4.802-1.795l-.988 1.725c1.417.798 3.2 1.47 5.302 1.994m-5.302-17.863.988-1.725c1.241.7 2.902 1.32 4.802 1.795l-.488 1.923c-2.104-.525-3.887-1.196-5.302-1.993" />
          </g>
        </symbol>
        <symbol id={`${uid}-s14`} viewBox="0 0 80 80" overflow="visible">
          <g fill="none" fillRule="evenodd">
            <rect width="80" height="80" fill="#dd344c" />
            <path fill="#fff" d="M38.76 43.36A1.241 1.241 0 1 0 40 42.12c-.683 0-1.24.556-1.24 1.24m-2 0A3.243 3.243 0 0 1 40 40.12a3.243 3.243 0 0 1 3.24 3.24A3.23 3.23 0 0 1 41 46.426V49h-2v-2.574a3.23 3.23 0 0 1-2.24-3.066M49 38H31v13h18v-3h-3v-2h3v-3h-3v-2h3zm-15-2h11.999L46 31c.001-2.616-2.857-4.998-5.996-5h-.003a6.6 6.6 0 0 0-4.238 1.575c-1.12.962-1.763 2.211-1.763 3.426zm14-4.999L47.999 36H50a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H30a1 1 0 0 1-1-1V37a1 1 0 0 1 1-1h2v-5c.001-1.798.897-3.599 2.459-4.942A8.63 8.63 0 0 1 40.001 24h.003c4.261.002 7.997 3.273 7.996 7.001M19.207 55.049l1.621-1.172c-2.735-3.78-4.247-8.215-4.432-12.877H19v-2h-2.601c.199-4.634 1.709-9.043 4.429-12.802l-1.621-1.173c-2.968 4.103-4.608 8.917-4.808 13.975H12v2h2.396c.186 5.086 1.828 9.926 4.811 14.049m34.631 4.159c-3.769 2.728-8.19 4.238-12.838 4.431V61h-2v2.639c-4.648-.192-9.07-1.702-12.841-4.431l-1.171 1.62c4.112 2.977 8.94 4.617 14.012 4.811V68h2v-2.361c5.072-.194 9.898-1.834 14.01-4.811zM26.159 20.866c3.771-2.728 8.193-4.238 12.841-4.43V19h2v-2.564c4.648.192 9.069 1.702 12.838 4.43l1.172-1.62c-4.112-2.976-8.938-4.616-14.01-4.81V12h-2v2.436c-5.072.193-9.9 1.833-14.012 4.81zM65.599 39c-.2-5.058-1.84-9.872-4.809-13.975l-1.621 1.173C61.89 29.957 63.4 34.366 63.599 39H61v2h2.602c-.186 4.662-1.697 9.097-4.433 12.877l1.621 1.172c2.984-4.123 4.625-8.963 4.812-14.049H68v-2zm-9.213-13.936 7.84-7.84-1.414-1.414-7.84 7.84zM23.612 55.01l-7.84 7.84 1.414 1.414 7.84-7.84zm5.054-27.757-14.841-14.84-1.414 1.414 14.841 14.84zM54.193 52.78l13.393 13.393-1.414 1.414-13.393-13.393z" />
          </g>
        </symbol>
        <symbol id={`${uid}-s15`} viewBox="0 0 80 80" overflow="visible">
          <g fill="none" fillRule="evenodd">
            <rect width="80" height="80" fill="#e7157b" />
            <path fill="#fff" d="M55.06 46.777c0-3.909-3.202-7.09-7.138-7.09s-7.136 3.181-7.136 7.09c0 3.91 3.2 7.09 7.136 7.09s7.137-3.18 7.137-7.09m2.01 0c0 5.011-4.103 9.087-9.147 9.087-5.043 0-9.147-4.076-9.147-9.087 0-5.01 4.104-9.086 9.147-9.086s9.148 4.076 9.148 9.086m8.44 13.697-7.01-6.271a13 13 0 0 1-1.947 2.16l6.998 6.27a1.474 1.474 0 0 0 2.066-.107 1.453 1.453 0 0 0-.108-2.052m-17.588-2.812c6.043 0 10.958-4.883 10.958-10.885s-4.915-10.884-10.958-10.884c-6.041 0-10.957 4.882-10.957 10.884s4.916 10.885 10.957 10.885m19.19 6.2A3.48 3.48 0 0 1 64.529 65a3.48 3.48 0 0 1-2.322-.883L54.931 57.6a12.94 12.94 0 0 1-7.009 2.06c-7.15 0-12.967-5.779-12.967-12.882s5.817-12.881 12.967-12.881 12.969 5.779 12.969 12.881c0 2.038-.492 3.96-1.344 5.674l7.309 6.54a3.444 3.444 0 0 1 .256 4.872M21.28 29.393c0 .519.032 1.036.094 1.536a.994.994 0 0 1-.823 1.106c-2.472.634-6.54 2.553-6.54 8.31 0 4.348 2.413 6.748 4.439 7.996.691.433 1.51.664 2.373.673l12.122.011-.002 1.997-12.131-.01c-1.246-.014-2.428-.351-3.428-.977C15.377 48.797 12 45.89 12 40.345c0-6.683 4.6-9.153 7.3-10.026q-.03-.462-.03-.926c0-5.46 3.728-11.123 8.672-13.171 5.782-2.407 11.908-1.214 16.384 3.189 1.388 1.364 2.529 3.02 3.404 4.937a6.5 6.5 0 0 1 4.154-1.502c3.002 0 6.382 2.264 6.984 7.215 2.812.644 8.753 2.894 8.753 10.362 0 2.981-.941 5.444-2.798 7.319l-1.433-1.401c1.473-1.488 2.22-3.479 2.22-5.918 0-6.532-5.504-8.157-7.873-8.551a1 1 0 0 1-.823-1.157c-.329-4.055-2.753-5.872-5.03-5.872-1.437 0-2.784.695-3.697 1.907a1.006 1.006 0 0 1-1.75-.258c-.823-2.266-2.01-4.171-3.525-5.661-3.88-3.816-9.184-4.85-14.195-2.766-4.17 1.727-7.437 6.702-7.437 11.328" />
          </g>
        </symbol>
        <symbol id={`${uid}-s16`} viewBox="0 0 80 80" overflow="visible">
          <g fill="none" fillRule="evenodd">
            <rect width="80" height="80" fill="#dd344c" />
            <path fill="#fff" d="M51.997 52.496h7v-2h-7zm-9 0h7v-2h-7zm-9 0h7v-2h-7zm11-8c0-1.103.898-2 2-2 1.103 0 2 .897 2 2s-.897 2-2 2-2-.897-2-2m6 0c0-2.206-1.793-4-4-4s-4 1.794-4 4 1.794 4 4 4 4-1.794 4-4m-14-2c1.103 0 2 .897 2 2s-.897 2-2 2-2-.897-2-2 .898-2 2-2m0 6c2.207 0 4-1.794 4-4s-1.793-4-4-4-4 1.794-4 4 1.794 4 4 4m29-15v23a1 1 0 0 1-1 1h-31v-2h30v-21h-22v-2h23a1 1 0 0 1 1 1m-35.301 5.047a1 1 0 0 0-.7.953v21.04l-2.398 2.057-2.601-2.973v-2.624a1 1 0 0 0-.293-.707l-2.292-2.293 2.292-2.293a1 1 0 0 0 .293-.707v-2a1 1 0 0 0-.293-.707l-2.292-2.293 2.292-2.293a1 1 0 0 0 .293-.707v-3.49a1 1 0 0 0-.698-.953c-5.142-1.63-8.182-6.919-7.07-12.304.803-3.88 3.787-6.99 7.602-7.926 3.249-.797 6.58-.1 9.14 1.907a10.45 10.45 0 0 1 4.026 8.266c0 4.553-3.002 8.685-7.301 10.047m9.3-10.047c0-3.864-1.745-7.45-4.79-9.84s-6.997-3.22-10.851-2.275c-4.561 1.117-8.126 4.832-9.084 9.463v.001C14 31.99 17.3 38.035 22.997 40.215v2.367L20.29 45.29a1 1 0 0 0 0 1.414l2.707 2.707v1.172L20.29 53.29a1 1 0 0 0 0 1.414l2.707 2.707v2.586c0 .242.088.476.248.66l3.5 4a1 1 0 0 0 1.403.1l3.5-3a1 1 0 0 0 .349-.76V40.204c4.746-1.832 8-6.542 8-11.708m-12.5 2.37a2.503 2.503 0 0 1-2.5-2.5c0-1.378 1.123-2.5 2.5-2.5a2.5 2.5 0 0 1 0 5m0-7a4.505 4.505 0 0 0-4.5 4.5c0 2.482 2.02 4.5 4.5 4.5 2.483 0 4.5-2.018 4.5-4.5 0-2.48-2.017-4.5-4.5-4.5" />
          </g>
        </symbol>
      </defs>
      <rect width="1072" height="1329" fill="#ffffff" />
      <text fontSize="20" fontWeight="600" fill="#000000">
        <tspan x="28" y="43.78">
          Amazon SageMaker AI as the LLM gateway
        </tspan>
      </text>
      <text fontSize="13" fill="#5f6b7a">
        <tspan x="28" y="66.18">
          Every inference call goes through a self-hosted model on an Amazon SageMaker AI endpoint, with retrieval, chat history and a prompt cache
        </tspan>
      </text>
      <g id={`${uid}-g-cloud`}>
        <rect x="28" y="269" width="1016" height="967" fill="none" stroke="#232f3e" strokeWidth="1.67" />
      </g>
      <g id={`${uid}-g-region`}>
        <rect x="48" y="505" width="976" height="711" fill="none" stroke="#00a4a6" strokeWidth="1.67" strokeDasharray="5 1.67" />
      </g>
      <g id={`${uid}-g-retrieval`}>
        <rect x="166" y="741" width="473" height="193" rx="10" fill="#f4f6f8" stroke="#888f99" strokeWidth="1" />
      </g>
      <g id={`${uid}-g-ops`}>
        <rect x="511" y="1003" width="493" height="193" rx="10" fill="#f4f6f8" stroke="#888f99" strokeWidth="1" />
      </g>
      <g id={`${uid}-e-e1`}>
        <path d="M249 200 L249 326.25" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" />
        <path d="M244.5 318 L249 327 L253.5 318" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-e-e2`}>
        <path d="M350 359 L281.25 359" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" strokeDasharray="1.5 3.5" strokeLinecap="round" />
        <path d="M289.5 354.5 L280.5 359 L289.5 363.5" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-e-e3`}>
        <path d="M249 431 L249 562.25" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" />
        <path d="M244.5 554 L249 563 L253.5 554" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-e-e4`}>
        <path d="M151.5 595 L215.75 595" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" strokeDasharray="1.5 3.5" strokeLinecap="round" />
        <path d="M207.5 599.5 L216.5 595 L207.5 590.5" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-e-e5`}>
        <path d="M280.5 595 L381.75 595" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" />
        <path d="M373.5 599.5 L382.5 595 L373.5 590.5" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-e-e6`}>
        <path d="M446.5 595 L573.25 595" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" />
        <path d="M565 599.5 L574 595 L565 590.5" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-e-e7`}>
        <path d="M394 667 L394 684 Q394 692 386 692 L256 692 Q248 692 248 700 L248 792.25" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" />
        <path d="M243.5 784 L248 793 L252.5 784" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-e-e8`}>
        <path d="M408 667 L408 792.25" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" />
        <path d="M403.5 784 L408 793 L412.5 784" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-e-e9`}>
        <path d="M422 667 L422 694 Q422 702 430 702 L733 702 Q741 702 741 710 L741 766.25" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" />
        <path d="M736.5 758 L741 767 L745.5 758" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-e-e10`}>
        <path d="M436 667 L436 684 Q436 692 444 692 L910.5 692 Q918.5 692 918.5 700 L918.5 782.25" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" />
        <path d="M914 774 L918.5 783 L923 774" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-e-e11`}>
        <path d="M530.5 825 L440.75 825" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" />
        <path d="M449 820.5 L440 825 L449 829.5" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-e-e12`}>
        <path d="M734 903.75 L734 1023 Q734 1031 726 1031 L595 1031 Q587 1031 587 1039 L587 1055" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" strokeDasharray="1.5 3.5" strokeLinecap="round" />
        <path d="M738.5 912 L734 903 L729.5 912" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-e-e13`}>
        <path d="M748 903 L748 1054.25" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" strokeDasharray="1.5 3.5" strokeLinecap="round" />
        <path d="M743.5 1046 L748 1055 L752.5 1046" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-e-e14`}>
        <path d="M919 887.75 L919 1055" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" strokeDasharray="1.5 3.5" strokeLinecap="round" />
        <path d="M923.5 896 L919 887 L914.5 896" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-el-e1`}>
        <rect x="255" y="231.83" width="51" height="21" rx="4" fill="#ffffff" fillOpacity="0.92" />
        <text fontSize="11.5" fill="#000000" textAnchor="middle">
          <tspan x="280.5" y="246.51">
            HTTPS
          </tspan>
        </text>
      </g>
      <g id={`${uid}-el-e3`}>
        <rect x="255" y="464.5" width="40" height="21" rx="4" fill="#ffffff" fillOpacity="0.92" />
        <text fontSize="11.5" fill="#000000" textAnchor="middle">
          <tspan x="275" y="479.18">
            /chat
          </tspan>
        </text>
      </g>
      <g id={`${uid}-el-e5`}>
        <rect x="307.5" y="571" width="48" height="21" rx="4" fill="#ffffff" fillOpacity="0.92" />
        <text fontSize="11.5" fill="#000000" textAnchor="middle">
          <tspan x="331.5" y="585.68">
            invoke
          </tspan>
        </text>
      </g>
      <g id={`${uid}-el-e6`}>
        <rect x="485.75" y="571" width="49" height="21" rx="4" fill="#ffffff" fillOpacity="0.92" />
        <text fontSize="11.5" fill="#000000" textAnchor="middle">
          <tspan x="510.25" y="585.68">
            lookup
          </tspan>
        </text>
      </g>
      <g id={`${uid}-el-e7`}>
        <rect x="278.5" y="668" width="85" height="21" rx="4" fill="#ffffff" fillOpacity="0.92" />
        <text fontSize="11.5" fill="#000000" textAnchor="middle">
          <tspan x="321" y="682.68">
            embed query
          </tspan>
        </text>
      </g>
      <g id={`${uid}-el-e8`}>
        <rect x="348" y="709" width="54" height="21" rx="4" fill="#ffffff" fillOpacity="0.92" />
        <text fontSize="11.5" fill="#000000" textAnchor="middle">
          <tspan x="375" y="723.68">
            retrieve
          </tspan>
        </text>
      </g>
      <g id={`${uid}-el-e9`}>
        <rect x="551" y="705" width="61" height="21" rx="4" fill="#ffffff" fillOpacity="0.92" />
        <text fontSize="11.5" fill="#000000" textAnchor="middle">
          <tspan x="581.5" y="719.68">
            generate
          </tspan>
        </text>
      </g>
      <g id={`${uid}-el-e10`}>
        <rect x="652.25" y="668" width="50" height="21" rx="4" fill="#ffffff" fillOpacity="0.92" />
        <text fontSize="11.5" fill="#000000" textAnchor="middle">
          <tspan x="677.25" y="682.68">
            history
          </tspan>
        </text>
      </g>
      <g id={`${uid}-el-e12`}>
        <rect x="624" y="1034" width="73" height="21" rx="4" fill="#ffffff" fillOpacity="0.92" />
        <text fontSize="11.5" fill="#000000" textAnchor="middle">
          <tspan x="660.5" y="1048.68">
            credentials
          </tspan>
        </text>
      </g>
      <g id={`${uid}-el-e13`}>
        <rect x="754" y="968.5" width="53" height="21" rx="4" fill="#ffffff" fillOpacity="0.92" />
        <text fontSize="11.5" fill="#000000" textAnchor="middle">
          <tspan x="780.5" y="983.18">
            metrics
          </tspan>
        </text>
      </g>
      <g id={`${uid}-el-e14`}>
        <rect x="814" y="960.5" width="99" height="21" rx="4" fill="#ffffff" fillOpacity="0.92" />
        <text fontSize="11.5" fill="#000000" textAnchor="middle">
          <tspan x="863.5" y="975.18">
            encryption keys
          </tspan>
        </text>
      </g>
      <g id={`${uid}-gh-cloud`}>
        <rect x="72" y="279.55" width="79.42" height="18.9" rx="3" fill="#ffffff" />
        <use href={`#${uid}-s1`} x="28" y="269" width="40" height="40" />
        <text fontSize="13" fontWeight="600" fill="#000000">
          <tspan x="76" y="293.73">
            AWS Cloud
          </tspan>
        </text>
      </g>
      <g id={`${uid}-gh-region`}>
        <rect x="92" y="515.55" width="67.58" height="18.9" rx="3" fill="#ffffff" />
        <use href={`#${uid}-s2`} x="48" y="505" width="40" height="40" />
        <text fontSize="13" fontWeight="600" fill="#000000">
          <tspan x="96" y="529.73">
            us-east-1
          </tspan>
        </text>
      </g>
      <g id={`${uid}-gh-retrieval`}>
        <rect x="250" y="750" width="63.5" height="18.9" rx="3" fill="#f4f6f8" />
        <text fontSize="13" fontWeight="600" fill="#000000">
          <tspan x="254" y="764.18">
            Retrieval
          </tspan>
        </text>
      </g>
      <g id={`${uid}-gh-ops`}>
        <rect x="519" y="1012" width="157.9" height="18.9" rx="3" fill="#f4f6f8" />
        <text fontSize="13" fontWeight="600" fill="#000000">
          <tspan x="523" y="1026.18">
            Security and operations
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-users`}>
        <use href={`#${uid}-s3`} x="217" y="96" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="249" y="179.18">
            Users
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="249" y="196.58">
            Chat and app clients
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-cdn`}>
        <use href={`#${uid}-s4`} x="216.5" y="327" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="248.5" y="410.18">
            Amazon CloudFront
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="248.5" y="427.58">
            Edge network
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-waf`}>
        <use href={`#${uid}-s5`} x="350" y="327" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="382.01" y="410.18">
            AWS WAF
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="382.01" y="427.58">
            Web ACL
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-auth`}>
        <use href={`#${uid}-s6`} x="87.5" y="563" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="119.51" y="646.18">
            Amazon Cognito
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="119.51" y="663.58">
            User pool
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-api`}>
        <use href={`#${uid}-s7`} x="216.5" y="563" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="248.5" y="646.18">
            Amazon API
          </tspan>
          <tspan x="248.5" y="663.08">
            Gateway
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-orch`}>
        <use href={`#${uid}-s8`} x="382.5" y="563" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="414.5" y="646.18">
            AWS Lambda
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="414.5" y="663.58">
            RAG orchestrator
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-cache`}>
        <use href={`#${uid}-s9`} x="574" y="563" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="606" y="646.18">
            Amazon ElastiCache
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="606" y="663.58">
            Prompt cache
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-embed`}>
        <use href={`#${uid}-s10`} x="216" y="793" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="248" y="876.18">
            Amazon SageMaker
          </tspan>
          <tspan x="248" y="893.08">
            AI
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="248" y="910.48">
            Embeddings endpoint
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-vector`}>
        <use href={`#${uid}-s11`} x="376" y="793" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="408" y="876.18">
            Vector index
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="408" y="893.58">
            Amazon OpenSearch
          </tspan>
          <tspan x="408" y="908.58">
            Service
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-corpus`}>
        <use href={`#${uid}-s12`} x="530.5" y="793" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="562.5" y="876.18">
            Corpus and model
          </tspan>
          <tspan x="562.5" y="893.08">
            artifacts
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="562.5" y="910.48">
            Amazon S3
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-llm`}>
        <use href={`#${uid}-s10`} x="709" y="767" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="741" y="850.18">
            Amazon SageMaker
          </tspan>
          <tspan x="741" y="867.08">
            AI
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="741" y="884.48">
            LLM endpoint
          </tspan>
          <tspan x="741" y="899.48">
            (JumpStart)
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-sessions`}>
        <use href={`#${uid}-s13`} x="886.5" y="783" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="918.51" y="866.18">
            Amazon DynamoDB
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="918.5" y="883.58">
            Chat history
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-secrets`}>
        <use href={`#${uid}-s14`} x="555" y="1055" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="587" y="1138.18">
            AWS Secrets
          </tspan>
          <tspan x="587" y="1155.08">
            Manager
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="587" y="1172.48">
            Endpoint credentials
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-cw`}>
        <use href={`#${uid}-s15`} x="716" y="1055" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="748" y="1138.18">
            Amazon CloudWatch
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="748" y="1155.58">
            Model latency
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-kms`}>
        <use href={`#${uid}-s16`} x="886.5" y="1055" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="918.51" y="1138.18">
            AWS Key
          </tspan>
          <tspan x="918.51" y="1155.08">
            Management Service
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="918.51" y="1172.48">
            Encryption keys
          </tspan>
        </text>
      </g>
      <g id={`${uid}-legend`}>
        <rect x="858" y="1248" width="186" height="53" rx="6" fill="#ffffff" stroke="#c6ccd4" strokeWidth="1" />
        <path d="M868 1265.5 H896" fill="none" stroke="#545b64" strokeWidth="1.5" />
        <text fontSize="11.5" fill="#000000">
          <tspan x="904" y="1269.68">
            Request path
          </tspan>
        </text>
        <path d="M868 1283.5 H896" fill="none" stroke="#545b64" strokeWidth="1.5" strokeDasharray="1.5 3.5" strokeLinecap="round" />
        <text fontSize="11.5" fill="#000000">
          <tspan x="904" y="1287.68">
            Security and operations
          </tspan>
        </text>
      </g>
    </svg>
  );
}
