Skip to content

Support of Guardrails in Spring AI  #1081

Open
@bntv-config

Description

@bntv-config

Can we implement some guardrails features in built in Spring AI so we no need to fine tune the prompt:

Gurard rails features:

  • Should not be baiosed when ansering questions
  • Does not answer political questions
  • Avoid content related to violence, hate speech, self-harm, or illegal activities.
  • Do not share or ask for personal identifiable information (PII).
  • Use respectful and professional language.
  • Ensure responses do not cause harm or distress to users.

This should also be configurable , like developer can add custom also.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions