Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customer support Streamlit application with Guardrails #211

Open
wants to merge 15 commits into
base: main_archieve_10_06_2024
Choose a base branch
from

Conversation

mccartni-aws
Copy link

Issue #, if available:
#210

Description of changes:

Features:

CloudFormation Template:
    Defines a guardrail for the customer support chatbot.
    Filters out harmful content and protects sensitive information.
    Configures Content Policy, Sensitive Information Policy, Topic Policy, and Word Policy.

Python Scripts:
    deploy_guardrails_infra.sh: Bash script to deploy the CloudFormation stack and retrieve the guardrail identifier.
    streamlit_guardrails_app.py: Streamlit app to interact with the chatbot, using the guardrails set up in the CloudFormation stack.

Requirements:
    Added requirements.txt to install necessary Python packages, including Streamlit.

Documentation:
    Detailed README with step-by-step instructions to set up the environment, deploy the CloudFormation stack, and run the Streamlit app.
    Included links to relevant resources and documentation for further reference.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@rsgrewal-aws rsgrewal-aws added the invalid This doesn't seem right label Oct 6, 2024
@rsgrewal-aws
Copy link
Contributor

Please re do this PR following the new layout and the process for creating the required file . We request all files to have a presence on the Cookbook / Recipes Website which is fronting this github repo now. Some of the mandatory sections of the notebook need to include

  • Overview.
  • What are we demonstrating .
  • What use case .
  • What will you learn.
  • What is the architectural pattern and why we select this. With a diagram
  • What are the libraries to install
  • What model did we choose and why this model
  • Every cell needs to have a markup

THIS PR needs to go to responsibleai / use-cases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants