We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
conda
linebot
(linebot)
conda activate linebot
conda env config vars set LINE_ACCESS_TOKEN="你剛才在步驟1複製的channel access token"
conda env config vars set LINE_SECRET="你剛才在步驟5複製的Channel secret"
conda env config vars set NGROK_KEY="你剛才在步驟8複製的Your Authtoken"
conda env config vars set OPENAI_API_KEY="你剛才在步驟8複製的Your Authtoken"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
將各個服務的金鑰等設定到
conda
建立的環境中1. 在Line Developer Console中找到「Channel access token」
2. 如果是在MacOS中開啟一個終端機視窗,如果是Windows 10/11,開啟一個Anconda prompt。以下步驟MacOS和Windows 10/11的指令一樣
MacOS
Windows 10/11
3. 輸入下列指令切換到本課程建立的
linebot
環境,要確定前面的括號要變成(linebot)
。4. 輸入下列指令將剛才複製的Channel access token設定到這個conda環境中的變數。設定完終端機視窗先不要關閉
5. 找到Channel secret並複製其值
6. 回到剛才的終端機視窗
7. 輸入下列指令
8. 照以上的方法,找到ngrok的token
9. 回到終端機並設定
10. 照上面的方法找到OpenAI的API KEY並設定
The text was updated successfully, but these errors were encountered: