gpt anywhere
v1.2.0
gpt Anywhere是瀏覽器擴展程序(目前Chrome),它允許用戶在網站上的任何地方輸入GPT完成。
典型用例是:
.
├── 01-shared # Shared types and config files
├── 02-options # Chrome extension's global files (manifest.json, icons, etc.)
├── 03-options # Options script
├── 04-background # Background script
├── 05-content # Content script
└── ...
有關options , background和content的參考,請參見Chrome擴展文檔。
構建Chrome擴展:
npm run build./dist文件夾加載擴展擴展名保存用戶的API密鑰,並提示在瀏覽器同步存儲中。
流程圖BT
存儲([本地存儲])---背景[背景腳本]
Openai([[Openai])---背景
背景---- | API調用|選項[選項頁面]
背景---- | API調用|第1頁(第1頁)
背景---- | API調用|第2頁(第2頁)
背景---- | API調用|第3頁(頁...)
背景---- | API調用|帕根(第n頁)
背景腳本揭示了選項頁面和每個瀏覽頁面的API。腳本通過此API與runtime.sendMessage()和runtime.connect()進行通信。
不執行