prompt-security / ps-fuzz

Make your GenAI Apps Safe & Secure :rocket: Test & harden your system prompt
https://www.prompt.security/fuzzer
MIT License
404 stars 54 forks source link

I am getting the following error #49

Open vpaturi opened 6 months ago

vpaturi commented 6 months ago

After successfully installing prompt_security_fuzzer, when I type -h or any other option, its giving this error:

Traceback (most recent call last): File "/home/cloudshell-user/.local/bin/prompt-security-fuzzer", line 5, in from ps_fuzz.cli import main File "/home/cloudshell-user/.local/lib/python3.9/site-packages/ps_fuzz/cli.py", line 9, in from .chat_clients import * File "/home/cloudshell-user/.local/lib/python3.9/site-packages/ps_fuzz/chat_clients.py", line 1, in from .langchain_integration import get_langchain_chat_models_info File "/home/cloudshell-user/.local/lib/python3.9/site-packages/ps_fuzz/langchain_integration.py", line 6, in def _get_class_member_doc(cls, param_name: str) -> str | None: TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'