Create a new version from latest main branch #18
Annotations
4 errors and 1 warning
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.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v4, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading