Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leericch/cohere-slack-starter-app
AI-Powered Slack App: Combining OpenAI's GPT-4 and Cohere for smart chatting, quick summaries, and an interactive UI all with ⚡️Bolt.js
https://github.com/leericch/cohere-slack-starter-app
cohere gpt-4 slack
Last synced: 27 days ago
JSON representation
AI-Powered Slack App: Combining OpenAI's GPT-4 and Cohere for smart chatting, quick summaries, and an interactive UI all with ⚡️Bolt.js
- Host: GitHub
- URL: https://github.com/leericch/cohere-slack-starter-app
- Owner: LeEricCH
- License: mit
- Created: 2023-12-22T03:45:19.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2023-12-26T00:21:31.000Z (11 months ago)
- Last Synced: 2024-10-11T04:20:10.969Z (27 days ago)
- Topics: cohere, gpt-4, slack
- Language: JavaScript
- Homepage:
- Size: 101 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Cohere Slack Chat Bot
This project wraps https://github.com/slackapi/bolt-js. See official docs for details.
[![][github-contributors-shield]][github-contributors-link]
[![][github-forks-shield]][github-forks-link]
[![][github-stars-shield]][github-stars-link]
[![][github-issues-shield]][github-issues-link][Changelog](./CHANGELOG.md) · [Report Bug][github-issues-link] · [Request Feature][github-issues-link]
![](https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/rainbow.png)
> :warning: **Warning**: This project is currently under development and is not yet production-ready.
Please use with caution and expect frequent updates and changes.## ✨ Features
- [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;
- [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;
- [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;
- [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.
- [X] 👍 **User Feedback**: Empower users to rate bot responses, refining AI performance with every interaction. It will post the Feedbacks in a seperate channel.## Roadmap :world_map:
- [ ] 📡 **Streaming Responses**: Implement real-time streaming for faster and more dynamic chat responses.
- [X] 👍 **User Feedback Integration**: Enable users to provide direct feedback on chat responses, enhancing AI learning and accuracy.
- [ ] 💬 **Chat via Direct Message**: Expand functionality to allow AI chat interactions through Slack DMs.
- [ ] 🔗 **Enhanced Connector Management**: Integrate more features for managing connectors via Slack, improving connectivity and control.
- [ ] 🚀 **Heroku Hosting Support**: Aim to make the project one-click deploy ready for easy Heroku hosting.## ✨ Demo
Response of AI
The response is nicely formatted with the sources if available. The sources can be displayed via a dropdown.
Feedback
If the user dislikes the answer, he must enter improvement suggestions. The feedback messages get stored in a separate channel.
https://github.com/LeEricCH/cohere-slack-starter-app/assets/75225859/1f437203-fe0c-4496-93cb-189191091ade
[![][back-to-top]](#readme-top)
## ⌨️ Local Development
You can clone it for local development:```bash
$ git clone https://github.com/LeEricCH/cohere-slack-starter-app.git
$ cd cohere-slack-starter-app
$ yarn install
$ yarn serve
```Create an `.env` file with the following variables:
```
PORT=8000COHERE_API_TOKEN=xxxx
OPENAI_API_KEY=sk-xxxSLACK_APP_TOKEN=xapp-xxxxx
SLACK_BOT_TOKEN=xoxb-xxxxx
```[back-to-top]: https://img.shields.io/badge/-BACK_TO_TOP-black?style=flat-square
## 🔗 Links
### Credits- **cohere-samples** -
[github-release-shield]: https://img.shields.io/github/v/release/LeEricCH/cohere-slack-starter-app?color=369eff&labelColor=black&logo=github&style=flat-square
[github-release-link]: https://github.com/LeEricCH/cohere-slack-starter-app/releases
[github-releasedate-shield]: https://img.shields.io/github/release-date/LeEricCH/cohere-slack-starter-app?labelColor=black&style=flat-square
[github-releasedate-link]: https://github.com/LeEricCH/cohere-slack-starter-app/releases
[github-contributors-shield]: https://img.shields.io/github/contributors/LeEricCH/cohere-slack-starter-app?color=c4f042&labelColor=black&style=flat-square
[github-contributors-link]: https://github.com/LeEricCH/cohere-slack-starter-app/graphs/contributors
[github-forks-shield]: https://img.shields.io/github/forks/LeEricCH/cohere-slack-starter-app?color=8ae8ff&labelColor=black&style=flat-square
[github-forks-link]: https://github.com/LeEricCH/cohere-slack-starter-app/network/members
[github-stars-shield]: https://img.shields.io/github/stars/LeEricCH/cohere-slack-starter-app?color=ffcb47&labelColor=black&style=flat-square
[github-stars-link]: https://github.com/LeEricCH/cohere-slack-starter-app/network/stargazers
[github-issues-shield]: https://img.shields.io/github/issues/LeEricCH/cohere-slack-starter-app?color=ff80eb&labelColor=black&style=flat-square
[github-issues-link]: https://github.com/LeEricCH/cohere-slack-starter-app/issues
[github-license-shield]: https://img.shields.io/github/license/LeEricCH/cohere-slack-starter-app?color=white&labelColor=black&style=flat-square
[github-license-link]: https://github.com/LeEricCH/cohere-slack-starter-app/blob/master/LICENSE