{"id":13627826,"url":"https://github.com/isdaviddong/chatGPTLineBot","last_synced_at":"2025-04-17T00:32:37.439Z","repository":{"id":64262232,"uuid":"574498443","full_name":"isdaviddong/chatGPTLineBot","owner":"isdaviddong","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-04T10:51:08.000Z","size":15,"stargazers_count":110,"open_issues_count":0,"forks_count":55,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-08-01T22:41:34.360Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/isdaviddong.png","metadata":{"files":{"readme":"Readme.MD","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-12-05T12:55:23.000Z","updated_at":"2024-07-25T13:43:46.000Z","dependencies_parsed_at":"2024-01-14T08:55:06.186Z","dependency_job_id":"bd2baf1a-c10f-450d-8d2b-bc41f14df181","html_url":"https://github.com/isdaviddong/chatGPTLineBot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isdaviddong%2FchatGPTLineBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isdaviddong%2FchatGPTLineBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isdaviddong%2FchatGPTLineBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isdaviddong%2FchatGPTLineBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/isdaviddong","download_url":"https://codeload.github.com/isdaviddong/chatGPTLineBot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223735136,"owners_count":17194052,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T22:00:38.980Z","updated_at":"2024-11-08T18:30:57.518Z","avatar_url":"https://github.com/isdaviddong.png","language":"C#","readme":"ChatGPT LINE Bot\n===\n最近幾天紅到不行的人工智能對談範例 chatGPT (https://chat.openai.com/chat), 其實是透過 openAPI 服務來實作的一個範例。因此，只要申請 openAPI key ，人人都可以建立一個 AI 智能對談服務...\n\n1. 於底下位置申請 openAPI key:\nhttps://beta.openai.com/account/api-keys\n\n請置換程式碼中的key與token即可，分別位於:  \n/Controllers/ChatGPT.cs 22行(使用 openAPI key)  \n![](https://i.imgur.com/N5k9bNt.png)\n\n/Controllers/LineWebHookController.cs 16,21行 (使用你應該很熟的 LINE Bot Token, 如果不熟, 請參考 https://github.com/isdaviddong/HOL-LineBotSDK )  \n![](https://i.imgur.com/mynmuCV.png)\n\n2. 建置後使用 NGROK 測試 或 佈署到正式網站\n3. 配置 LINE WebHook\n\n執行結果:  \n![](https://i.imgur.com/v6Shjgk.png)\n\n### OpenAI參考文件:  \nhttps://beta.openai.com/docs/api-reference/completions/create\n","funding_links":[],"categories":["Uncategorized","在任何地方使用 ChatGPT"],"sub_categories":["Uncategorized","聊天機器人"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisdaviddong%2FchatGPTLineBot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fisdaviddong%2FchatGPTLineBot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisdaviddong%2FchatGPTLineBot/lists"}