mirror of
https://github.com/weyne85/PentestGPT.git
synced 2025-10-29 16:58:59 +00:00
feat: 🎸 API support
Add support for ChatGPT API (for pro only)
This commit is contained in:
13
tasks/NLP_RESTAPI_Generation.py
Normal file
13
tasks/NLP_RESTAPI_Generation.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from utils.chatgpt import ChatGPT
|
||||
from config.chatgpt_config import ChatGPTConfig
|
||||
|
||||
import loguru
|
||||
|
||||
logger = loguru.logger
|
||||
|
||||
# format: {name: {description: str, sample_curl: str, sample_response: str}}
|
||||
API_description = {}
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
chatGPTAgent = ChatGPT()
|
||||
Reference in New Issue
Block a user