Commit 811902e
feat: add AI Teaching Assistant component with chat functionality (#814)
* feat: add AI Teaching Assistant component with chat functionality
- Implemented AITeachingAssistant component for interactive AI chat.
- Created API endpoint for chat interactions with AI providers.
- Integrated multiple AI providers (Google Gemini, Azure, OpenAI, Phi-3) with fallback mechanism.
- Added offline fallback script for improved user experience.
- Enhanced user interface with responsive design and error handling.
* Update src/pages/courses/web-development/[moduleId]/[lessonId].tsx
Co-authored-by: Copilot <[email protected]>
* Update src/components/ai-assistant/AITeachingAssistant.tsx
Co-authored-by: Copilot <[email protected]>
---------
Co-authored-by: Copilot <[email protected]>1 parent 3f388cc commit 811902e
File tree
10 files changed
+963
-359
lines changed- public
- src
- components/ai-assistant
- lib
- pages
- api/ai
- courses/web-development/[moduleId]
10 files changed
+963
-359
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
0 commit comments