GreyDGL / PentestGPT

A GPT-empowered penetration testing tool
MIT License
7.29k stars 886 forks source link

cannot use the Azure Open AI API Key instead of the openai key #145

Closed hamzahjazi closed 1 year ago

hamzahjazi commented 1 year ago

image

zadigus commented 1 year ago

How do you configure pentest-gpt to use an azure openapi endpoint and api key?

GreyDGL commented 1 year ago

Hi @zadigus , previously I did not setup support for Azure api key. I'm implementing the support now and will update it to the project soon. Meanwhile, you may take a look at pentestgpt/utils/APIs and implement an Azure API wrapper to use it properly.

hamzahjazi commented 1 year ago

Hi, @GreyDGL could you please tell when the Azure API key configuration will be ready?

busraoguzoglu commented 1 year ago

Hello @GreyDGL, is there any news about the Azure setup?

AkechiShiro commented 1 year ago

Hi @GreyDGL, has there been any work done so far or can we help on implementing this Azure API wrapper?

GreyDGL commented 1 year ago

Hey guys, I created a wrapper for azure GPT3.5-turbo. I don't have an azure API key so cannot try it out. May someone try pentestgpt --reasoning_model=azure-gpt-3.5 --parsing_model=azure-gpt-3.5?

busraoguzoglu commented 1 year ago

Seems to be working with this command now using Azure Open AI Key! Thank you

GreyDGL commented 1 year ago

Perfect! Will close this issue for now then:)

AkechiShiro commented 9 months ago

@busraoguzoglu could you explain how did you configure the endpoint, it's not working on my side

gyanendrarawat commented 5 months ago

Seems to be working with this command now using Azure Open AI Key! Thank you

@busraoguzoglu
can you drop steps how u run this project with azure open ai