Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 876 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 876 Bytes

Prompt Attacks Plugin

This plugin allows you to scan attacks from user prompts and agent responses in PostHog-LLM and PostHog-LLM-Lite. To use this plugin in PostHog-LLM, simply install the plugin's backend. The plugin links the PostHog data ingestion process with the hosted detection algorithm.

How to install in PostHog-LLM

  1. Open PostHog-LLM.
  2. Open the Data pipeline page from the sidebar.
  3. Head to the Manage apps tab.
  4. Install app advanced button
  5. "Install from GitHub, GitLab or npm" using this repository's URL.
  6. Click on the Apps tab, and it will prompt you for the API_SERVER_URL (e.g., http://localhost:9612, or http://prompt-attack:9612 if running in a Docker container in the postlang network).