31 references to WebSearchToolCallContent
Microsoft.Extensions.AI.Abstractions (2)
ChatCompletion\ChatResponseExtensions.cs (1)
254contents[existingIndex] = new WebSearchToolCallContent(existing.CallId)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.WebSearchToolCallContent.g.cs (1)
34ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.WebSearchToolCallContent((string)args[0]),
Microsoft.Extensions.AI.Abstractions.Tests (18)
ChatCompletion\ChatResponseUpdateExtensionsTests.cs (11)
1023new() { Contents = [new WebSearchToolCallContent("ws1") { Queries = ["first query"] }] }, 1029new() { Contents = [new WebSearchToolCallContent("ws1") { Queries = ["second query"], RawRepresentation = rawRepresentation, AdditionalProperties = additionalProps }] }, 1032new() { Contents = [new WebSearchToolCallContent("ws2") { Queries = ["AI safety"] }] }, 1035new() { Contents = [new WebSearchToolCallContent("ws1")] }, 1067new() { Contents = [new WebSearchToolCallContent("ws1")] }, 1068new() { Contents = [new WebSearchToolCallContent("ws1") { Queries = ["query from second"] }] }, 1086new() { Contents = [new WebSearchToolCallContent("ws1") { Queries = ["q1"] }] }, 1087new() { Contents = [new WebSearchToolCallContent("ws2") { Queries = ["q2"] }] }, 1088new() { Contents = [new WebSearchToolCallContent("ws3") { Queries = ["q3"] }] }, 1108var inProgress = new WebSearchToolCallContent("ws1") 1123new() { Contents = [new WebSearchToolCallContent("ws1") { Queries = ["dotnet extensions"] }] },
Contents\AIContentTests.cs (1)
87new WebSearchToolCallContent("ws123"),
Contents\ToolCallContentTests.cs (1)
60new WebSearchToolCallContent("call5"),
Contents\WebSearchToolCallContentTests.cs (4)
14WebSearchToolCallContent c = new("callId"); 24WebSearchToolCallContent c = new("ws_call123"); 47WebSearchToolCallContent content = new("ws_call123") 63AIContent content = new WebSearchToolCallContent("ws_call456")
Generated\361d1da7f942c932\TestJsonSerializerContext.WebSearchToolCallContent.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.WebSearchToolCallContent((string)args[0]),
Microsoft.Extensions.AI.Evaluation.Reporting (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.WebSearchToolCallContent.g.cs (1)
34ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.WebSearchToolCallContent((string)args[0]),
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.WebSearchToolCallContent.g.cs (1)
34ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.WebSearchToolCallContent((string)args[0]),
Microsoft.Extensions.AI.OpenAI (3)
OpenAIResponsesChatClient.cs (3)
273message.Contents.Add(new WebSearchToolCallContent(wscri.Id) 507yield return CreateUpdate(new WebSearchToolCallContent(webSearchInProgressUpdate.ItemId) 572yield return CreateUpdate(new WebSearchToolCallContent(wscri.Id)
Microsoft.Extensions.AI.Stabilization.Tests (5)
Generated\361d1da7f942c932\AIContentSerializationRegressionContext.WebSearchToolCallContent.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.WebSearchToolCallContent((string)args[0]),
parent\Microsoft.Extensions.AI.Abstractions.Tests\Contents\WebSearchToolCallContentTests.cs (4)
14WebSearchToolCallContent c = new("callId"); 24WebSearchToolCallContent c = new("ws_call123"); 47WebSearchToolCallContent content = new("ws_call123") 63AIContent content = new WebSearchToolCallContent("ws_call456")
Microsoft.Extensions.AI.Tests (1)
Generated\361d1da7f942c932\TestJsonSerializerContext.WebSearchToolCallContent.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.WebSearchToolCallContent((string)args[0]),