ããã«ã¡ã¯ï¼ éç¬å·ï¼@gyakuseï¼ã§ãï¼ ååã¯OpenAIãå ¬éãã¦ããChat APIã¨Whisper APIãç¨ãã¦è°äºé²æåèµ·ããã¢ããªã±ã¼ã·ã§ã³ãä½ã£ã¦ã¿ã¾ãããä»åã¯ãChat APIã便å©ã«ä½¿ãããã®ã©ã¤ãã©ãªã§ããLangChainã¨guidanceãç´¹ä»ãã¦ããã¾ãã ãªã便å©ã«ä½¿ãããã®ã©ã¤ãã©ãªãå¿ è¦ãªã®ãï¼ åç´ã«Chat APIã«ãªã¯ã¨ã¹ããéãã ãã§ããã°ãåè¨èªã«ç¨æãããã©ã¤ãã©ãªã使ãã ãã§è¯ãã§ãããããã¨ãã°ãPythonã«ããã¦ã¯openai-pythonãç¨æããã¦ãã¾ããååç´¹ä»ããã¨ãããChat APIã使ãã ããªã以ä¸ã®ãããªãªã¯ã¨ã¹ããä½ãã ãã§æ¸ã¿ã¾ãã import openai openai.api_key = "sk-..." # APIãã¼ completion = openai.ChatCompletion.create
{{#tags}}- {{label}}
{{/tags}}