{"id":19156625,"url":"https://github.com/kkdai/linebot-langchain","last_synced_at":"2025-05-07T07:45:35.295Z","repository":{"id":175900129,"uuid":"653057212","full_name":"kkdai/linebot-langchain","owner":"kkdai","description":"Utilizing a LINE Bot integrated with LangChain in Python to assist with stock price inquiries.","archived":false,"fork":false,"pushed_at":"2024-05-05T07:35:42.000Z","size":310,"stargazers_count":44,"open_issues_count":0,"forks_count":44,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-19T20:17:18.803Z","etag":null,"topics":["heroku","langchain","linebot","python","render"],"latest_commit_sha":null,"homepage":"","language":"Python","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/kkdai.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-13T10:22:25.000Z","updated_at":"2025-02-08T18:41:37.000Z","dependencies_parsed_at":"2024-11-09T08:47:41.389Z","dependency_job_id":null,"html_url":"https://github.com/kkdai/linebot-langchain","commit_stats":null,"previous_names":["kkdai/linebot-langchain"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkdai%2Flinebot-langchain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkdai%2Flinebot-langchain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkdai%2Flinebot-langchain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkdai%2Flinebot-langchain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kkdai","download_url":"https://codeload.github.com/kkdai/linebot-langchain/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252838649,"owners_count":21812080,"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":["heroku","langchain","linebot","python","render"],"created_at":"2024-11-09T08:35:16.724Z","updated_at":"2025-05-07T07:45:35.268Z","avatar_url":"https://github.com/kkdai.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Utilizing a LINE Bot integrated with LangChain in Python to assist with stock price inquiries\n==============\n\n![](./img/bot2.jpg)\n\nInstallation and Usage\n=============\n\n### 1. Got A LINE Bot API devloper account\n\n- [Make sure you already registered on LINE developer console](https://developers.line.biz/console/), if you need use LINE Bot.\n\n- Create new Messaging Channel\n- Get `Channel Secret` on \"Basic Setting\" tab.\n- Issue `Channel Access Token` on \"Messaging API\" tab.\n- Open LINE OA manager from \"Basic Setting\" tab.\n- Go to Reply setting on OA manager, enable \"webhook\"\n\n### 2. To obtain an OpenAI API token\n\n- Register for an account on the OpenAI website at \u003chttps://openai.com/api/\u003e.\n- Once you have an account, you can find your [API Keys](https://platform.openai.com/account/api-keys) in the account settings page.\n- If you want to use the OpenAI API for development, you can find more information and instructions in the API documentation page.\n- Please note that the OpenAI API is only available to users who meet certain criteria.\n- You can find more information about the usage conditions and limitations of the API in the API documentation page.\n\n### 3. Deploy this on Web Platform\n\nYou can choose [Heroku](https://www.heroku.com/) or [Render](http://render.com/)\n\n### 4. Deploy this on Heroku\n\n[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)\n\n- Input `Channel Secret` and `Channel Access Token`.\n- Input [OpenAI API Key](https://platform.openai.com/account/api-keys) in `OPENAI_API_KEY`.\n- Remember your heroku, ID\n\n### 5. Deploy this on Render.com\n\n[![Deploy to Render](http://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy)\n\n### 6. Go to LINE Bot Dashboard, setup basic API\n\n- Setup your basic account information. Here is some info you will need to know.\n- `Callback URL`: \u003chttps://{YOUR_HEROKU_SERVER_ID}.herokuapp.com/callback\u003e\n\nIt all done.\n\nLicense\n---------------\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n\u003chttp://www.apache.org/licenses/LICENSE-2.0\u003e\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkkdai%2Flinebot-langchain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkkdai%2Flinebot-langchain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkkdai%2Flinebot-langchain/lists"}