aws-samples / bedrock-claude-chat

AWS-native chatbot using Bedrock + Claude (+Mistral)
MIT No Attribution
926 stars 327 forks source link

[Feature Request] Share bots with users without sending a link #291

Open DTheunis opened 6 months ago

DTheunis commented 6 months ago

Describe the solution you'd like

We'd like to create accounts and have them access to default bots, without having the need to send links and make them chat with the bots. It's a tedious process that we would like to take away from endusers.

Why the solution needed

Easier way of using public bots for our users.

Additional context

I created a PR with the necessary code already, this makes it possible to use an API call to share a public bot (owned by the user executing the api call) with any other user.

This suffices for us - we can create Lambdas that utilize this API call - I don't plan on creating a frontend for this.

Implementation feasibility

Are you willing to discuss the solution with us, decide on the approach, and assist with the implementation?

statefb commented 6 months ago

Thank you for considering this request. Regarding the public link click feature, I don't find it overly inconvenient. Could you please elaborate on the specific scenarios you have in mind where this feature might pose challenges?

Additionally, frontend should be implemented on this case. We can support implementing frontend, but please let you know about our policy. Our approach is to ensure that both the backend and frontend implementations are completed for any new functionality. We believe that all features should be driven by clear user stories, and leaving code in an incomplete state can compromise maintainability. With this context in mind, I would appreciate if you could explain why implementing this feature would be more convenient compared to the public link click feature.

DTheunis commented 6 months ago

For our use case it's simply because we think it's a bit tedious for users now. We have some bots that we want to make available by default for users Because currently: A user has to log in with a new user, click a few links of shared bots, talk to each of them to make them show up in the shared list.

What we can do with the api call I made now is: Create a user in Cognito - Add bots to that user so that when the user logs in, he has a list of bots ready and prepared. This makes it possible to (as I've set it up now), run a lambda for a user to give that user instant access to about 5 public bots that we have prepared for them to use.

So the user can just login and start using bots made available to him - compared to the current situation where he has to log in and use links first.

As for frontend: It could be possible to use this when clicking the share button - that you can also provide specific users. Or in the Admin Dashboard so that the admin can assign bots to users.

statefb commented 6 months ago

Thank you for explanation. Actually our team is considering to add GPT store like feature, which might be what you want. The things we should take care should be:

If you have any additinoal requirements, please let me know.

github-actions[bot] commented 5 months ago

This issue has been labeled as "stale" due to no response by the reporter within 1 month (and 14 days after last commented by someone). And it will be closed automatically 14 days later if not responded.

github-actions[bot] commented 5 months ago

This issue has been closed due to no response within 14 days after labeled as "stale", 14 days after last reopened, and 14 days after last commented.