- 
                Notifications
    You must be signed in to change notification settings 
- Fork 93
Chat demo #848
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chat demo #848
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request introduces a complete AI chat demo application featuring real-time multi-room chat with AI assistance. The system supports both local development and Azure deployment with minimal configuration changes.
Key changes:
- Complete React + TypeScript frontend with real-time messaging and markdown support
- Python Flask backend with Azure Web PubSub integration and configurable transport/storage modes
- Full Azure deployment infrastructure using Bicep templates with managed identity and RBAC
- Comprehensive test coverage for both frontend and backend components
Reviewed Changes
Copilot reviewed 83 out of 89 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description | 
|---|---|
| samples/ai/chat-demo/python_server/ | Complete Python backend with Flask, WebSocket support, AI integration, and Azure services | 
| samples/ai/chat-demo/client/ | React TypeScript frontend with real-time messaging, room management, and markdown rendering | 
| samples/ai/chat-demo/infra/ | Azure infrastructure as code using Bicep for App Service, Web PubSub, and Storage | 
| samples/ai/chat-demo/docs/ADVANCED.md | Comprehensive architecture documentation and deployment guide | 
| samples/ai/chat-demo/azure.yaml | Azure Developer CLI configuration for automated deployment | 
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Fixing AI generated logic Lots of bugs... Clean not used files Fix server, adding logger Kind of working, remaining work: logger, cacellation, user/conn Add connect hook, user logic User to be set through url too, and simply client logic Fix issue that user should receive the message sent to themselves simply client, a dd a message reducer update wording add rooms sidebar Async handler UPdate readme and remove user related logic Update readme and script temp temp2 Fix the client bug Minor updates Update to include history when sending to ai, and add azure related skeleton WebPubSub works when running locally with tunnel tool Naming refactor Simplify the client side code Cleanup server a bit and it is working Move files Refactor temp Webpage works but negotiate 500 Now works, one last thing is the blob -> table Changing to azure table works Fix some bugs and add ut Fix webpubsub bug when send to group, not need to stringify A clean room management approach using rest api Add more tests Fix package failure and add more tests
azd and local run works
refactor room store, transport, and rest api Improve code and test
No description provided.