Skip to content

Commit b08899b

Browse files
author
Eric
committed
Fixed
1 parent c7441cf commit b08899b

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ Then you should see the examples and be able to include the library in your proj
4040

4141
Here's a minimal example:
4242
```
43-
if (chat_gpt.simple_message("gpt-3.5-turbo-0301", "user", "Planning a 3-day trip to San Diego", result)) {
44-
Serial.println("===OK===");
45-
Serial.println(result);
46-
} else {
47-
Serial.println("===ERROR===");
48-
Serial.println(result);
49-
}
43+
if (chat_gpt.simple_message("gpt-3.5-turbo-0301", "user", "Planning a 3-day trip to San Diego", result)) {
44+
Serial.println("===OK===");
45+
Serial.println(result);
46+
} else {
47+
Serial.println("===ERROR===");
48+
Serial.println(result);
49+
}
5050
```
5151

5252
Result

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version=0.1.0
33
author=Eric Nam <thatprojectstudio@gmail.com>
44
maintainer=Eric Nam <thatprojectstudio@gmail.com>
55
sentence=Library for communication with ChatGPT
6-
paragraph=Uses OpenAI's paid API.
6+
paragraph=The official method using API Key for communication with OpenAI
77
url=https://github.com/0015/ChatGPT_Client_For_Arduino
88
category=Communication
99
architectures=*

0 commit comments

Comments
 (0)