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

feature: Proposing Private AI integration for PII detection #813

Open
1 task done
letmerecall opened this issue Oct 21, 2024 · 1 comment
Open
1 task done

feature: Proposing Private AI integration for PII detection #813

letmerecall opened this issue Oct 21, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@letmerecall
Copy link

Did you check the docs?

  • I have read all the NeMo-Guardrails docs

Is your feature request related to a problem? Please describe.

Add support for Private AI to safeguard Personally Identifiable Information and address one of the big safety concern for using LLMs.

Describe the solution you'd like

To start with it'd be nice to have a Private AI PII detection action, something like detect_pii which can be used in input, output or retrival retrieval.

Example usage

rails:
  input:
    flows:
      - detect pii on input
  output:
    flows:
      - detect pii on output
  retrieval:
    flows:
      - detect pii on retrieval

The implementation can be similar to what we already have for sensitive_data_detection action.

The implementation can be later extended to include:

  • PII masking
  • Synthetic entity generation

Describe alternatives you've considered

We currently have an action sensitive_data_detection that uses Microsoft Presidio.
By introducing Private AI, we will expand support for more entities, improve detection accuracy, and provide additional features, including support for multiple file formats.

The support can also be extended to features like masking, synthetic entity genertion, and different file types.

Additional context

Additional resources

@letmerecall letmerecall added the enhancement New feature or request label Oct 21, 2024
@letmerecall
Copy link
Author

@Pouyanpi, feel free to assign it to me. Excited for the collaboration :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant