Pyrit: I am not able to run Pyrit code(Automation framework by Microsoft)

Copper Contributor

I was not able to run Pyrit code that is mentioned in Microsoft documentation.
PYRIT\PyRIT\doc\demo\", line 51, in <module>
from import AzureOpenAIChat
ModuleNotFoundError: No module named 'pyrit'

I did nothing, just clone the repo mentioned in doc, and try o run, and I got the above error.

Could you please help?


1 Reply
When I inspect, I found that, the issue is AzureOpenAiChat is not installed while we install Pyrit.
Could anyone please help to sort that?