LINE ã® Bot éçº C# è¶ å ¥éï¼å¾ç·¨ï¼ ã¡ãã»ã¼ã¸ã®å 容ã¨æèãæèããä¼è©±ãå®ç¾ãã åç·¨ã«ç¶ã㦠Bot ãéçºãã¦ããã¾ããä»åã¯èªç¶è¨èªè§£æãç¨ããã¡ãã»ã¼ã¸ã®ç解ã¨ãæèã«å¿ãã¦å¯¾è©±ããããªãã¨ããã¾ã§ãã«ãã¼ãã¾ãã éçºã®æµã èªç¶è¨èªè§£æãµã¼ãã¹ã® Language Understanding Intelligent Service (LUIS) ãè¨å®ããç解ãã¹ãã¡ãã»ã¼ã¸ãç解ã§ããããã«å¦ç¿ããã¾ãã Bot ãåãåã£ãã¡ãã»ã¼ã¸ã LUIS ã¨é£æºãã¦ã¦ã¼ã¶ã¼ã®æå³ãå¤å®ã§ããããã«ãã¾ãã æèã«å¿ãã¦å¯¾è©±ããããã®æ©è½ã Bot ã«çãè¾¼ã¿ã¾ãã æé èªç¶è¨èªè§£æã®è¨å® LUIS ã¯ãã¤ã¯ãã½ããã®èªç¶è¨èªå¦çã®ãµã¼ãã¹ã§ããã¦ã¼ã¶ã¼ãçºè©±ããæç« ãä½ãæå³ãã¦ããã®ããç¹å®ããããã«å©ç¨ãã¾ããã¾ãããã®æç« ã®ä¸ãããã©ã¡ã¼ã¿ã¼ãæ½åºããæ©è½ã
LINE ã® Bot éçº è¶ å ¥éï¼åç·¨ï¼ ã¼ãããå¿çãã§ããã¾ã§ C# ç·¨ â»Node.js ç·¨ã¯ãã¡ã æ¦è¦ ãã®è¨äºã§ã¯ LINE ã§åä½ãã Bot ãéçºããæ¹æ³ããã¥ã¼ããªã¢ã«å½¢å¼ã§è¨è¼ãã¦ãã¾ããã«ãã¼ããå 容ã¯ãã寿å¸ã®åºåãåä»ãã Botããéçºããã¨ãããã®ã§ãLINE å´ã§ã®å¿ è¦ãªè¨å®ãBot æ¬ä½ã®éçºã¨ã¯ã©ã¦ãç°å¢ã¸ã®ãããã¤ãããã¦èªç¶è¨èªè§£æãçµã¿è¾¼ãã§ã¦ã¼ã¶ã¼ã®æå³ãç¹å®ããæ©è½ãªã© Bot ã«å ±éãã¦æ±ããããåºæ¬çãªåä½ãå«ã¿ã¾ããä»åã® Bot æ¬ä½ã¯ C# 㨠ASP.NET Core ã§ä½ã£ã¦ããã¾ãã å¿ è¦ãªã¹ãã«ã¨ç°å¢ C# 㨠ASP.NET Core ã®åºæ¬çãªç¥è Visual Studio Code ã®åºæ¬çãªæä½æ¹æ³ dotnet core SDK Windows/Linux/Mac Azure ãµãã¹ã¯ãªãã·ã§ã³ Azure C
ãã®è¨äºã§ã¯ãVisual Studio 2017ã¨Azure Functionsã使ç¨ãã¦LINE Bot ã¢ããªã±ã¼ã·ã§ã³ãéçºãè¡ãæé ã解説ãã¾ãã ï¼ï¼Azure ã¢ã«ã¦ã³ããLINE@ ã¢ã«ã¦ã³ãã®æºå Microsoft Azure ã¢ã«ã¦ã³ã Microsoft  Azureã®ã¢ã«ã¦ã³ããæã£ã¦ããªãå ´åã¯ãä½æãã¦ããã¾ãã Azure Functions ã§ã¯ç¡æã®ãµã¼ãã¹ãã©ã³ãé¸æãããã¨ã¯ã§ããªãããã3000å/æã®ã¯ã¬ã¸ããã1å¹´éä»ãã¦ãããVisual Studio Dev Essentialsãã®å©ç¨ããå§ããã¾ãã https://www.visualstudio.com/ja/dev-essentials/ LINE@ã¢ã«ã¦ã³ã LINE Messaging API ãå©ç¨ããLINE@ã¢ã«ã¦ã³ããä½æãã¾ãã ä½æãè¨å®ã®æé ã¯ãã¡ãã®è¨äºã®ãLI
ï¼ããã ãã¶åã®è©±ã«ãªã£ã¦ãã¾ãã¾ãããï¼C# çLINE Messaging API ããã³ãã¥ããã£SDKã¨ãã¦LINEã®å ¬å¼ãµã¤ãã«æ²è¼ããã¾ããï¼ C# SDK for LINE Messaging API github.com LINE Developers https://developers.line.me/ja/docs/messaging-api/line-bot-sdk/ C#ã§LINE BOTãéçºããç°å¢ãããããã¨æ´ã£ã¦ãã¾ããã®ã§ããã®è¾ºã§å°ãæ´çãããã¨æãã¾ãã â ç®æ¬¡ éçºç°å¢ ã¯ãã¹ãã©ãããã©ã¼ã ã§ã®éçº ãã³ãã¬ã¼ã ãã¥ã¼ããªã¢ã« Visual Studio 2017ã§ã®éçº ãã³ãã¬ã¼ã ãã¥ã¼ããªã¢ã« éçºã便å©ã«ãããã¼ã«ãªã© LINESimulator line-richmenus-manager éçºç°å¢ éçºç°å¢ã¨ãã¦ã¯ã大ããåãã¦
ååã®è¨äºã®ç¶ãã§ãã ã¼ãããå§ããLINEBot(AWSÃnode.js)â¡ãªã¦ã è¿ããã https://qiita.com/tenn25/items/498f768a58ba6a6de156 ãã®è¨äºã§åããã㨠LINEã«æ稿ãããç»åãSï¼ã«ä¿åãã ãã®è¨äºã®å¯¾è±¡è ããããã¨åå¿è (èªåããããªã®ã§) MessagingAPIã®ãããªå¤é¨APIã使ã£ããã¨ããªã AWSãããã¾è©³ãããªã(ã¢ã«ã¦ã³ãã¯æã£ã¦ãããã) æµã 第1åãã¨ããããåãã 1.LINE Developersã®ç»é²/è¨å® 2.å®è£ (Lambda/node.js) 3.å®æå®è¡ã®è¨å®(CloudWatch) 第2å ãªã¦ã è¿ãã®å®è£ 4.ãã¡ã¤ã³åå¾,DNSè¨å®,SSL証ææ¸ã®è¨å®(Route53/ACM/SNS/S3) 5.ã¤ãã³ãã®åãåã(APIGateWay) 6.ã¦ã¼ã¶ã¸ã®è¿ä¿¡(Lambda
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}