Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mkafonso/eureka
Slack Bot for information retrieval! Powered by LangChain, OpenAI, and a sprinkle of creative magic that somehow works π
https://github.com/mkafonso/eureka
langchain open-source openai python slack slack-bot
Last synced: 19 days ago
JSON representation
Slack Bot for information retrieval! Powered by LangChain, OpenAI, and a sprinkle of creative magic that somehow works π
- Host: GitHub
- URL: https://github.com/mkafonso/eureka
- Owner: mkafonso
- License: mit
- Created: 2024-04-06T13:08:04.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-04-10T02:50:39.000Z (9 months ago)
- Last Synced: 2024-04-10T04:03:52.908Z (9 months ago)
- Topics: langchain, open-source, openai, python, slack, slack-bot
- Language: Python
- Homepage:
- Size: 31.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# Eureka Slack Bot
Eureka is a Slack bot that uses LangChain and OpenAI to have smart conversations. It learns from personal information to talk in a way that feels personal and makes sense. It can also search the internet to give better answers and help more effectively.
## Demo of Current Progress
.
.
.
.## Key Features Developed So Far
- β The bot only responds when mentioned in the Slack channel
- β Utilizes LangChain and OpenAI to have intelligent conversations
- β Eureka learns from specific personal data to provide personalized and relevant interactions
- β Capable of fetching online information to supplement responses
- β Instead of fetching data from a local folder, Eureka will integrate with a vector database for improved performance and scalability
- β Ability to handle and read schedules from my personal calendar
- β Scheduling feature to send reminders or automated messages at specific times
- β Integration with external APIs to perform specific tasks, such as fetching news, etc
- β Multimedia responses, including sending relevant images, videos, or files## Technologies Used
- LangChain: Framework for enabling intelligent conversations and natural language processing.
- OpenAI: AI platform used for generating human-like text and understanding language.
- Vector Database Integration: Utilizes a vector database for efficient data storage and retrieval, enhancing performance and scalability.
- Slack SDK: Software development kit for building Slack integrations and bots.
- Python: Programming language used for implementing Eureka's functionality.
- Other Libraries and Tools: Additional dependencies specified in the requirements.txt file to support various features and functionalities of Eureka.## Running the Bot
To run the bot, execute the `main.py` file:
```bash
python src/main.py
```## Want to Contribute?
Please read our [`CODE_OF_CONDUCT.md`](CODE_OF_CONDUCT.md) for more details.
## Contributors
- @mkafonso
-----------------------------------------------
.
.
.
.
.
.
.
# TESTES QUE FIZ RECENTEMENTE
.
.
.
.
.
.
.
-----------------------------------------------* Γ tranquilo gerar esses embeddings com a OpenAI
![Screen Shot 2024-04-09 at 23 03 51](https://github.com/mkafonso/eureka/assets/73212666/e03e9105-c868-4675-b13a-bafee5ebfdec)* Depois de pegar o array dos nΓΊmeros, precisamos salvar num banco de dados vetorial. Escolhi o SingleStore: https://www.singlestore.com/
* Cria um workspace, database e depois uma tabela
![Screen Shot 2024-04-09 at 22 58 37](https://github.com/mkafonso/eureka/assets/73212666/6070f530-0ca1-4f30-9444-0af4930f8d0f)
* Cadastrar os dados
![Screen Shot 2024-04-09 at 23 21 18](https://github.com/mkafonso/eureka/assets/73212666/fffdf082-b034-4ba6-9e8f-b7e334676736)* Exagerei e quis subir todo script do filme Shrek π e o modelo reclamou.
![Screen Shot 2024-04-09 at 23 31 18](https://github.com/mkafonso/eureka/assets/73212666/8e3e5f73-4cd6-4b8e-b401-fc8976209f40)