Skip to content

Commit a428b90

Browse files
authored
Minor, xref link fix (#35039)
1 parent a960050 commit a428b90

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ _history.GetOrAddGroupHistory(groupName, userName, message);
118118

119119
### Stream AI responses
120120

121-
The `CompleteChatStreamingAsync()` method streams responses from OpenAI incrementally, which allows the app to send partial responses to the client as they're generated.
121+
The `CompleteChatStreamingAsync` method streams responses from OpenAI incrementally, which allows the app to send partial responses to the client as they're generated.
122122

123-
The code uses a `StringBuilder` to accumulate the AI's response. It checks the length of the buffered content and sends it to the clients when it exceeds a certain threshold, for example, 20 characters. This approach ensures that users see the AIs response as it forms, mimicking a human-like typing effect.
123+
The code uses a <xref:System.Text.StringBuilder> to accumulate the AI's response. It checks the length of the buffered content and sends it to the clients when it exceeds a certain threshold, for example, 20 characters. This approach ensures that users see the AI's response as it forms, mimicking a human-like typing effect.
124124

125125
```csharp
126126
totalCompletion.Append(content);

0 commit comments

Comments
 (0)