Skip to content

Commit dabdfd6

Browse files
Update aspnetcore/tutorials/ai-powered-group-chat/ai-powered-group-chat.md
Co-authored-by: David Pine <[email protected]>
1 parent 82f01f5 commit dabdfd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aspnetcore/tutorials/ai-powered-group-chat/ai-powered-group-chat.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ await foreach (var completion in chatClient.CompleteChatStreamingAsync(messagesI
5757

5858
### Maintaining context with history
5959

60-
Every request to [Open AI's Chat Completions API](https://platform.openai.com/docs/guides/chat-completions) is stateless - Open AI doesn't store past interactions. In a chat application, what a user or an assistant has said is important for generating a response that's contextually relevant. We can achieve this by including chat history in every request to the Completions API.
60+
Every request to [Open AI's Chat Completions API](https://platform.openai.com/docs/guides/chat-completions) is statelessOpen AI doesn't store past interactions. In a chat app, what a user or an assistant has said is important for generating a response that's contextually relevant. To achieve this, include chat history in every request to the Completions API.
6161

6262
The `GroupHistoryStore` class manages chat history for each group. It stores messages posted by both the users and AI assistants, ensuring that the conversation context is preserved across interactions. This context is crucial for generating coherent AI responses.
6363

0 commit comments

Comments
 (0)