cannot import name 'PromptRequestPiece' from 'pyrit.models' #173
-
Hi Can anybody tell me, what I'm doing wrong? Br. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This should be an issue, not a discussion. Since it's already created I'll answer here. I suspect you ran a notebook from the |
Beta Was this translation helpful? Give feedback.
This should be an issue, not a discussion. Since it's already created I'll answer here.
I suspect you ran a notebook from the
main
branch using the latest released PyRIT version. Themain
branch is where we do development and therefore may not be compatible with the latest release version. If you want to use notebooks that match your release version please use the "branch" selector and then navigate to the notebooks. Or, alternatively, install the version from themain
branch and then the notebooks from themain
should all work seamlessly.