@@ -10,7 +10,7 @@ public sealed class MyTests
1010 // <SnippetPrivateMembers>
1111 private static ChatConfiguration ? s_chatConfiguration ;
1212 private static IList < ChatMessage > s_messages = [
13- new ChatMessage (
13+ new ChatMessage (
1414 ChatRole . System ,
1515 """
1616 You're an AI assistant that can answer questions related to astronomy.
@@ -28,7 +28,7 @@ Keep your responses concise and try to stay under 100 words.
2828 public static async Task InitializeAsync ( TestContext _ )
2929 {
3030 /// Set up the <see cref="ChatConfiguration"/>,
31- // which includes the <see cref="IChatClient"/> that the
31+ /// which includes the <see cref="IChatClient"/> that the
3232 /// evaluator uses to communicate with the model.
3333 s_chatConfiguration = GetOllamaChatConfiguration ( ) ;
3434
@@ -39,7 +39,7 @@ public static async Task InitializeAsync(TestContext _)
3939 ResponseFormat = ChatResponseFormat . Text
4040 } ;
4141
42- /// Fetch the response to be evaluated
42+ // Fetch the response to be evaluated
4343 // and store it in a static variable.
4444 ChatResponse response = await s_chatConfiguration . ChatClient . GetResponseAsync ( s_messages , chatOptions ) ;
4545 s_response = response . Message ;
@@ -49,7 +49,7 @@ public static async Task InitializeAsync(TestContext _)
4949 // <SnippetGetChatConfig>
5050 private static ChatConfiguration GetOllamaChatConfiguration ( )
5151 {
52- /// Get a chat client for the Ollama endpoint.
52+ // Get a chat client for the Ollama endpoint.
5353 IChatClient client =
5454 new OllamaChatClient (
5555 new Uri ( "http://localhost:11434" ) ,
@@ -72,7 +72,7 @@ public async Task TestCoherence()
7272 /// Retrieve the score for coherence from the <see cref="EvaluationResult"/>.
7373 NumericMetric coherence = result . Get < NumericMetric > ( CoherenceEvaluator . CoherenceMetricName ) ;
7474
75- /// Validate the default interpretation
75+ // Validate the default interpretation
7676 // for the returned coherence metric.
7777 Assert . IsFalse ( coherence . Interpretation ! . Failed ) ;
7878 Assert . IsTrue ( coherence . Interpretation . Rating is EvaluationRating . Good or EvaluationRating . Exceptional ) ;
0 commit comments