We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b760f2 commit 8637ff9Copy full SHA for 8637ff9
README.md
@@ -52,15 +52,9 @@ void setup() {
52
53
// Set API keys
54
chatbot.setKey("YOUR_CHATGPT_API_KEY", "chatgpt");
55
- chatbot.setKey("YOUR_HUGGING_FACE_API_KEY", "huggingface");
56
57
//Begin WiFi connection
58
- WiFi.begin("SSID", "PASSWORD");
59
- while (WiFi.status() != WL_CONNECTED) {
60
- delay(1000);
61
- Serial.println("Connecting to WiFi...");
62
- }
63
- Serial.println("Connected to WiFi");
+ chatbot.connectWiFi("YOUR_SSID", "YOUR_PASSWORD");
64
65
// Select AI and optionally specify version
66
chatbot.selectAI("chatgpt", "gpt-3.5-turbo");
0 commit comments