The Python Risk Identification Tool for generative AI (PyRIT) is an open access automation framework to empower security professionals and machine learning engineers to proactively find risks in their generative AI systems.
MIT License
1.92k
stars
369
forks
source link
FIX: Remove Duplicate Import Statement in Documentation Examples #495
This pull request addresses a documentation issue identified in the how_to_guide.ipynb and how_to_guide.py files where a duplicate import statement:
from pyrit.models import PromptRequestPiece
was redundantly present. This duplication could potentially lead to confusion for new contributors and clutter the codebase. By removing this duplicate line, the documentation becomes cleaner and more accessible, improving the onboarding experience for new users. This fix directly relates to issue #483.
Tests and Documentation
No new tests were needed for this documentation fix as it involves a simple removal of a redundant import statement. The existing documentation and examples were verified to ensure they function correctly without the import statement.
Description
This pull request addresses a documentation issue identified in the
how_to_guide.ipynb
andhow_to_guide.py
files where a duplicate import statement:was redundantly present. This duplication could potentially lead to confusion for new contributors and clutter the codebase. By removing this duplicate line, the documentation becomes cleaner and more accessible, improving the onboarding experience for new users. This fix directly relates to issue #483.
Tests and Documentation
No new tests were needed for this documentation fix as it involves a simple removal of a redundant import statement. The existing documentation and examples were verified to ensure they function correctly without the import statement.