[ENH]: Add UI support to create guardrail for different guardrail providers #164
Open
Description
Contact Details
Feature Description
Requirements
1. Develop a UI for Creating Guardrail Provider Connections
- Guardrail Provider Listing: Display a list of available guardrail providers to connect with.
- Connection Form: Provide a form to input all required details for establishing a connection with a guardrail provider.
- Test Connection: Include a feature to test the connection before saving the configuration.
2. Develop a UI for Creating Guardrails
- Guardrail Creation: Allow users to create guardrails by selecting from all configured providers.
- Preselect PAIG as enabled by default and make it non-modifiable.
- Single Guardrail Rule: Limit users to creating one guardrail at a time.
- Provide a list of guardrail connections for selection.
- Step-Wise Guardrail Configuration: Design a step-by-step flow for guardrail configuration based on the provider.
- For AWS: Steps include Content Moderation, Sensitive Data Filter, Off-Topics, Deny Terms, Prompt Safety, Review, Test Guardrails, and Application Accounts Selection.
- For PAIG: Steps include Sensitive Data Filter, Review, Test Guardrails, and Application Accounts Selection.
3. Develop a UI to List Guardrails
- Guardrail List View: Display a list of all created guardrails.
- Filters: Enable search filters to find guardrails based on name, provider, or associated application.
- Actions: Provide options to edit or delete guardrails.
4. Develop a UI for Response Templates
- Create Custom Templates: Allow users to design and save customized response templates.
- Manage Templates: Include options to edit and delete existing templates.
- Template List View: Display a searchable list of created response templates.
Code of Conduct
- I agree to follow this project's Code of Conduct