第301å SORACOMå ¬å¼ããã°
ã½ã©ã³ã å ¬å¼ããã°
IoTãç£ã¿åºããã¼ã¿ããçæç³»AIãã§æ´»ãããã¯ããã¯ã»ãã·ã§ã³ã®ã¢ãããã¼ããSORACOM Discovery 2023ã
ãæ¬è¨äºã¯ã½ã©ã³ã ãæä¾ãããSORACOMå ¬å¼ããã°ãã«æ²è¼ããããIoTãç£ã¿åºããã¼ã¿ããçæç³»AIãã§æ´»ãããã¯ãã㯠ã»ãã·ã§ã³ã®ã¢ãããã¼ããSORACOM Discovery 2023ãããåç·¨éãããã®ã§ãã
ç®æ¬¡
IoTãç£ã¿åºããã¼ã¿ããçæç³»AIãã§æ´»ãããã¯ããã¯ChatGPT ã®æ©è½ã¢ãããã¼ã
ã¢ãã«ã®ã¢ãããã¼ã
Function calling
ã¢ãããã¼ããããæ©è½ã試ãã¦ã¿ã
Function ãå®ç¾©ãã
Function calling ãè¨å®ãã
Function calling ãè¨å®ã㦠ChatGPT ãå¼ã³åºã
æ´ãªãã¢ãããã¼ã
Code interpreter ã¨ã¯
Code interpreter 試ãã¦ã¿ã
JSON å½¢å¼ã§ã®åºåãæå®ãã¦ã¿ã
ã¾ã¨ã
ããã«ã¡ã¯ãã½ãªã¥ã¼ã·ã§ã³ã¢ã¼ããã¯ãã®å ç°ï¼ããã¯ãã¼ã ï¼jetï¼ã§ãã
7/5ï¼æ°´ï¼ã»7/6ï¼æ¨ï¼ã«éå¬ããIoTã«ã³ãã¡ã¬ã³ã¹ãSORACOM Discovery 2023ãã¯ã楽ãã¿ããã ãã¾ããã§ããããï¼ 7/6ï¼æ¨ï¼ã¯ä¹ ãã¶ãã®ãªãã©ã¤ã³éå¬ã¨ãªããå¤ãã®æ¹ã«ä¼å ´ã«ãè¶ãããã ããå®éã«IoTããã¤ã¹ãè¦ã¦è§¦ãã¦ããã ãã¦ããã¾ããããããã¨ããããã¾ããã
ãã®ããã°ã§ã¯ãSORACOM Discovery 2023ãã§ãç§ãæ å½ãã以ä¸ã®ã»ãã·ã§ã³ã«ã¤ãã¦ã®å 容ãå°ããã©ãã¼ãããã¨æãã¾ãã
IoTãç£ã¿åºããã¼ã¿ããçæç³»AIãã§æ´»ãããã¯ããã¯
7/5ï¼æ°´ï¼ã®ãªã³ã©ã¤ã³ã»ãã·ã§ã³ã®å 容ã¯ã5/30ï¼ç«ï¼ã«éå¬ãããIoTãå¨è¾ºæè¡ã®ç¥è¦ãã¨ã³ã¸ãã¢åãã«å ±æããã¤ãã³ããIoT-Tech Meetup 第1åãChatGPT × IoTããã§ã話ããããã®ããã©ãã·ã¥ã¢ããããå 容ã§ãã
7/5ï¼æ°´ï¼ã®ãªã³ã©ã¤ã³ã»ãã·ã§ã³ã§ã¯ãã»ãã·ã§ã³ã®ä¸ã§æç³»åãã¼ã¿ãæ±ãæã«ã¯ãã¼ã¯ã³ã®ä¸éã«æ³¨æãå¿ è¦ãªãã¨ã¨ããã£ããã®åççµæãä¾ãã°JSONå½¢å¼ã«ãããã¨ããå ´åã¯ãããã³ããã工夫ããã°æå®ããåºåå½¢å¼ã«ãªãå ´åããããããã¡ãªæã¯ãã¡ãªã®ã§ã·ã¹ãã é£æºã§ä½¿ãå ´åã«ã¯ãããã«ã²ã¨å·¥å¤«ãå¿ è¦ã¨ããã¾ã¨ããè¡ã£ã¦ãã¾ããã
ChatGPT ã®æ©è½ã¢ãããã¼ã
ããã¾ã§ã§ãæ®æ®µããChatGPTã使ã£ã¦ããæ¹ã¯ãåç¥ããããã¾ãããã以ä¸ã®ãããªæ©è½ã¢ãããã¼ããããã¾ããã
ã¢ãããã¼ãå 容ãããã¯ã¢ãããã¦ã¿ãã¨
new function calling capability in the Chat Completions API
Chat Completions APIã«é¢æ°å¼ã³åºãæ©è½ã追å ããã
updated and more steerable versions of gpt-4 and gpt-3.5-turbo
gpt-4ã¨gpt-3.5-turboã®ã¢ãã«ã«æ°ãããã¼ã¸ã§ã³ã追å ããã
new 16k context version of gpt-3.5-turbo (vs the standard 4k version)
ãã¼ã¯ã³ã®ä¸éãä»ã¾ã§ã®4åã«ãªã£ã
ãªã©ãã大ããªå¤æ´ç¹ãã¨æãã¾ããã
ã¢ãã«ã®ã¢ãããã¼ã
ããã¥ã¡ã³ã ã«ãè¨è¼ãããããã«ãGPT-4ãGTP-3.5ã«0613
ãä»ãããã¼ã¸ã§ã³ã追å ããã¦ãã¾ãã
å ãã¦ãGTP-3.5ã«ã¯16k
ãä»ãããã¼ã¸ã§ã³ã追å ããã¦ãã¾ããããã¯ãã¼ã¯ã³ã®ä¸éãããã¾ã§ã®4åã«ãªã£ããã¼ã¸ã§ã³ã§ãã
LATEST MODEL | MAX TOKENS |
---|---|
gpt-3.5-turbo-0613 | 4,096 tokens |
gpt-3.5-turbo-16k-0613 | 16,384 tokens |
ä¸éã大ãããªã£ãã®ã§ã使ããå¹ ãå¢ããã®ã¯å¬ããã®ã§ããåæã«æéãå¥è¨å®ã«ãªã£ã¦ããã®ã§ãæ¬æ ¼çã«å©ç¨ããåã«ã¯ç¢ºèªãè¡ãªã£ã¦ãã ããã
Function calling
0613
ãä»ãããã¼ã¸ã§ã³ä»¥éã§å©ç¨ã§ããæ©è½ã§ãèªåã§å®ç¾©ããé¢æ°å¼ã³åºããã§ããæ©è½ã§ããé¢æ°ãå®ç¾©ãã¦ããã¨ãAIã¸ã®åãããã§ãAIãå¤æãã¦é¢æ°å¼ã³åºããè¡ãããã®è¿çããã¦ããã¾ããWebçã®pluginæ©è½ã¨ã¯éããé¢æ°ãèªåã§å¼ã³åºãã¦ãããããã§ã¯ãªãç¹ã¯èªèããå¿
è¦ãããã¾ãã
ã¢ãããã¼ããããæ©è½ã試ãã¦ã¿ã
ã¨ããããã§ãæ¬é¡ã¸ãããã¾ã§ã¯ããã³ããã®å·¥å¤«ãSystem roleãå©ç¨ãã¦AIã«å¶ç´ãä»ãããã¨ã§ãAPIé£æºã«å¿ è¦ãªJSONå½¢å¼ã®åçãçæãã¦ãã¾ããã
Function callingæ©è½ã使ããã¨ã§ãé£æºå ã®JSONå½¢å¼ã¸å¯¾å¿ã§ããã®ã§ã¯ãªããï¼ã¨ããé¨åãå®éã«è©¦ãã¦ã¿ããã¨æãã¾ãã
Function ãå®ç¾©ãã
Chat Completions APIãå¼ã³åºãå¼æ°ã«ãå®ç¾©ããé¢æ°ã®æ å ±ã渡ãå¿ è¦ãããã¾ããé¢æ°ã®å®ç¾©ã¯ãããã¥ã¡ã³ãã«ããããã«JSON Schemaã§ã®å®ç¾©ãå¿ è¦ã§ãã
ä»åã¯ãéå»ã®æç³»åãã¼ã¿ãã1æ¥å¾ã®åãæé帯ã®ãã¼ã¿ãäºæ¸¬ãããã¨ã試ãã¦ã¿ã¾ãããJSONã®å ¥ãåãé åãªã©ãå®ç¾©ãã¦ãã¾ãã
AIã¯ãããé¢æ°å¼ã³åºãã®ããã«å¿ è¦ãªæ å ±ã ã¨èªèããã®ã§ãé¢æ°ã¸ã®ã¤ã³ãããæ å ±ã¨ãã¦æå®ããJSONå½¢å¼ã®ãã¼ã¿ãå¾ããããã©ãããå®éã«è©¦ãã¦ã¿ã¾ãã
functions = [ { "name": "predict_data", "description": "æ·»ä»ãããå ãã¼ã¿ã使ã£ã¦ä»å¾ã®æªæ¥äºæ¸¬ãå®è¡ããé¢æ°", "parameters": { "type": "object", "required": [ "predictions", "summary", "chat_type" ], "properties": { "predictions": { "type": "array", "description": "æªæ¥ã®äºæ¸¬æé, æªæ¥ã®äºæ¸¬æ¸©åº¦, æªæ¥ã®äºæ¸¬æ¹¿åº¦ãããããæå¹ãªå¤ã§è¨è¼ããã¦ãããã¨ããããè¤æ°åã®ãªã¹ãã¨ã«ãªã£ã¦ãããä¾: predictions:[{time:äºæ¸¬å¤,temp:äºæ¸¬å¤,humi:äºæ¸¬å¤}]", "items": { "type": "object", "required": [ "time", "temp", "humi" ], "properties": { "time": { "type": "string", "description": "æªæ¥ã®äºæ¸¬æ¥æã®æååãAIãäºæ¸¬æ¥æãè¨è¼ãããä¾: 2023-06-17 15:52:15", }, "temp": { "type": "number", "description": "æªæ¥ã®äºæ¸¬æ¸©åº¦ã®æ°å¤ãAIãäºæ¸¬æ¸©åº¦ãè¨è¼ãããä¾: 24.5", }, "humi": { "type": "number", "description": "æªæ¥ã®äºæ¸¬æ¹¿åº¦ã®æ°å¤ãAIãäºæ¸¬æ¹¿åº¦ãè¨è¼ãããä¾: 65.5", }, }, }, }, "summary": { "type": "object", "description": "äºæ¸¬ãããçç±, äºæ¸¬ã«ã¤ãã¦ã³ã¡ã³ããè£è¶³ãå«ããä¾: {reason:AIã®è¿ç,note:AIã®è¿ç}", "required": [ "reason", "note" ], "properties": { "reason": { "type": "string", "description": "äºæ¸¬ããçµç·¯ãçç±ãAIãè¨è¼ãããä¾: æ·»ä»ããããã¼ã¿ãå©ç¨ãã¦æªæ¥ãäºæ¸¬ãã¾ããã", }, "note": { "type": "string", "description": "äºæ¸¬ããéã«ã³ã¡ã³ããè£è¶³ãããã°AIãè¨è¼ãããä¾: å£ç¯ãå ´æã®å 容ãèæ ®ãã¦ãã¾ãããäºæ¸¬ãæ£ããã¨ã¯éãã¾ããã", }, }, }, "chat_type": { "type": "string", "description": "äºæ¸¬ãå®è¡ãããã¨ã®èå¥åãä¾: prediction", "enum": [ "prediction" ], }, }, }, } ]
Function calling ãè¨å®ãã
ChatGPTã®å¼ã³åºãã«ã¯Pythonã©ã¤ãã©ãªã®openai / openai-pythonãå©ç¨ãã¦ãã¾ããopenai / openai-pythonã¯MIT ã©ã¤ã»ã³ã¹ã§æä¾ããã¦ãã¦ãã¾ãã
å®éã«ã®å¼ã³åºãé¨åã¯ä»¥ä¸ã®éãã§ãå¤æ´ç¹ã¯å®ç¾©ããé¢æ°ã functions=functions
ã§æ¸¡ãã¦ããã¨ããã¨ã é¢æ°å¼ã³åºãã® function_call="auto"
ã追å ããã¦ããã ãã§ããé¢æ°å¼ã³åºãã¯ãã³ã¡ã³ãã¢ã¦ããã¦ããããã«é¢æ°åãç´æ¥ãã¦ããã¦å¼ã³åºããã¨ãã§ãã¾ãã
response = openai.ChatCompletion.create( model=selected_model, messages=[ {"role": "user", "content": user_content}, ], functions=functions, function_call="auto", # function_call={"name": "predict_data"}, )
ãã¨ã¯ãçµæãè¦ããããã«ãã¦å®éã«å®è¡ãã¦ã¿ã¾ãã
message = response["choices"][0]["message"] pprint.pprint(message) if message.get("function_call"): function_name = message["function_call"]["name"] arguments = json.loads(message["function_call"]["arguments"]) pprint.pprint(arguments) else: print('# reply = ', message.content.strip())
ChatGTPã«ä¸ãã¦ããã®ã¯ã以ä¸ã®ã°ã©ãã®æç³»åãã¼ã¿ã§ãããã¼ã¿ã¯GPS ãã«ãã¦ããã SORACOM Editionãå©ç¨ãã¦åéãããæ¥æã»æ¸©åº¦ã»æ¹¿åº¦ã®1æéã®ãã¼ã¿ã§ãã
Function calling ãè¨å®ã㦠ChatGPT ãå¼ã³åºã
ããã³ããã«ã¯ä»¥ä¸ã®ããã«å
¥åãã¾ãããä»åã¯user role
ã®ã¿ãå©ç¨ãã¾ããã
- æ·»ä»ãããã¼ã¿ããæ¢åã®é¢æ°ãå¼ã³åºãã¦ä»å¾ã®æªæ¥äºæ¸¬ãå®è¡ãã - äºæ¸¬ã® `éé` 㯠`æ·»ä»ãããã¼ã¿ã¨åãéé` ã§å¿
ãäºæ¸¬ããã㨠- äºæ¸¬ããæéã¯ã`1æ¥å¾` ã® `åä¸ã®æé帯` ã¨ãã - äºæ¸¬æéã®ãã¹ã¦ã®äºæ¸¬ãã¼ã¿ãæ¬ ãããã¨ãªãå¿
ãåçããã㨠- äºæ¸¬ã«ã¯`æé`,`温度`,`湿度`ãæå¹ãªå¤ã§å¿
ãå«ããã㨠- äºæ¸¬ã®`温度`,`湿度` ã¯å£ç¯ã¨å ´æãèæ
®ããå¤ã§ããã㨠- äºæ¸¬ã®å
容ãå°ãåºããçç±ãå¿
ãå«ããã㨠- ãã®ä»ã®ã³ã¡ã³ããããå ´åã¯å«ããã㨠- ç¾å¨ã®å£ç¯ã¯ `å¤` - å ´æ㯠`æ¥æ¬` ã® `æ±äº¬` - `å£ç¯` 㨠`å ´æ` ã®æ
å ±ãå¿
ãå å³ãã¦äºæ¸¬ãããã¨
å®éã«å¼ã³åºãã¦ã¿ãã¨ãããChatGPTããã®è¿çã¯functionãå¼ã³åºãããã®å¼æ°ã¨ãã¦ãå®ç¾©ããJSONå½¢å¼ã§ã®è¿çãåãåããã¨ãã§ãã¾ããã
åºåãããJSONãã¼ã¿ã®å 容ã確èªããã¨ãã¡ãã£ã¨æ°æ¸©ãé«ããããããã¾ãããããã¯ChatGPTãä¸å¾æãªåéã§ããããã§ããå®éã«ã¯ãã®äºæ¸¬ãå«ãã¦èªåã®é¢æ°ãä»ã®ç¹ååAIã¨é£æºãããããªä»çµã¿ã«ãã¦ãããã®ãè¯ããã¨æãã¾ããã
{'chat_type': 'prediction', 'predictions': [{'humi': 64.0, 'temp': 33.0, 'time': '2023-07-05 18:47:31'}, {'humi': 67.0, 'temp': 33.1, 'time': '2023-07-05 18:46:36'}, {'humi': 63.0, 'temp': 33.2, 'time': '2023-07-05 18:45:30'}, {'humi': 64.0, 'temp': 33.3, 'time': '2023-07-05 18:44:30'}, {'humi': 62.0, 'temp': 33.4, 'time': '2023-07-05 18:43:30'}, {'humi': 63.0, 'temp': 33.5, 'time': '2023-07-05 18:42:30'}, {'humi': 61.0, 'temp': 33.6, 'time': '2023-07-05 18:41:35'}, {'humi': 64.0, 'temp': 33.7, 'time': '2023-07-05 18:40:30'}, {'humi': 62.0, 'temp': 33.8, 'time': '2023-07-05 18:39:30'}, {'humi': 63.0, 'temp': 33.9, 'time': '2023-07-05 18:38:30'}, {'humi': 65.0, 'temp': 34.0, 'time': '2023-07-05 18:37:31'}, {'humi': 61.0, 'temp': 34.1, 'time': '2023-07-05 18:36:29'}, {'humi': 64.0, 'temp': 34.2, 'time': '2023-07-05 18:35:29'}, {'humi': 62.0, 'temp': 34.3, 'time': '2023-07-05 18:34:29'}, {'humi': 63.0, 'temp': 34.4, 'time': '2023-07-05 18:33:29'}, {'humi': 65.0, 'temp': 34.5, 'time': '2023-07-05 18:32:29'}, {'humi': 62.0, 'temp': 34.6, 'time': '2023-07-05 18:31:34'}, {'humi': 64.0, 'temp': 34.7, 'time': '2023-07-05 18:30:29'}, {'humi': 63.0, 'temp': 34.8, 'time': '2023-07-05 18:29:28'}, {'humi': 65.0, 'temp': 34.9, 'time': '2023-07-05 18:28:28'}, {'humi': 62.0, 'temp': 35.0, 'time': '2023-07-05 18:27:28'}, {'humi': 64.0, 'temp': 35.1, 'time': '2023-07-05 18:26:33'}, {'humi': 63.0, 'temp': 35.2, 'time': '2023-07-05 18:25:28'}, {'humi': 62.0, 'temp': 35.3, 'time': '2023-07-05 18:24:28'}, {'humi': 64.0, 'temp': 35.4, 'time': '2023-07-05 18:23:28'}, {'humi': 61.0, 'temp': 35.5, 'time': '2023-07-05 18:22:28'}, {'humi': 63.0, 'temp': 35.6, 'time': '2023-07-05 18:21:32'}, {'humi': 59.0, 'temp': 35.7, 'time': '2023-07-05 18:20:27'}, {'humi': 62.0, 'temp': 35.8, 'time': '2023-07-05 18:19:27'}, {'humi': 61.0, 'temp': 35.9, 'time': '2023-07-05 18:18:27'}, {'humi': 64.0, 'temp': 36.0, 'time': '2023-07-05 18:17:27'}, {'humi': 60.0, 'temp': 36.1, 'time': '2023-07-05 18:16:32'}, {'humi': 63.0, 'temp': 36.2, 'time': '2023-07-05 18:15:28'}, {'humi': 62.0, 'temp': 36.3, 'time': '2023-07-05 18:14:26'}, {'humi': 65.0, 'temp': 36.4, 'time': '2023-07-05 18:13:26'}, {'humi': 60.0, 'temp': 36.5, 'time': '2023-07-05 18:12:26'}, {'humi': 63.0, 'temp': 36.6, 'time': '2023-07-05 18:11:32'}, {'humi': 62.0, 'temp': 36.7, 'time': '2023-07-05 18:10:27'}, {'humi': 65.0, 'temp': 36.8, 'time': '2023-07-05 18:09:27'}, {'humi': 61.0, 'temp': 36.9, 'time': '2023-07-05 18:08:26'}, {'humi': 64.0, 'temp': 37.0, 'time': '2023-07-05 18:07:26'}, {'humi': 62.0, 'temp': 37.1, 'time': '2023-07-05 18:06:31'}, {'humi': 63.0, 'temp': 37.2, 'time': '2023-07-05 18:05:26'}, {'humi': 65.0, 'temp': 37.3, 'time': '2023-07-05 18:04:26'}, {'humi': 61.0, 'temp': 37.4, 'time': '2023-07-05 18:03:25'}, {'humi': 64.0, 'temp': 37.5, 'time': '2023-07-05 18:02:24'}, {'humi': 63.0, 'temp': 37.6, 'time': '2023-07-05 18:01:29'}, {'humi': 62.0, 'temp': 37.7, 'time': '2023-07-05 18:00:24'}, {'humi': 65.0, 'temp': 37.8, 'time': '2023-07-05 17:59:24'}, {'humi': 61.0, 'temp': 37.9, 'time': '2023-07-05 17:58:24'}, {'humi': 64.0, 'temp': 38.0, 'time': '2023-07-05 17:57:24'}, {'humi': 63.0, 'temp': 38.1, 'time': '2023-07-05 17:56:28'}, {'humi': 65.0, 'temp': 38.2, 'time': '2023-07-05 17:55:23'}, {'humi': 62.0, 'temp': 38.3, 'time': '2023-07-05 17:54:23'}, {'humi': 64.0, 'temp': 38.4, 'time': '2023-07-05 17:53:23'}, {'humi': 61.0, 'temp': 38.5, 'time': '2023-07-05 17:52:23'}, {'humi': 63.0, 'temp': 38.6, 'time': '2023-07-05 17:51:23'}, {'humi': 62.0, 'temp': 38.7, 'time': '2023-07-05 17:50:23'}, {'humi': 65.0, 'temp': 38.8, 'time': '2023-07-05 17:49:23'}, {'humi': 61.0, 'temp': 38.9, 'time': '2023-07-05 17:48:22'}], 'summary': {'note': 'å¤ã®å£ç¯ã¨ãã¦äºæ¸¬', 'reason': 'æ°æ¸©ã¨æ¹¿åº¦ã®ä¸æå¾å'}}
æ´ãªãã¢ãããã¼ã
ããã°ãæ¸ãã¦ããéã«ãæ´ãªãã¢ãããã¼ããããã¾ãããã¢ãããã¼ãã®ã¹ãã¼ããæ©ãã®ã§ãæ°ãã¤ãããæ©è½ãä»çµã¿ã追å ããã¦ããæãã§ããããã¡ããæ®æ®µããChatGPTã使ã£ã¦ããæ¹ã¯ãåç¥ããããã¾ããããå 容ã¯GTP-4ãGAã«ãªãã¾ããã詳細ã¯ä»¥ä¸ãã確èªãã ããã
ã¾ãããã©ã°ã¤ã³ã®Code Interpreter
ããã¼ã¿æä¾ã§ã¯ããã¾ãããChatGPT Pluså©ç¨è
ã«éæ¾ããã¾ããã
Code interpreter ã¨ã¯
Code interpreterã¯ChatGPTã§å©ç¨ã§ãããã©ã°ã¤ã³ã®ã²ã¨ã¤ã§ãWebãã©ã¦ã¶ã§å©ç¨ã§ããChatGPTä¸ã§ãã³ã¼ãã®å®è¡ããã¼ã¿ããã¡ã¤ã«ã¨ãã¦ã¢ãããã¼ããã¦ããã¼ã¿ã®åæãªã©ãå®è¡ã§ãã¾ãã
å©ç¨ããã«ã¯ãè¨å®ããCode interpreterãONã«ãããã©ã°ã¤ã³ãå©ç¨ããããã«GPT-4ãé¸æãã¦ãã©ã°ã¤ã³ã¨ãã¦Code interpreterããã§ãã¯ãã¦ãã ããã
Code interpreter 試ãã¦ã¿ã
SORACOM Harvest Dataã«ä¿åããã¦ãããã¼ã¿ãCSVå½¢å¼ã§ãã¦ã³ãã¼ããã¦ããã®CSVãã¡ã¤ã«ãChatGPTã«ã¢ãããã¼ããã¦ãCode interpreterã試ãã¦ã¿ã¾ãã
ä»åã¯GPS ãã«ãã¦ããã SORACOM Editionãå©ç¨ãã¦ããã®ã§ãChatGTPã«ã¯ã¤ã³ããããããã¼ã¿ã®ãã¼ã¿ãã©ã¼ããããä¸ç·ã«ã¤ã³ããããã¾ããç¾æç¹ã§ã¯Code interpreterã¯ã¤ã³ã¿ã¼ãããã¢ã¯ã»ã¹ãè¡ããªããããªã®ã§ããã¼ã¿ãã©ã¼ãããã¯URLã§ã¯ãªããæååã¨ãã¦ã¤ã³ããããã¦ãã¾ãã
CSVãã¡ã¤ã«ã¨ãã¼ã¿ãã©ã¼ããããåãåã£ããã¨ã¯ãChatGPTã«ãããã¼ã¿å 容ã®ç¢ºèªãè¡ããã¾ããã
Code interpreterã®ä¾¿å©ãªã¨ããã®ã²ã¨ã¤ã¯ãå®éã«å®è¡ãããã³ã¼ããå®è¡çµæã確èªã§ããã¨ããã§ããã³ã¼ããããã°ããã¼ã«ã«ç°å¢ã§ãããã試ãããæã«æ´»ç¨ã§ãããã§ãã
ãã®å¾ã¯ãChatGPTã¨ä¼è©±ãããªãããã¼ã¿ã«ã¤ãã¦åæãéè¨ãè¡ãã¾ããã°ã©ããæåãããã¨ãã§ããã®ã§ãå¯è¦åãããªããè²ã 試ãã¦ããã®ã便å©ããããã¾ããã
JSON å½¢å¼ã§ã®åºåãæå®ãã¦ã¿ã
æå¾ã«ããã¾ã§ã¨åãããã«åºåãJSONå½¢å¼ã§ãé¡ããã¦ã¿ã¾ãããåæããçµæãJSONå½¢å¼ã«é©ããªãé¨åã¯å¤æ´ãã¦åºåãã¦ãããããã§ãã
Code interpreterãå©ç¨ãããã¨ã§ãæ軽ã«ãã¼ã¿ãåæãã¦å¯è¦åãããã¨ãã§ãã¾ãããã¾ãä»ã®ãµã¼ãã¹ãAPIã«ã¤ã³ãããããããã®JSONå½¢å¼ã®çµæãä½æãããã¨ãã§ãã¾ãããã¾ã ã¾ã ãã¼ã¿ã¨ãããã¨ãªã®ã§å¶ç´ãããã®ã§ãããæ軽ã«ä½¿ããã®ã¯é åã§ãããChatGPTã®Webã§å®çµã§ãããããªãã¼ã¿åæã«ã¤ãã¦ã¯å©ç¨ãã¦ã¿ãã¨æ軽ã«æ°ããçºè¦ãå¾ãããããããã¾ãããã
ã¾ã¨ã
ChatGPTã®æ§ã ãªã¢ãããã¼ãã«ãã£ã¦ãããæ軽ã«APIã¸ã®é£æºãã§ããããã«ãªã£ã¦ãã¾ãããã¾ãããã¼ã¯ã³æ°ã®ä¸éã大ãããªããããã¾ã§æ®éã«æ¸¡ããªãã£ããã¼ã¿ãæç« ã渡ããããã«ãªã£ã¦ãã¾ããã
ããã§ãããã¼ã¯ã³æ°ã«ã¯ä¸éãããããå¼ãç¶ã大ãããããã¼ã¿ãæç« ã渡ãããã®å·¥å¤«ããFunction callingå©ç¨æã«æ³å®ãã¦ããªãè¿çãããå¯è½æ§ã¯ã¼ãã§ã¯ãªãã®ã§ããããã£ãé¨åã«ãã¾ãæãåããã¤ããªãããAIãå¾æãªé¨åã§å©ç¨ãã¦ãããã¨ãå¿ è¦ã¨ãªã£ã¦ãã¾ãã
ã¾ããCode interpreterã®ãããªé«æ©è½ãªãã©ã°ã¤ã³ãå©ç¨ãããã¨ã§ããã¼ã¿ã®åæãå¯è¦åãç°¡åã«è¡ããããã«ãªã£ã¦ãã¾ãã
ã©ã¡ãã®å ´åããå©ç¨ããå ´åã«ã¯ChatGPTã®æåã©ã¤ã»ã³ã¹ãå¿ è¦ã¨ãªãã¾ãã®ã§ãæ軽ã«IoTã®æç³»åãã¼ã¿ã¨AIã®çµã¿åãããä½é¨ããã人ã¯ãä»åçºè¡¨ããããSORACOM Harvest Data Intelligenceããã¾ãã¯ã試ãããã ããã°ã¨æãã¾ãã
ã¾ã ã¾ã ãããããã¢ãããã¼ããæ°æ©è½ã®è¿½å ã¯ç¶ããããªã®ã§ã楽ãã¿ã«å¾ ã¡ã¤ã¤ãIoTã¨AIã®æ°ããæ´»ç¨æ¹æ³ã«ãã£ã¬ã³ã¸ãã¦ãããããã£ããã®ã²ã¨ã¤ã«ãªãã°å¬ããã§ãã
â ã½ã©ã³ã å ç°ï¼jetï¼@uchimanajet7
æ稿 IoTãç£ã¿åºããã¼ã¿ããçæç³»AIãã§æ´»ãããã¯ãã㯠ã»ãã·ã§ã³ã®ã¢ãããã¼ããSORACOM Discovery 2023ã 㯠SORACOMå ¬å¼ããã° ã«æåã«è¡¨ç¤ºããã¾ããã
ãã®é£è¼ã®è¨äº
-
第494å
ãã¸ã¿ã«
SORACOM Flux ã°ã©ã³ããªéå¬ï¼ã»ã¼ã«ã¹ã¡ã³ãã¼ã®ææ¦ã¨ææ -
第493å
ãã¸ã¿ã«
ãå¾ç·¨ãçæ AI ã âããã«â 使ãããªããï¼ã¤ã®èãæ¹ã¨ã¦ã¼ã¹ã±ã¼ã¹ -
第492å
ãã¸ã¿ã«
çæ AI ã âããã«â 使ãããªããï¼ã¤ã®èãæ¹ã¨ã¦ã¼ã¹ã±ã¼ã¹ãåç·¨ã -
第491å
ãã¸ã¿ã«
éå¤æ´»åãå¥ããã«ï¼æ¸©åº¦ã¨æ¹¿åº¦ã§å±éºãªæããå¤å®ã㦠SORACOM Lagoon 3 ã§éç¥ããã -
第490å
ãã¸ã¿ã«
SORACOM FluxãAmazon Novaã«å¯¾å¿ãATOM Cam Swingå°ç¨LANã¢ããã¿ã¼ã販売éå§ãä» ã»ã¼é±åã½ã©ã³ã 12/14-01/03 -
第489å
ãã¸ã¿ã«
æ¥çå¥ã«å¦ã¹ããIoTã»ãã¸ã¿ã«åã®èª²é¡ã¨è§£æ±ºçã®åç»ãå ¬é -
第488å
ãã¸ã¿ã«
M5StackããSORACOMãããã¦AWSãä½é¨ï¼åé¸ã®IoTã¤ãã³ã â IoT Get Started Day ã¬ãã¼ã -
第487å
ãã¸ã¿ã«
ã½ã©ã³ã ãµã³ã¿ããæããã㦠2024 -
第486å
ãã¸ã¿ã«
SORACOMããã£ã¨ä¾¿å©ã«ï¼ç¡ææ©è½ãã«æ´»ç¨ï¼SIMã®é¸ã³æ¹ -
第485å
ãã¸ã¿ã«
çé»åéä¿¡LTE-M対å¿ã®å°åãã¤ã³ã³ãã¼ããSORACOM IoTã¹ãã¢ã§æä¾éå§ããã¼ã³ã¼ãIoTã¢ããªã±ã¼ã·ã§ã³ãã«ãã¼ãSORACOM Fluxãã®æéãã©ã³ãçºè¡¨ takuyaã®ã»ã¼é±åã½ã©ã³ã 11/30-12/13
ãã®è¨äºã®ç·¨éè ã¯ä»¥ä¸ã®è¨äºããªã¹ã¹ã¡ãã¦ãã¾ã
-
ãã¸ã¿ã«
ã©ã¼ã¡ã³Walkerãããã³ÃIoTã®æ¿éãæ«é²ãç¥è¦ã»ããããã¾ã§çã ãã -
ãã¸ã¿ã«
çã®IoTã¯ããã ã£ãã®ãï¼ããã1ã¤ã®åºèª¿è¬æ¼ã§å®å·CTOãåãããã -
sponsored
IoTã¨AIã§è¦ãã次ã®ä¸çã¯ï¼ãä¼å ´éå¬ã«æ³¨ç®ãªSORACOM Discovery 2023 -
ãã¸ã¿ã«
Starlinkãªã©ã®è¡æéä¿¡ãIoTã«æ´»ç¨ããæ¹æ³ãã½ã©ã³ã ãªã³ã©ã¤ã³ã»ããã¼ãIoTã§ä½¿ããâè¡æéä¿¡âç¹éã8æ29æ¥éå¬
éå»è¨äºã¢ã¼ã«ã¤ã
- 2025å¹´
- 01æ