Upgrade to Pro — share decks privately, control downloads, hide ads and more …

(ほぼ)ノーコードでもBedrockしたいっ!! @JAWS-UG Sapporo

SimSta
June 07, 2024
160

(ほぼ)ノーコードでもBedrockしたいっ!! @JAWS-UG Sapporo

SimSta

June 07, 2024
Tweet

More Decks by SimSta

Transcript

  1. #FESPDLͷػೳ Ϟσϧݺͼग़͠ Ҏ্ͷج൫Ϟσϧ͔Β ༻్ʹ߹ΘͤͯબΜͰݺͼग़ͤΔ ը૾ೝࣝ΍ը૾ੜ੒ɺຒΊࠐΈ΋0, ,OPXMFEHF#BTFT ؆୯ͳηοτΞοϓͰ 4ʹอଘͨ͠จॻΛ΋ͱʹ ຊ֨తͳ3"(Λ࣮૷Ͱ͖Δ "HFOUT

    Ϟσϧ͕ࢦࣔʹԠͯࣗ͡཯తʹ 3"(΍-BNCEBΛ࣮ߦͯ͠ λεΫΛ͜ͳͯ͘͠ΕΔ • ϓϩϏδϣϯυεϧʔϓοτ • ਪ࿦ύϥϝʔλͷௐ੔ • 1SJWBUF-JOL • $IBUXJUIZPVSEPDVNFOU • ϞσϧධՁ • ίϥϘϨʔγϣϯʢ4UVEJPʣ • ΨʔυϨʔϧ • ΢ΥʔλʔϚʔΫݕग़ • ΧελϜϞσϧΠϯϙʔτ FUD
  2. Ξοϓσʔτ͕ΊͪΌͪ͘Όଟ͍ʢʙͰ݅ʣ w .JTUSBM-BSHF͕#FESPDLͰར༻Մೳʹ w .JTUSBM4NBMM͕#FESPDLͰར༻Մೳʹ w .FUB-MBNB͕#FESPDLͰར༻Մೳʹ w "OUISPQJD$MBVEF0QVT͕#FESPDLͰར༻Մೳʹ w

    $PIFSF$PNNBOE3ͱ$PNNBOE3 ͕#FESPDLͰར༻Մೳʹ w 5JUBO*NBHF(FOFSBUPS͕#FESPDLͰҰൠఏڙ։࢝ w 5JUBO5FYU&NCFEEJOHT7͕#FESPDLͰར༻Մೳʹ w 5JUBO5FYU1SFNJFS͕#FESPDLͰར༻Մೳʹ w #FESPDL͕ύϦϦʔδϣϯͰར༻Մೳʹ w #FESPDL͕γυχʔϦʔδϣϯͰར༻Մೳʹ w #FESPDL͕ϜϯόΠϦʔδϣϯͰར༻Մೳʹ w $MBVEF4POOFUͱ)BJLV͕ϑϥϯΫϑϧτϦʔδϣϯͰར༻Մೳʹ w ,OPXMFEHF#BTFTGPS"NB[PO#FESPDL͕0QFO4FBSDI4FSWFSMFTTʹର͢ΔϓϥΠϕʔτωοτϫʔΫϙϦγʔΛαϙʔτ w ,OPXMFEHF#BTFTGPS"NB[PO#FESPDL͕$MPVE'PSNBUJPOͱ4FSWJDF2VPUBTΛαϙʔτ w ,OPXMFEHF#BTFTGPS"NB[PO#FESPDL͕$MBVEF)BJLVΛαϙʔτ w ,OPXMFEHF#BTFTGPS"NB[PO#FESPDL͕୯ҰυΩϡϝϯτΛ༻͍ͨ؆ૉԽ͞Εͨ2"ػೳΛ௥Ճ w ,OPXMFEHF#BTFTGPS"NB[PO#FESPDL͕ෳ਺ͷσʔλιʔεΛαϙʔτ w ,OPXMFEHF#BTFTGPS"NB[PO#FESPDL͕ϕΫλʔετΞͱͯ͠.POHP%#"UMBTΛαϙʔτ w ,OPXMFEHF#BTFTGPS"NB[PO#FESPDL͕(VBSESBJMTΛߏ੒Մೳʹ w ,OPXMFEHF#BTFTGPS"NB[PO#FESPDL͕ਪ࿦ύϥϝʔλΛαϙʔτ w "HFOUTGPS"NB[PO#FESPDLͰ$MBVEF)BJLV͓Αͼ4POOFU͕ར༻Մೳʹ w "HFOUTGPS"NB[PO#FESPDLͷΤʔδΣϯτ࡞੒͕؆ૉԽ͠ɺ3FUVSOPG$POUSPMػೳ͕௥Ճ w "HFOUTGPS"NB[PO#FESPDL͕ϓϩϏδϣϯυεϧʔϓοτΛαϙʔτ w #FESPDLʹ$POWFSTF"1*͕௥Ճ w 5JUBO*NBHF(FOFSBUPSͷ΢ΥʔλʔϚʔΫݕग़ػೳ͕ϦϦʔε w #FESPDLͰΧελϜϞσϧ͕ΠϯϙʔτՄೳʹ w #FESPDLͷϞσϧධՁ͕ϦϦʔε w (VBSESBJMTGPS#FESPDL͕ϦϦʔε͞Εɺ৽͍͠ίϯτϩʔϧ͕௥Ճ w #FESPDL4UVEJP͕ϦϦʔε w 1BSUZ3PDLʹ%PDVNFOU΢ΟδΣοτ͕௥Ճ ͜ͷଞʹαΠϨϯτΞϓσ΋͋ΔΒ͍͠ʜ
  3. -*/&νϟοτϘοτͷߏ੒ ϑϩϯτΤϯυʹ-*/&Λ࢖͏͜ͱͰ ʢ΄΅ʣϊʔίʔυΛ࣮ݱ AWS Cloud API Gateway Step Functions Bedrock

    EventBridge API Destination LINE Webhook Invoke Execute Call HTTPS Endpoint Secrets Manager API Key User API Key S3 Pinecone Retrieve Embedding
  4. (FO6ͷΞʔΩςΫνϟͱػೳ w νϟοτ w 3"(νϟοτ w "HFOUνϟοτ w จষੜ੒ w

    ཁ໿ w ߍਖ਼ w ຋༁ w 8FCίϯςϯπநग़ w ը૾ੜ੒ w ө૾෼ੳ w ϒϥ΢β֦ு w ϞχλϦϯά w ೝূʢ4".-࿈ܞʣ w *1੍ݶʢ8"'ʣ ˞Ұ෦͸ΦϓγϣϯͰ௥Ճ