Azure-Samples / azure-search-openai-demo-csharp

A sample app for the Retrieval-Augmented Generation pattern running in Azure, using Azure Cognitive Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences.
MIT License
612 stars 401 forks source link

Fixes Issue #217 - chat is reversed by default #256

Closed jmatthiesen closed 9 months ago

jmatthiesen commented 9 months ago

Purpose

Fixes #217 - new chat messages are reversed / post at the top of the page by default.

Does this introduce a breaking change?

[ ] Yes
[x] No

Pull Request Type

What kind of change does this Pull Request introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

Launch the application and post 2 chat messages in a chat channel. Notice that messages go from top to bottom now. As new chat messages are added, they're appended to the end of the chat.

Detail steps:

What to Check

As new chat messages are posted, they are added beneath previous chat messages.

luisquintanilla commented 9 months ago

LGTM. Thanks @jmatthiesen