SherLoQ support added #21
Annotations
5 errors
|
Analysing the code with our lint:
libs/experimental/langchain_experimental/prompt_injection_identifier/hugging_face_identifier.py#L18
langchain_experimental/prompt_injection_identifier/hugging_face_identifier.py:18:13: F401 `transformers.AutoModelForSequenceClassification` imported but unused; consider using `importlib.util.find_spec` to test for availability
|
Analysing the code with our lint:
libs/experimental/langchain_experimental/prompt_injection_identifier/hugging_face_identifier.py#L19
langchain_experimental/prompt_injection_identifier/hugging_face_identifier.py:19:13: F401 `transformers.AutoTokenizer` imported but unused; consider using `importlib.util.find_spec` to test for availability
|
Analysing the code with our lint:
libs/experimental/langchain_experimental/prompt_injection_identifier/hugging_face_identifier.py#L62
langchain_experimental/prompt_injection_identifier/hugging_face_identifier.py:62:19: F821 Undefined name `PromptInjectionException`
|
Analysing the code with our lint
Process completed with exit code 2.
|
Loading