Show HN: GPT4-powered Slack bot that can scrape URL contents
github.comThis repository contains a Python-based Slack GPT Bot that uses OpenAI's GPT model to answer users' questions. Additionally, the bot can extract content from URLs provided in the user's message and take into account their content in its response.
Features
- Extract URLs from user messages
- Scrape webpage content from URLs
- Integrate with OpenAI's GPT-4 to answer questions
- Maintain conversation context in a threaded format
- Socket mode integration with Slack Nice. High chance we’ll start seeing a ton more tooling innovation of this kind.
I view gpt-4s information constraints very similarly to blockchains; it’s a bounded context. Blockchain solved this with oracles. I think there will be a more formal, widely recognized variant for gpt-4 pretty soon. Your feature for pulling down websites is basically it. I found the context size for gpt-3 to be extremely limiting when I was hacking at ideas. Seeing this and knowing the context size for gpt-4 is larger is giving me motivation to pick up where I left off. I had the idea of creating a Kubernetes cluster debugger that’s gpt-4 based and runs in the cluster, consuming and troubleshooting then posting results to a Slack channel for dev teams to view. Don’t think I’ll work on it though. Hey this is really cool. Thanks for building it.