Command:
By @NandhaBotsâ¤ī¸
â
Tags :
#Chatgpt #NandhaApI
import requests
url = "https://nandha-api.onrender.com/chatgpt"
headers = {
"accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded"
}
data = {"prompt": "Hi, who are you?"}
response = requests.post(url, headers=headers, data=data)
print(response.json())
Takem Time: 4.744's: {'reply': "Hello! I'm ChatGPT, a large language model created by OpenAI. I'm here to help you with information, answer questions, or just have a friendly chat. How can I assist you today?", 'credits': 'Nandha API'}
By @NandhaBots
#Chatgpt #NandhaApI
Please open Telegram to view this post
VIEW IN TELEGRAM
đ2