protectai / rebuff

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

Use langchain llm and vector store as input to support more models #113

Open marswen opened 4 months ago

marswen commented 4 months ago

To support more online/local models and vector stores, it will be more convenient to pass into langchain components, so that we don't need to handle initiation of various models and vector stores in Rebuff, as well as different invoking methods.

Main changes: