Skip to content

Leftover Deprecated code on "Build a .NET AI vector search app" page. #46420

Closed
@hughkhan

Description

@hughkhan

Type of issue

Typo

Description

Remove leftover old code. Shown with a curly bracket in red in the attached image. I wasted hours looking for the deprecated function!! Multiple coding frontier LLMs didn't help with the issue either!

https://learn.microsoft.com/en-us/dotnet/ai/quickstarts/build-vector-search-app?pivots=openai

Remove:
// Create and populate the vector store.
var vectorStore = new InMemoryVectorStore();
IVectorStoreRecordCollection<int, CloudService> cloudServicesStore = vectorStore.GetCollection<int, CloudService>("cloudServices");
await cloudServicesStore.CreateCollectionIfNotExistsAsync();

Image

[Enter feedback here]

Page URL

https://learn.microsoft.com/en-us/dotnet/ai/quickstarts/build-vector-search-app?pivots=openai

Content source URL

https://github.com/dotnet/docs/blob/main/docs/ai/quickstarts/build-vector-search-app.md

Document Version Independent Id

f03733f1-dcfe-f4ad-447d-61cd1b240b33

Platform Id

d1c9fb28-bcac-d830-c091-f0ae200a9dcf

Article author

@FBoucher

Metadata

  • ID: 60884e6c-fc32-1775-2561-a841c357206f
  • PlatformId: d1c9fb28-bcac-d830-c091-f0ae200a9dcf
  • Service: dotnet
  • Sub-service: intelligent-apps

Related Issues


Associated WorkItem - 437607

Metadata

Metadata

Assignees

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions