10 writes to VectorStoreId
Microsoft.Extensions.AI.Abstractions (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.HostedVectorStoreContent.g.cs (1)
61Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.HostedVectorStoreContent)obj).VectorStoreId = value!,
Microsoft.Extensions.AI.Abstractions.Tests (5)
Contents\HostedVectorStoreContentTests.cs (4)
35c.VectorStoreId = "id456"; 38Assert.Throws<ArgumentNullException>("value", () => c.VectorStoreId = null!); 39Assert.Throws<ArgumentException>("value", () => c.VectorStoreId = string.Empty); 40Assert.Throws<ArgumentException>("value", () => c.VectorStoreId = " ");
Generated\361d1da7f942c932\TestJsonSerializerContext.HostedVectorStoreContent.g.cs (1)
59Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.HostedVectorStoreContent)obj).VectorStoreId = value!,
Microsoft.Extensions.AI.Evaluation.Reporting (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.HostedVectorStoreContent.g.cs (1)
61Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.HostedVectorStoreContent)obj).VectorStoreId = value!,
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.HostedVectorStoreContent.g.cs (1)
61Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.HostedVectorStoreContent)obj).VectorStoreId = value!,
Microsoft.Extensions.AI.Stabilization.Tests (1)
Generated\361d1da7f942c932\AIContentSerializationRegressionContext.HostedVectorStoreContent.g.cs (1)
59Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.HostedVectorStoreContent)obj).VectorStoreId = value!,
Microsoft.Extensions.AI.Tests (1)
Generated\361d1da7f942c932\TestJsonSerializerContext.HostedVectorStoreContent.g.cs (1)
59Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.HostedVectorStoreContent)obj).VectorStoreId = value!,
18 references to VectorStoreId
Microsoft.Extensions.AI (2)
Common\OtelMessageSerializer.cs (1)
124m.Parts.Add(new OtelGenericPart { Type = "vector_store", Content = vsc.VectorStoreId });
Realtime\OpenTelemetryRealtimeClientSession.cs (1)
588message.Parts.Add(new OtelGenericPart { Type = "vector_store", Content = vsc.VectorStoreId });
Microsoft.Extensions.AI.Abstractions (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.HostedVectorStoreContent.g.cs (1)
60Getter = static obj => ((global::Microsoft.Extensions.AI.HostedVectorStoreContent)obj).VectorStoreId,
Microsoft.Extensions.AI.Abstractions.Tests (8)
Contents\HostedVectorStoreContentTests.cs (7)
26Assert.Equal("id123", c.VectorStoreId); 34Assert.Equal("id123", c.VectorStoreId); 36Assert.Equal("id456", c.VectorStoreId); 41Assert.Equal("id456", c.VectorStoreId); 63Assert.Equal(content.VectorStoreId, deserializedContent.VectorStoreId); 83Assert.Equal("vs-abc123", vectorStore.VectorStoreId);
Generated\361d1da7f942c932\TestJsonSerializerContext.HostedVectorStoreContent.g.cs (1)
58Getter = static obj => ((global::Microsoft.Extensions.AI.HostedVectorStoreContent)obj).VectorStoreId,
Microsoft.Extensions.AI.Evaluation.Reporting (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.HostedVectorStoreContent.g.cs (1)
60Getter = static obj => ((global::Microsoft.Extensions.AI.HostedVectorStoreContent)obj).VectorStoreId,
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.HostedVectorStoreContent.g.cs (1)
60Getter = static obj => ((global::Microsoft.Extensions.AI.HostedVectorStoreContent)obj).VectorStoreId,
Microsoft.Extensions.AI.OpenAI (2)
OpenAIAssistantsChatClient.cs (1)
424resources.FileSearch.VectorStoreIds.Add(file.VectorStoreId);
OpenAIResponsesChatClient.cs (1)
754return new FileSearchTool(fileSearchTool.Inputs?.OfType<HostedVectorStoreContent>().Select(c => c.VectorStoreId) ?? [])
Microsoft.Extensions.AI.OpenAI.Tests (1)
OpenAIConversionTests.cs (1)
294Assert.Equal(vectorStoreContent.VectorStoreId, tool.VectorStoreIds[0]);
Microsoft.Extensions.AI.Stabilization.Tests (1)
Generated\361d1da7f942c932\AIContentSerializationRegressionContext.HostedVectorStoreContent.g.cs (1)
58Getter = static obj => ((global::Microsoft.Extensions.AI.HostedVectorStoreContent)obj).VectorStoreId,
Microsoft.Extensions.AI.Tests (1)
Generated\361d1da7f942c932\TestJsonSerializerContext.HostedVectorStoreContent.g.cs (1)
58Getter = static obj => ((global::Microsoft.Extensions.AI.HostedVectorStoreContent)obj).VectorStoreId,