protectai / rebuff

LLM Prompt Injection Detector
https://playground.rebuff.ai
Apache License 2.0
1.01k stars 67 forks source link

HTTPError: 401 Client Error: Unauthorized for url: https://www.rebuff.ai/api/detect #69

Closed Tizzzzy closed 8 months ago

Tizzzzy commented 8 months ago

Why am I getting this error? HTTPError: 401 Client Error: Unauthorized for url: https://www.rebuff.ai/api/detect

seanpmorgan commented 8 months ago

Hi @Tizzzzy you'll want to goto https://www.rebuff.ai/playground to login and retrieve your API token from: https://www.rebuff.ai/playground#add-to-app

Then you can ping the server using the instructions here: https://github.com/protectai/rebuff#getting-started

This error means you're attempting to ping the API without auth token. Let us know if you still have issues.