{"id":15175543,"url":"https://github.com/leericch/cohere-slack-starter-app","last_synced_at":"2026-02-28T03:33:44.351Z","repository":{"id":213992247,"uuid":"734578709","full_name":"LeEricCH/cohere-slack-starter-app","owner":"LeEricCH","description":"AI-Powered Slack App: Combining OpenAI's GPT-4 and Cohere for smart chatting, quick summaries, and an interactive UI all with ⚡️Bolt.js","archived":false,"fork":false,"pushed_at":"2023-12-26T00:21:31.000Z","size":103,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-02T22:45:40.843Z","etag":null,"topics":["cohere","gpt-4","slack"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LeEricCH.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-12-22T03:45:19.000Z","updated_at":"2024-05-14T08:41:22.000Z","dependencies_parsed_at":"2023-12-25T00:19:59.430Z","dependency_job_id":"7c32f6a7-8067-47c1-a51d-30607ac749c8","html_url":"https://github.com/LeEricCH/cohere-slack-starter-app","commit_stats":null,"previous_names":["leericch/cohere-slack-starter-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeEricCH%2Fcohere-slack-starter-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeEricCH%2Fcohere-slack-starter-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeEricCH%2Fcohere-slack-starter-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeEricCH%2Fcohere-slack-starter-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LeEricCH","download_url":"https://codeload.github.com/LeEricCH/cohere-slack-starter-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240139113,"owners_count":19754050,"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":["cohere","gpt-4","slack"],"created_at":"2024-09-27T12:39:25.955Z","updated_at":"2026-02-28T03:33:44.283Z","avatar_url":"https://github.com/LeEricCH.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\n\n\u003ch1\u003eCohere Slack Chat Bot\u003c/h1\u003e\n\nThis project wraps https://github.com/slackapi/bolt-js. See official docs for details.\n\n[![][github-contributors-shield]][github-contributors-link]\n[![][github-forks-shield]][github-forks-link]\n[![][github-stars-shield]][github-stars-link]\n[![][github-issues-shield]][github-issues-link]\n\n[Changelog](./CHANGELOG.md) · [Report Bug][github-issues-link] · [Request Feature][github-issues-link]\n\n![](https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/rainbow.png)\n\n\u003c/div\u003e\n\n\u003e :warning: **Warning**: This project is currently under development and is not yet production-ready. \u003cbr\u003ePlease use with caution and expect frequent updates and changes.\n\n\n## ✨ Features\n\n- [x] 💨 **Enhanced Web-Assisted Chat**: Leverage the RAG (Retrieval-Augmented Generation) capability of the Cohere Chat Endpoint for precise, web-sourced responses, complete with cited sources, delivered with exceptional speed;\n- [x] 💎 **Efficient Thread Summarization**: Add an \"eyes\" emoji to any lengthy thread, and engage the OpenAI GPT-4 Chat endpoint for a concise and rapid summary;\n- [x] 🗣️ **Seamless Conversation Flow**: Within a thread, seamlessly pose follow-up questions. The Chat Bot maintains awareness of the thread's history, ensuring a coherent and continuous dialogue experience;\n- [x] 🌟 **Interactive UI with Slack Message Blocks**: Utilize Slack Message Blocks for a dynamic UI, featuring a 'Regenerate' button for instant answer refresh and a dropdown for organized search results.\n- [X] 👍 **User Feedback**: Empower users to rate bot responses, refining AI performance with every interaction. It will post the Feedbacks in a seperate channel.\n\n## Roadmap :world_map:\n\n- [ ] 📡 **Streaming Responses**: Implement real-time streaming for faster and more dynamic chat responses.\n- [X] 👍 **User Feedback Integration**: Enable users to provide direct feedback on chat responses, enhancing AI learning and accuracy.\n- [ ] 💬 **Chat via Direct Message**: Expand functionality to allow AI chat interactions through Slack DMs.\n- [ ] 🔗 **Enhanced Connector Management**: Integrate more features for managing connectors via Slack, improving connectivity and control.\n- [ ] 🚀 **Heroku Hosting Support**: Aim to make the project one-click deploy ready for easy Heroku hosting.\n\n\n## ✨ Demo\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\" width=\"45%\"\u003e\n      \u003ch3\u003eResponse of AI\u003c/h3\u003e\n      \u003cp\u003eThe response is nicely formatted with the sources if available. The sources can be displayed via a dropdown.\u003c/p\u003e\n      \u003cimg src=\"https://github.com/LeEricCH/cohere-slack-starter-app/assets/75225859/362ca7a7-e44e-4286-a4f5-810a53aa2c53\" width=\"100%\"\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\" width=\"70%\"\u003e\n      \u003ch3\u003eFeedback\u003c/h3\u003e\n      \u003cp\u003eIf the user dislikes the answer, he must enter improvement suggestions. The feedback messages get stored in a separate channel.\u003c/p\u003e\n      \u003cbr\u003e\n      \u003cimg src=\"https://github.com/LeEricCH/cohere-slack-starter-app/assets/75225859/142f0eec-1331-4273-81e1-dc18380140b7\" width=\"80%\"\u003e\n      \u003cimg src=\"https://github.com/LeEricCH/cohere-slack-starter-app/assets/75225859/cb401af0-fc73-4178-bc1d-ae87ea1709b4\" width=\"80%\"\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\nhttps://github.com/LeEricCH/cohere-slack-starter-app/assets/75225859/1f437203-fe0c-4496-93cb-189191091ade\n\n\n\u003cdiv align=\"right\"\u003e\n\n[![][back-to-top]](#readme-top)\n\n\u003c/div\u003e\n\n## ⌨️ Local Development\nYou can clone it for local development:\n\n```bash\n$ git clone https://github.com/LeEricCH/cohere-slack-starter-app.git\n$ cd cohere-slack-starter-app\n$ yarn install\n$ yarn serve\n```\n\nCreate an `.env` file with the following variables:\n```\nPORT=8000\n\nCOHERE_API_TOKEN=xxxx\nOPENAI_API_KEY=sk-xxx\n\nSLACK_APP_TOKEN=xapp-xxxxx\nSLACK_BOT_TOKEN=xoxb-xxxxx\n```\n\n[back-to-top]: https://img.shields.io/badge/-BACK_TO_TOP-black?style=flat-square\n\n## 🔗 Links\n### Credits\n\n- **cohere-samples** - \u003chttps://github.com/cohere-ai/samples\u003e\n\n\n[github-release-shield]: https://img.shields.io/github/v/release/LeEricCH/cohere-slack-starter-app?color=369eff\u0026labelColor=black\u0026logo=github\u0026style=flat-square\n[github-release-link]: https://github.com/LeEricCH/cohere-slack-starter-app/releases\n[github-releasedate-shield]: https://img.shields.io/github/release-date/LeEricCH/cohere-slack-starter-app?labelColor=black\u0026style=flat-square\n[github-releasedate-link]: https://github.com/LeEricCH/cohere-slack-starter-app/releases\n[github-contributors-shield]: https://img.shields.io/github/contributors/LeEricCH/cohere-slack-starter-app?color=c4f042\u0026labelColor=black\u0026style=flat-square\n[github-contributors-link]: https://github.com/LeEricCH/cohere-slack-starter-app/graphs/contributors\n[github-forks-shield]: https://img.shields.io/github/forks/LeEricCH/cohere-slack-starter-app?color=8ae8ff\u0026labelColor=black\u0026style=flat-square\n[github-forks-link]: https://github.com/LeEricCH/cohere-slack-starter-app/network/members\n[github-stars-shield]: https://img.shields.io/github/stars/LeEricCH/cohere-slack-starter-app?color=ffcb47\u0026labelColor=black\u0026style=flat-square\n[github-stars-link]: https://github.com/LeEricCH/cohere-slack-starter-app/network/stargazers\n[github-issues-shield]: https://img.shields.io/github/issues/LeEricCH/cohere-slack-starter-app?color=ff80eb\u0026labelColor=black\u0026style=flat-square\n[github-issues-link]: https://github.com/LeEricCH/cohere-slack-starter-app/issues\n[github-license-shield]: https://img.shields.io/github/license/LeEricCH/cohere-slack-starter-app?color=white\u0026labelColor=black\u0026style=flat-square\n[github-license-link]: https://github.com/LeEricCH/cohere-slack-starter-app/blob/master/LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleericch%2Fcohere-slack-starter-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleericch%2Fcohere-slack-starter-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleericch%2Fcohere-slack-starter-app/lists"}