Closed ishandutta2007 closed 5 months ago
First i did:
pip install ChatGPTAutomation
then in python the example code.
from handler.chatgpt_selenium_automation import ChatGPTAutomation chrome_driver_path = r"/Users/ishandutta2007/Documents/chrome-mac-arm64/Google Chrome for Testing.app" chrome_path = r'"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"' chatgpt = ChatGPTAutomation(chrome_path, chrome_driver_path) prompt = "What are the benefits of exercise?" chatgpt.send_prompt_to_chatgpt(prompt) response = chatgpt.return_last_response() file_name = "conversation.txt" chatgpt.save_conversation(file_name) chatgpt.quit()
Hi, u have to clone the repo, it's not a pip library.
Sorry my bad intended to create a ticket for https://github.com/iamseyedalipro/ChatGPTAutomation Thanks
First i did:
then in python the example code.