Skip to content

Add paraphrasing #33

@deadbits

Description

@deadbits

Update API so that users can submit prompts with the "paraphrase" flag. The submitted prompt will be paraphrased by an LLM and returned with the normal scan results.

Idea is that if the prompt contains an injection, paraphrasing while retaining the overall meaning may break injection strings.

Probably something like this
POST /analyze/prompt?paraphrase=true

  • Create paraphrasing prompt
  • Add paraphrase scanner module
  • Update API

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions