Skip to content

Commit 610b9b4

Browse files
authored
Update gptchat.php
1 parent d463bf8 commit 610b9b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gptchat.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
1313
$input = json_decode(file_get_contents('php://input'), true);
1414
$message = urlencode($input['message']);
15-
15+
// change url to you needs and please ad limits to you openai account
1616
$url = "https://api.gptchat.com/v1/engines/gpt-4/complete?api_key=" . API_KEY . "&message=" . $message;
1717

1818
$response = file_get_contents($url);

0 commit comments

Comments
 (0)