Comments (3)
Hi @budbach, thanks for writing in. The file name main_prod.py
could be slightly confusing but the "prod" means the production demo environment on AWS Lambda for me.
Discover the app's functionality by installing the live demo from https://bit.ly/chat-gpt-in-slack. Keep in mind that the live demo is personally hosted by @seratch. For corporate Slack workspaces, we strongly advise deploying the app on your own infrastructure using the guidelines provided below.
You can find this part on the README. This live demo serves OAuth installation flow and manage installations to any workspaces. For this purpose, the configure button is always necessary because each workspace user has to set their own OpenAI API key before they start using this app.
As mentioned in the above sentence on README, if you're considering to use this app for your corporate workspace, you can deploy this app using Dockerfile, which runs the main.py
with a single workspace token in env. The code calls this way to run the app as "single_workspace_mode".
If you want to run this app on AWS Lambda, it is still feasible. You can simplifies the main_prod.py
to use single_workspace_mode along with SLACK_BOT_TOKEN etc.
Does this make sense to you?
from chatgpt-in-slack.
I think so. So main_prod.py
is what you use to run your hosted version. Since I am deploying to AWS Lambda using the serverless
ci/cd flow, I'm basically running the same thing you are when you host which is setup to handle multiple workspaces.
For my use case, I probably could simplify significantly where I don't need all the s3 buckets and oauth stuff.
from chatgpt-in-slack.
Great, let me close this issue now
from chatgpt-in-slack.
Related Issues (20)
- OpenAI Error HOT 1
- APIs to read files from slack? HOT 1
- [Feature Request] Support for Function Calling HOT 5
- Question: socket mode + slash command HOT 1
- [Feature Request] Support customizing chatgpt's personality with JSON file HOT 1
- pytype errors HOT 1
- Integration with Llama.cpp HOT 2
- Making text bold or italic sometime fails HOT 3
- Role of bot utterance in thread is always "user" HOT 3
- Bot keep saying it's based on GPT-3 , even if I specify `gpt-4` HOT 2
- The bot does not respond in threads where there are messages from other bots with altered usernames HOT 2
- No replies in threads HOT 2
- Slack bot does not reply following metioned message in a thread HOT 2
- Using next generation chatgpt-in-slack causes token_revoke HOT 2
- Where do you get the "bot token" from? HOT 1
- Use of models other than GPT HOT 2
- openai package 1.x migration HOT 2
- Read image data within the convo with the bot HOT 2
- How to set up the Chatbot HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatgpt-in-slack.