You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| OpenAI |`"openai"`| gpt-3.5, gpt-4, etc. | Yes |Under Development|
48
-
| Google Gemini |`"gemini"`| gemini-2.0-flash, gemini-2.5, etc. | Yes |Under Development|
49
-
| DeepSeek |`"deepseek"`| deepseek-chat, etc. | Yes |Under Development|
50
-
| Anthropic Claude |`"claude"`| claude-3.7-sonnet, claude-3.5-haiku, etc. | Yes |Under Development|
51
-
| OpenAI Compatible |`"openai-compatible"`| HuggingFace, OpenRouter, etc. | See Note 1 below |Under Development|
50
+
| OpenAI |`"openai"`| gpt-3.5, gpt-4, etc. | Yes |Yes|
51
+
| Google Gemini |`"gemini"`| gemini-2.0-flash, gemini-2.5, etc. | Yes |Yes|
52
+
| DeepSeek |`"deepseek"`| deepseek-chat, etc. | Yes |Yes|
53
+
| Anthropic Claude |`"claude"`| claude-3.7-sonnet, claude-3.5-haiku, etc. | Yes |Yes|
54
+
| OpenAI Compatible |`"openai-compatible"`| HuggingFace, OpenRouter, etc. | See Note 1 below |See Note 1 below|
52
55
53
-
**Note 1:** Tool call support differs by platform and model, so the availability of the `tool_calls` feature on the OpenAI Compatible platform depends on your chosen platform and model.
56
+
**Note 1:** Tool calls and Streaming support differ by AI platform and LLM model, so the availability of the `tool_calls` and `streaming` feature on the OpenAI Compatible platform depends on your chosen platform and model.
54
57
55
58
**Note 2:** We are actively working to add Grok and Ollama to the list of supported platforms.
56
59
57
60
58
61
## Dependency
59
62
60
-
The **ESP32_AI_connect** library depends on the **ArduinoJson** library (version 7.0.0 or higher) to function properly. For more details about the ArduinoJson library, please visit its official website: [https://arduinojson.org/](https://arduinojson.org/)
63
+
The **ESP32_AI_Connect** library depends on the **ArduinoJson** library (version 7.0.0 or higher) to function properly. For more details about the ArduinoJson library, please visit its official website: [https://arduinojson.org/](https://arduinojson.org/)
61
64
62
65
## Installation
63
66
@@ -157,6 +160,18 @@ Tool calls (a.k.a. tool calling or tool use) enable the AI model to request spec
157
160
- Context preservation : Maintain conversation context throughout tool interactions
158
161
This capability is ideal for creating more sophisticated applications where the AI needs to access sensor data, control hardware, or perform calculations using your ESP32.
159
162
163
+
## Streaming Chat Support
164
+
Streaming chat enables real-time interaction with AI models by delivering responses as they are generated, creating a more natural and engaging user experience. This feature allows:
165
+
166
+
- **Real-time Response**: See AI responses as they are generated, word by word
167
+
- **Interactive Experience**: More natural, conversation-like interaction
168
+
- **Immediate Feedback**: Get instant responses without waiting for complete generation
169
+
- **User Control**: Interrupt or stop responses at any time
170
+
- **Performance Metrics**: Monitor streaming performance with detailed statistics
171
+
- **Multi-platform Support**: Works with OpenAI, Claude, Gemini, DeepSeek, and Open-Compatible platforms
172
+
- **Thread-safe Design**: Built on FreeRTOS primitives for reliable operation
173
+
- **Memory Efficient**: Optimized for ESP32's limited resources
174
+
160
175
## User Guide
161
176
162
177
For detailed instructions on how to use this library, please refer to the comprehensive User Guide documents in the `doc/User Guide` folder. The User Guide includes:
@@ -177,10 +192,12 @@ Edit ESP32_AI_Connect_config.h to customize the library to your specific needs:
177
192
#define USE_AI_API_OPENAI
178
193
#define USE_AI_API_GEMINI
179
194
#define USE_AI_API_DEEPSEEK
195
+
#define USE_AI_API_CLAUDE
180
196
181
197
// Feature toggles - disable to save resources
182
198
#define ENABLE_TOOL_CALLS // Enable/disable tool calls support
0 commit comments