ã¯ããã«
ããã«ã¡ã¯ããã«ããã· å¾æ¥å¡ããµã¼ãã¹ãã¼ã ã® a2 (@A2hiro_tim) ã§ããã©ã¹ãã¬ã¹ã§éå¬ããã¦ããAWS re:Invent 2024 ã«æ¨å¹´ã«å¼ãç¶ãåå ãã¦ãã¾ããä»å㯠ChalkTalk ã¨ãã¦éå¬ããããDeep dive into Claude 3.5: Unlocking AI potential on AWSãã®åå ã¬ãã¼ãããå±ããã¾ãã
ChalkTalk 㯠speaker ã«ãã£ã¦å½¢å¼ã«å·®ãããã¾ãããä»åã®ã»ãã·ã§ã³ã¯ Claude 3.5 ã®ä»çµã¿ãã¹ãã¼ã«ã¼ãã²ããã話ãå½¢å¼ã§ãæå¾ã« Amazon Bedrock ãå©ç¨ãããã¢ãããå½¢ã§ãããæ¬è¨äºã§ã¯ãClaude 3.5 ã®ä»çµã¿ã«ã¤ãã¦ç°¡åã«ç´¹ä»ãã¾ãã
Claude ã¨ã¯
Claude ã¯ãAnthropic 社ãéçºããçæ AI ã¢ãã«ã®ã·ãªã¼ãºã§ãå¹ åºãè¨èªã¿ã¹ã¯ã»ç»åã¿ã¹ã¯ã«å¯¾å¿ã§ãã¾ãã
AWS 㯠Anthropic 社ã¨ææºãã¦ãããAmazon Bedrock ã対å¿ãã¦ããåºç¤ã¢ãã«ã®ä¸ã« Claude ã¯å«ã¾ãã¦ãã¾ãã
Claude 3.5 Sonnet ã¯ã¨ã¼ã¸ã§ã³ãã¿ã¹ã¯ï¼èªå¾çã«ç®æ¨ãéæããã¿ã¹ã¯ï¼ã«å¼·ãããã³ããã¼ã¯ã¨è©å¤ã¨ãã«è¯ãã§ãã
Agent ã¨ã¯
Agent ã¨ã¯ããã°ãã°ãprompt ã®æåã°ã©ããã¨ãã¦ä¼è©±ããããã¨ãããã¾ãããAnthropic ã§ã¯ãå®è¡ã«ã¼ãã®ä¸ã§ãã¼ã«ãå©ç¨ããã¨ã©ã¼ãèµ·ããã°å¯¾å¿ããã¿ã¹ã¯ãå®äºããã LLM ãã¨å®ç¾©ãã¦ãã¾ãã
çè ã®è§£éã§éã«è£è¶³ããã°ããã¿ã¹ã¯ãä¸ããã¨ããã®çéãèªãèãã¦ãä¸ã¤ä¸ã¤å®è¡ããã¨ã©ã¼ã«ã対å¿ããªããå®äºã¾ã§é å¼µããã·ã¹ãã ãã§ãã
ä¾ãã°ï¼çæ³çã«ã¯ï¼ã3æ³4æ¥ã§ã©ã¹ãã¬ã¹æ è¡ãè¨å®ãã¦ãäºç®ã¯50ä¸ã§ãã¨ããã°ãã«ã¬ã³ãã¼ãã空ãã¦ãæ¥ç¨ãæ¢ããèªç©ºå¸ã調ã¹ã¦äºç´ããã©ã¹ãã¬ã¹ã®åæã調ã¹ãã°ã©ã³ããã£ããªã³ã®ãã¢ã¼ãäºç´ããæå¾ã«æ ç¨ãdocumentã«åºåãããã¨ãã£ãå½¢ã§ãã
æ¡ç¨æè¡
Claude ã®éçºã§ã¯ã以ä¸ã®äºã¤ãåºæ¬æéã«ããã¦ãã¾ãã
- ã·ã³ãã«ã§ãããã¨
- Agent-User UX ãè¯ããã¨
ä¾ãã°ãClaude3.5 ã® agent ãå©ç¨ãããã¼ã«ã¯ API ã®ä»ã«ã¯ command å®è¡ã®ããã® bash ã¨ãã¡ã¤ã«ã® view/edit ã®äºã¤ã主ãããã®ã§ãè¨ç»ã¯æåã§å¤æ´ãããã¨ãå¯è½ã§ãã
ä»ã«ç¹å¾´çãªç¹ã¨ãã¦ãPrompt Caching 㨠Contextual Retrieval ã使ã£ã¦ãã¾ãã
Prompt Caching ã«ã¤ãã¦ã¯æ¬æ¥Amazon Bedrockã§ãçºè¡¨ãããã¾ãã*1ãéå»ã®ããã³ããã®ä¸é¨ããã£ãã·ã¥ãããã¨ã§ã¬ã¹ãã³ã¹é度ã¨æ§è½ãæ¹åããæè¡ã§ãã
Contextual Retrieval ã¯ãKnowledge Base ãä½ãæã«å ¨ã¦ã® chunk ã« context ãä»ä¸ããæè¡ã§ãã
Workbench
Calude3.5 ã®æè¡ç´¹ä»ã®ä»ã«ãworkbench ã¨ããããã³ãããæ¹åãããã¼ã«ãç´¹ä»ããã¾ããã
ã¨ã¦ãç°¡åã« prompt engineering ãã§ãããã¼ã«ã§ãprompt ã試è¡é¯èª¤ããéã«å¿ è¦ãªãã¹ããã¼ã¿ã LLM ã«çæãããããspreadsheet æè¦ã§ã¢ãã«ãã¨ãprompt ãã¨ã®çµæã®æ¯è¼ãè©ä¾¡ãã§ãã¾ãã
åºæ¥ä¸ãã£ã prompt ã使ãã³ã¼ããåºåã§ãã¾ãã
ãããã«
è¯ãæ§è½ãã ãã¤ã¤ããè¤éã«è²ã ãªãã¯ããã¯ãçµã¿åãããã®ã§ã¯ãªããã·ã³ãã«ãªä»çµã¿ã§å®è£ ããã¦ããã®ã¯ãLLM ããããªã¨æãã¾ãããåã ã®æè¡è©³ç´°ã¯ç«¯æã£ãç®æãå¤ãã®ã§ã Anthropic ã®ããã°è¨äºãåç §ãã ããã
LLM é¢é£æè¡ã®æé·ã¯ããã¾ãããå°ã追ã£ã¦ããªãã ãã§ãç½®ãã¦ããã¦ãã¾ãã¾ããæ¨å¹´RAG ã®èª¬æãå«ãã¦ããã°ãæ¸ãã *2 ã®ã§ãããä»å¹´ã¯RAGã¯å½ããåã®ãã®ã¨ãã¦å¿ç¨æè¡ã®ã»ãã·ã§ã³ãã»ã¨ãã©ã«ã¿ãã¾ããã
ãã¼ã«å¨ããé²åãã¦ãã¦è§¦ããããã®ã§ãæ¹ã㦠Catchup ãããã¨æãã¾ããæ©é Workbench ã触ã£ã¦ã¿ã¾ããããã¨ã¦ã使ããããã§ãã
é¢é£è³æ
Claude 3.5 ã® Amazon Bedrock 対å¿ã®çºè¡¨
Claude ã® document