[DEMO] Add Custom Connector/Connection for ChatGPT in Power Platform
Автор: HelloX Tech
Загружено: 2023-02-14
Просмотров: 694
Описание:
[DEMO] Add Custom Connector for ChatGPT in Power Platform
More details:
https://www.hellosmart.ca/2023/02/tip...
1. Create an API KEY from https://platform.openai.com/account/a...
2. Go to make.powerapps.com to create a new custom connector from blank.
Choose HTTPS for Schemee.
Set Host to api.openai.com
3. Set Parameter name to Authorization, Set location to Header by default.
4. Add a new action for post method.
Click Import from sample,
Set URL to https://api.openai.com/v1/completions
Set Header to Content-Type application/json
Add sample data
{
"model": "text-davinci-003",
"prompt": "What's the meaning of life?",
"max_tokens": 100,
"temperature": 0.9,
"top_p": 0.7
}
5. Click Create Connector at the top.
6. Create a new connection in Test tab page and test the connection.
7. Copy all information in Body section of Response.
8. Go back to Definition stage, click "Add default response" in Response .
section.
9. Paste the info copied from Step 7 into Body section, click Import button.
10. Finally, click "Update Connector" button at the top.
Done.
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: