-
Notifications
You must be signed in to change notification settings - Fork 25.1k
SignalR with Open AI: Finish as Sample Guide #34848
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
Conversation
…at.md Will be pulling all commits into a new PR. Commiting suggestions here before that transfer starts. Co-authored-by: Luke Latham <[email protected]>
…at.md Co-authored-by: David Pine <[email protected]>
…at.md Co-authored-by: David Pine <[email protected]>
…at.md Co-authored-by: David Pine <[email protected]>
…at.md Co-authored-by: David Pine <[email protected]>
…at.md Co-authored-by: David Pine <[email protected]>
…at.md Co-authored-by: David Pine <[email protected]>
…at.md Co-authored-by: David Pine <[email protected]>
…Docs into wadepickett/34636SignalRwithOpenAI
|
Sorry this took so long to get to this. I had higher priority and security related work sitting before this one. It is an awesome example. @kevinguo-ed, I made some changes based on all review suggestions. See if it looks OK to you. |
|
@wadepickett Looks good. Thank you for the review. |
…at.md Co-authored-by: David Pine <[email protected]>
aspnetcore/tutorials/ai-powered-group-chat/ai-powered-group-chat.md
Outdated
Show resolved
Hide resolved
|
|
||
| The following diagram highlights the step-by-step communication and processing involved in using OpenAI services, employing an iterative approach to responses and data handling: | ||
|
|
||
| :::image type="content" source="./sequence-diagram-ai-powered-group-chat.png" alt-text="sequence diagram for the AI-powered group chat"::: |
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.
Just an idea, not something that you need to do, but since we still do not have native support from the Learn platform for mermaid diagrams-I've been using mermaid.live and its share feature, that lets you encode/share diagrams. You can build this out, create the share, and embed the share as a comment in the Markdown (which hides it from the end user) but the content developer can use it as a source of truth for future edits, re-exporting it as an image to update the image itself.
For example:
<!--
https://mermaid.live/edit#pako:eNp1kk1P4zAQhv_KaK6botLQFnxAyhbt7mFRUQIXlMsQD6lFYmf9wVfV_752UyQQ4NPY7-N3xjPeYmMko0DH_wLrhi8UtZb6WkNcFLzRob9jO-4Hsl41aiDtoQJyUDUblqH7Si-S_lv5P-EOisYroz8zZWKuybYcYx7MZ2KdiLWNaZy35I2FX0F_47ZKbPEaLMPKuN44uPhZH7gKJufnP6AQcG1V27J143kxnpcCVhtuHhyY4EelM2aAS7IP0jwdTPYXJpPnUlQNabiP1dyUfw9OrOUHy7WAK3KO3TtmnaRJqqJkH6x2wI_UBUrvAcsudP5jXatoEmtVzjuQ5GkUJVNswSN5hgIz7Nn2pGQc4jbpNfoN91yjiKGMD6ix1rvIpWlWL7pB4W3gDK0J7QbFPXUu7sIQE7yN_w1hqWLPL8cvsv8pGcZeo9jiM4rl8uh0tjidneXzfDmbH88zfEGRnxxN48rzs3yaLxYn08Uuw1djounx_vbtPk4Jdv8Bo5TJ1A
-->Check out this link.
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.
Mermaid: That is really nice, I love it.
|
Awesome! A few nits and FYIs, otherwise |
…at.md commiting suggestion by IEvangelist Co-authored-by: David Pine <[email protected]>
|
@kevinguo-ed I am leaving your name on the author meta data: author: kevinguo-ed |
aspnetcore/tutorials/ai-powered-group-chat/ai-powered-group-chat.md
Outdated
Show resolved
Hide resolved
* SignalR with Open AI: Finish as Sample Guide (#34848) * Added article: SignalR with Open AI * Added missing images and fixed formatting issues * Added more details about managing chat history * Update aspnetcore/tutorials/ai-powered-group-chat/ai-powered-group-chat.md Will be pulling all commits into a new PR. Committing suggestions here before that transfer starts. Co-authored-by: Luke Latham <[email protected]> * Update aspnetcore/tutorials/ai-powered-group-chat/ai-powered-group-chat.md Co-authored-by: David Pine <[email protected]> * Update aspnetcore/tutorials/ai-powered-group-chat/ai-powered-group-chat.md Co-authored-by: David Pine <[email protected]> * Update aspnetcore/tutorials/ai-powered-group-chat/ai-powered-group-chat.md Co-authored-by: David Pine <[email protected]> * Update aspnetcore/tutorials/ai-powered-group-chat/ai-powered-group-chat.md Co-authored-by: David Pine <[email protected]> * Update aspnetcore/tutorials/ai-powered-group-chat/ai-powered-group-chat.md Co-authored-by: David Pine <[email protected]> * Update aspnetcore/tutorials/ai-powered-group-chat/ai-powered-group-chat.md Co-authored-by: David Pine <[email protected]> * Update aspnetcore/tutorials/ai-powered-group-chat/ai-powered-group-chat.md Co-authored-by: David Pine <[email protected]> * SignalR with Open AI: pulling to new PR * Change style to sample guide * Edit pass * Added instruction on code snippet * Update toc.yml: samples repo and AI sample under Samples * Text highlight * Removed code link * Added description for data flow diagram * Small edit on diagram intro * Update aspnetcore/tutorials/ai-powered-group-chat/ai-powered-group-chat.md Co-authored-by: David Pine <[email protected]> * Update aspnetcore/tutorials/ai-powered-group-chat/ai-powered-group-chat.md committing suggestion by IEvangelist Co-authored-by: David Pine <[email protected]> * Update aspnetcore/tutorials/ai-powered-group-chat/ai-powered-group-chat.md --------- Co-authored-by: Kevin Guo <[email protected]> Co-authored-by: Luke Latham <[email protected]> Co-authored-by: David Pine <[email protected]> * add kubernetes-ingress.md to TOC (#34996) * add kubernetes-ingress.md to TOC * Add YARP Kubernetes Ingress Controller to TOC * Fix link to Kubernetes Ingress sample * Fix invalid XML in an example (#35028) --------- Co-authored-by: Wade Pickett <[email protected]> Co-authored-by: Kevin Guo <[email protected]> Co-authored-by: Luke Latham <[email protected]> Co-authored-by: David Pine <[email protected]> Co-authored-by: Rick Anderson <[email protected]> Co-authored-by: Jan Jones <[email protected]>
Fixes #34636
Pulls in original commits and initial review commits from PR #33448.
Using sample docs from the dotnet/docs as a guide for this one which is not a full tutorial, but is a great sample guide (AKA sample readme)
Internal previews