å æ¥ OpenAI API ã®ã¢ãããã¼ãã以ä¸ã®ããã«çºè¡¨ããã¾ããã ä¸çªã®æ³¨ç®ã¯ Function calling ãããªãã§ããããï¼ ååãããé¢æ°ãå¼ã³åºããã®ããªï¼ãã¨ä¸çªæåã«æ³åãã¡ããã¾ããããã®æ©è½ã®é©æ°çãªé¨åã¯ãJSON ãä½æãã¦ããããã¨ããã ã¨æã£ã¦ãã¾ãã JSON ãä½ããã¨å¬ãããã¨ããã£ã±ãããã¾ããï¼ ããã¼ãã¼ã¿ã®ä½æ çæãã JSON ããã®ã¾ã¾ã¬ã¹ãã³ã¹ã¨ãã¦è¿ãã¨ã³ããã¤ã³ãã®ä½æ ãã¹ãã¨ãã¦ãè¯ã é¢æ°ãå¤é¨ API ã®å¼ã³åºã ä»ã¾ã§ã¯é£ããã£ã JSON ã®ä½æ ä»ã¾ã§ãJSON ãä½æãã¦ãããã«ããã£ã¦ gpt-3.5-turbo ãç¨ã㦠JSON ãä½æããããã¨ããã¨ã»ã¼å¤±æãã¦ãã¾ããããã㧠gpt-4 ã®ã¢ãã«ãå©ç¨ã㦠JSON ãä½æããã¾ããããã®ã¢ãã«ã¯ã»ã¨ãã©æ£ç¢ºã«ãªãä¸æ¹ã§å¦çé度ãããªãé ããªãç¹ãã
{{#tags}}- {{label}}
{{/tags}}