Open zpng opened 8 months ago
Bot detected the issue body's language is not English, translate it automatically.
Title: [Feature Request]: gpts support
gpt-4-gizmo 是 openai 的内测模型,不是所有账户都支持,正式推出后会适配。
Bot detected the issue body's language is not English, translate it automatically.
gpt-4-gizmo is an internal testing model of openai. It is not supported by all accounts and will be adapted after it is officially launched.
gpt-4-gizmo 是 openai 的内测模型,不是所有账户都支持,正式推出后会适配。
https://gptgod.cloud/ 我看这个网站支持这个模型gpt-4-gizmo,这个里面可以购买相应的模型哈,作者大大需要的话可以购买然后测试开发用~
Bot detected the issue body's language is not English, translate it automatically.
gpt-4-gizmo is an internal testing model of openai. It is not supported by all accounts and will be adapted after it is officially launched.
https://gptgod.cloud/ I see that this website supports this model gpt-4-gizmo. You can buy the corresponding model here. If the author needs it, you can buy it and use it for testing and development~
Problem Description
在浏览其他gpt套壳网站的时候,发现有一些早已经支持了gpts,希望作者大大在这个项目也可以加下该功能
Solution Description
例如:https://gptgod.online/#/api?tab=doc
使用上一般是先切换到 search-gpts-chat的模型,去搜索gpts的id, 搜索结果如下,其中标红的即为gpts的id,
然后切换到模型gpt-4-gizmo,可以在下图看到可以在右边编辑gpts的id填入,然后就可以跟gpts进行交互了。
该网站有接入文档供参考,链接为https://gptgod.online/#/api?tab=doc,内容如下:
gpts模型接入 介绍 什么是gpts?, 简而言之就是openai开发的插件商店,用户可以自定义自己的gpts,针对各种场景专门使用,例如论文搜索、翻译、代码补全等等,这里只是简单介绍一下如何接入,更多的gpts使用方法请自行搜索
如何找到gpts id 找到gpts的ID,请参考如下步骤
首先需要找到你需要的gpts,如何寻找呢?随便找一个搜索引擎,这里以bing为例子 例如我想找到翻译相关的gpts,搜索输入 site:chat.openai.com/g 翻译, 即可看到搜索结果中一堆gpts插件 搜索翻译 找到你需要的gpts,点击进入 看到地址栏的地址,找到g-xxxxxxx,例如https://chat.openai.com/g/g-IZb9C11iR-ying-wen-fan-yi-zhuan-jia中的g-IZb9C11iR,即为gpts的id 此时得到模型名称就是 gpt-4-gizmo-g-IZb9C11iR ,那么 gizmo_id就是 g-IZb9C11iR gpts请求 接入方式有两种,请求地址都是 https://api.gptgod.online/v1/chat/completions, 请求参数上有点区别,返回参数上和一般的gpt-3.5-turbo模型一致
动态model 和普通gpt-3.5-turbo模型接入方式保持一致,唯一的参数区别就是model: gpt-4-gizmo-g-xxxxxx 静态model model固定为 gpt-4-gizmo , 需要在body中指定gizmo_id, 例如gizmo_id: g-IZb9C11iR 根据ID查询gpts详情 请求代码示例 python javascript typescript golang java rust php curl fetch("https://api.gptgod.online/v1/gpts/?id=g-yJoNW6R47", { method: "GET", headers: { "Authorization": "Bearer {{secret}}" } }) .then(response => response.text()) .then(result => console.log(result)) .catch(error => console.log('error', error)); 返回参数示例 { "code": 0, "msg": "ok", "sn": "4e194d7b417f4a42574c9bc1a0b5fd3b", "data": { "stat": { "read": 0, "favorite": 0, "use": 0 }, "info": { "gizmo": { "id": "g-yJoNW6R47", "organization_id": "org-y2vPc3LzlycGK9THlA8aLLBE", "short_url": "g-yJoNW6R47-gpt-4-turbo-assistants-python-dev", "author": { "user_id": "user-DeunrNwckpyqY67EQ7ulo8MV", "display_name": "Solid Base Consult SIA", "link_to": null, "selected_display": "name", "is_verified": true, "will_receive_support_emails": null }, "voice": { "id": "ember" }, "workspace_id": null, "model": null, "instructions": null, "settings": null, "display": { "name": "GPT-4-Turbo-Assistants Python Dev", "description": "Focuses on codebase, GitHub repo, and README details", "welcome_message": "Hello! Ready to explore your codebase, GitHub repo, and README specifics.", "prompt_starters": [ "What's in the README for setting up the project?", "How do I run the setup script from the README?", "Can you show me the script content in the README?", "Where can I find the README on GitHub?" ], "profile_picture_url": "https://filesystem.site/cdn/2024-01-08-12-TJFmNlrlsnDBUeUOdS10.png", "categories": [] }, "share_recipient": "marketplace", "updated_at": "2023-11-26T21:45:38.344855+00:00", "last_interacted_at": null, "tags": [ "public", "reportable" ], "version": null, "live_version": null, "training_disabled": null, "allowed_sharing_recipients": null, "review_info": null, "appeal_info": null, "vanity_metrics": { "num_conversations_str": "96", "num_pins": 0, "num_users_interacted_with": 0 } }, "tools": [ { "id": "gzm_cnf_lRHrL9TFOQiHLSuDHnnStRza~gzm_tool_Yb5hVoTUmLdRMVMguUGiSY3Z", "type": "python", "settings": null, "metadata": null }, { "id": "gzm_cnf_lRHrL9TFOQiHLSuDHnnStRza~gzm_tool_fbJqcn5XkJlV1obOTztgKLuy", "type": "browser", "settings": null, "metadata": null }, { "id": "gzm_cnf_lRHrL9TFOQiHLSuDHnnStRza~gzm_tool_ZRNEbde67jrKEQiFTdJUswVs", "type": "dalle", "settings": null, "metadata": null } ], "files": [ { "id": "gzm_cnf_rpTGOZYXXT0wEZsPwEVEgXve~gzm_file_OhPEOOZWRogiqkPNgmRU7N1M", "type": "text/plain", "file_id": "", "location": "" }, { "id": "gzm_cnf_rpTGOZYXXT0wEZsPwEVEgXve~gzm_file_XaFtKqATMRxHGpq3LcjDapF0", "type": "text/plain", "file_id": "", "location": "" }, { "id": "gzm_cnf_rpTGOZYXXT0wEZsPwEVEgXve~gzm_file_09z76OdnrTKyYizMIPFjHWug", "type": "", "file_id": "", "location": "" }, { "id": "gzm_cnf_rpTGOZYXXT0wEZsPwEVEgXve~gzm_file_dZD7dmn7U3sxCkTgyswRjsUX", "type": "", "file_id": "", "location": "" }, { "id": "gzm_cnf_rpTGOZYXXT0wEZsPwEVEgXve~gzm_file_WID7zBhg4jrq6j2MW6jA52h2", "type": "", "file_id": "", "location": "" }, { "id": "gzm_cnf_rpTGOZYXXT0wEZsPwEVEgXve~gzm_file_Zp8gmmMKhuScr5Wt8mCdLPQS", "type": "", "file_id": "", "location": "" }, { "id": "gzm_cnf_4AJHrSzyY5jQmuvw2PQj182k~gzm_file_tDkcyix5wV9Ho7zXRKz1XS2p", "type": "", "file_id": "", "location": "" }, { "id": "gzm_cnf_4AJHrSzyY5jQmuvw2PQj182k~gzm_file_DTFTEN5iR75VYzgAVjSgYjGY", "type": "", "file_id": "", "location": "" }, { "id": "gzm_cnf_omdzDjigCMPFNXhl7t6wVYOD~gzm_file_tshgivw1wThxGIRG0FTguuGM", "type": "application/pdf", "file_id": "", "location": "" }, { "id": "gzm_cnf_YGlsl6KEXSr5GeArX8djUldq~gzm_file_Hbo44RggdqTCDGuCtW2g73vf", "type": "", "file_id": "", "location": "" } ], "product_features": { "attachments": { "type": "retrieval", "accepted_mime_types": [ "text/x-sh", "text/html", "text/javascript", "text/x-tex", "text/plain", "application/vnd.openxmlformats-officedocument.presentationml.presentation", "text/x-csharp", "application/msword", "text/x-php", "text/x-script.python", "text/x-ruby", "text/markdown", "application/pdf", "text/x-c", "application/x-latext", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "text/x-c++", "application/json", "text/x-java", "text/x-typescript" ], "image_mime_types": [ "image/png", "image/jpeg", "image/webp", "image/gif" ], "can_accept_all_mime_types": true } } }, "@timestamp": "2024-01-08T04:14:20.985Z" } } 搜索gpts 请求代码示例 python js ts go java rust php curl fetch("https://api.gptgod.online/v1/gpts/search?search=xxx", { method: "GET", headers: { "Authorization": "Bearer {{secret}}" } }) .then(response => response.text()) .then(result => console.log(result)) .catch(error => console.log('error', error)); 返回参数示例 { "code": 0, "msg": "ok", "sn": "6cd073e5c4f5f979d9ca2bdb857e1d0a", "data": [ { "id": "g-gac0xLAbv", "title": "Chinese 智译 - OpenAI聊天", "link": "https://chat.openai.com/g/g-gac0xLAbv-chinese-zhi-yi", "description": "无需说明,自动在中文和其他语言间互译,支持翻译代码注释、文言文、文档文件以及图片。No need for explanations, automatically translate between Chinese and other languages, support translation of code comments, classical Chinese, document files, and images.", "favicon": "https://external-content.duckduckgo.com/ip3/chat.openai.com.ico" }, { "id": "g-5lCF5Lf1T", "title": "翻譯成中文 - OpenAI聊天", "link": "https://chat.openai.com/g/g-5lCF5Lf1T", "description": "把任何語言翻譯成繁體中文Translate any language into Traditional Chinese.", "favicon": "https://external-content.duckduckgo.com/ip3/chat.openai.com.ico" }, { "id": "g-IkXqSNDwI", "title": "中文Chat GPT - OpenAI聊天", "link": "https://chat.openai.com/g/g-IkXqSNDwI-zhong-wen-chat-gpt", "description": "ChatGPT 官方中文版本. By Johnetta Kovacek. Sign up to chat. Requires ChatGPT Plus. ChatGPT 官方中文版本.", "favicon": "https://external-content.duckduckgo.com/ip3/chat.openai.com.ico" }, { "id": "g-MW33CkglH", "title": "好中文写作GPT - OpenAI聊天", "link": "https://chat.openai.com/g/g-MW33CkglH-hao-zhong-wen-xie-zuo-gpt", "description": "浅白易明、高雅简洁的中文日更指南", "favicon": "https://external-content.duckduckgo.com/ip3/chat.openai.com.ico" }, { "id": "g-59ry85hTf", "title": "中文chatGPT - OpenAI聊天", "link": "https://chat.openai.com/g/g-59ry85hTf-zhong-wen-chatgpt", "description": "中文准确、友好、专业. By CHENTAO. Sign up to chat. Requires ChatGPT Plus. 中文准确、友好、专业.", "favicon": "https://external-content.duckduckgo.com/ip3/chat.openai.com.ico" }, { "id": "g-uBhKUJJTl", "title": "科技文章翻译 - OpenAI聊天", "link": "https://chat.openai.com/g/g-uBhKUJJTl", "description": "将科技文章、论文翻译成简体中文。直接输入要翻译的内容即可,不需要额外Prompt。", "favicon": "https://external-content.duckduckgo.com/ip3/chat.openai.com.ico" }, { "id": "g-5Dts1M3sf", "title": "中文GPT4 - OpenAI聊天", "link": "https://chat.openai.com/g/g-5Dts1M3sf-zhong-wen-gpt4", "description": "保留gpt4的所有能力,在中文显示方面做得更好", "favicon": "https://external-content.duckduckgo.com/ip3/chat.openai.com.ico" }, { "id": "g-48MTFZf5N", "title": "RHINO Coding Helper(中文版) - OpenAI聊天", "link": "https://chat.openai.com/g/g-48MTFZf5N-rhino-coding-helper-zhong-wen-ban", "description": "RHINO Coding Helper(中文版) 提高你在Github上的开发工作的效率与质量。 若用于非开源项目,请将Github账号AssistantRHINO添加作项目成员。", "favicon": "https://external-content.duckduckgo.com/ip3/chat.openai.com.ico" }, { "id": "g-5y5x1J0ST", "title": "Prompt_Generator_ZhTW - OpenAI聊天", "link": "https://chat.openai.com/g/g-5y5x1J0ST-prompt-generator-zhtw", "description": "將繁體中文自然語言轉換為T2I提詞. By community builder. Sign up to chat. Requires ChatGPT Plus. 將繁體中文自然語言轉換為T2I提詞.", "favicon": "https://external-content.duckduckgo.com/ip3/chat.openai.com.ico" }, { "id": "g-9bck34XF7", "title": "英譯港式中文 GPT by OMP (英文名詞會保留用英文,比較貼近香港中文風格。)", "link": "https://chat.openai.com/g/g-9bck34XF7", "description": "英譯港式中文 GPT by OMP (英文名詞會保留用英文,比較貼近香港中文風格。. ) 以 \"/\" 開頭,即代表翻譯一次。. 如想有更好質素,以 \"//\" 開頭。. 會提供更通順的翻譯。. By sosomarketing.com. Sign up to chat. Requires ChatGPT Plus. 以 \"/\" 開頭,即代表翻譯一次。.", "favicon": "https://external-content.duckduckgo.com/ip3/chat.openai.com.ico" } ] }
Alternatives Considered
No response
Additional Context
No response