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

Create example detection workflows #53

Open
deadbits opened this issue Nov 15, 2023 · 0 comments
Open

Create example detection workflows #53

deadbits opened this issue Nov 15, 2023 · 0 comments
Assignees
Labels
cookbooks Detection cookbook documentation Improvements or additions to documentation

Comments

@deadbits
Copy link
Owner

Now that Vigil can be imported as a library, it is a lot easier to call the different scanners and interact with canary tokens. This allows users to define custom detection workflows in Python.

I want to create a few cookbooks that demonstrate different possibilities here.

For example:
*Canary token workflow

  1. Add canary token to system prompt template
  2. Receive user input to prompt and combine with canary prompt
  3. Send canary prompt to LLM and receive response
  4. Check LLM response for canary token presence
  5. If detection then add user prompt to vector database for future detections
@deadbits deadbits added documentation Improvements or additions to documentation cookbooks Detection cookbook labels Nov 15, 2023
@deadbits deadbits self-assigned this Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cookbooks Detection cookbook documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant