in src/WebJobs.Extensions.OpenAI/Search/SearchResult.cs [11:25]
public SearchResult(string sourceName, string snippet)
{
if (snippet == null)
{
throw new ArgumentNullException(nameof(snippet));
}
if (sourceName == null)
{
throw new ArgumentNullException(nameof(sourceName));
}
this.SourceName = Normalize(sourceName);
this.NormalizedSnippet = Normalize(snippet);
}