You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Build a .NET AI app to integrate with vector stores
14
14
15
-
In this quickstart, you create a .NET console app that integrates with AI embedding models and vector stores. You learn how to generate embeddings for user prompts and use those embeddings to query a vector data store. The app uses the [Microsoft.Extensions.VectorData.Abstractions](https://www.nuget.org/packages/Microsoft.Extensions.VectorData.Abstractions/) library so you can write code using AI abstractions rather than a specific SDK. AI abstractions help create loosely coupled code that allows you to change the underlying AI model with minimal app changes.
15
+
In this quickstart, you create a .NET console app that integrates with AI embedding models and vector stores. You learn how to generate embeddings for user prompts and use those embeddings to query a vector data store. The app uses the [Microsoft.Extensions.AI](https://www.nuget.org/packages/Microsoft.Extensions.AI) and [Microsoft.Extensions.VectorData.Abstractions](https://www.nuget.org/packages/Microsoft.Extensions.VectorData.Abstractions) libraries so you can write code using AI abstractions rather than a specific SDK. AI abstractions help create loosely coupled code that allows you to change the underlying AI model with minimal app changes.
16
16
17
17
:::zone target="docs" pivot="openai"
18
18
@@ -99,7 +99,7 @@ Complete the following steps to create a .NET console app that can query and upd
99
99
100
100
The following list describes what each package is used for in the `VectorDataAI` app:
101
101
102
-
- [`Microsoft.Extensions.AI.OpenAI`](https://www.nuget.org/packages/Microsoft.Extensions.AI.OpenAI) provides of generative AI abstractions for OpenAI-compatible endpoints. This library also includes the official [`OpenAI`](https://www.nuget.org/packages/OpenAI) library for the OpenAI service API as a dependency.
102
+
- [`Microsoft.Extensions.AI.OpenAI`](https://www.nuget.org/packages/Microsoft.Extensions.AI.OpenAI) provides generative AI abstractions for OpenAI-compatible endpoints. This library also includes the official [`OpenAI`](https://www.nuget.org/packages/OpenAI) library for the OpenAI service API as a dependency.
103
103
- [`Microsoft.SemanticKernel.Connectors.InMemory`](https://www.nuget.org/packages/Microsoft.SemanticKernel.Connectors.InMemory) provides an in-memory vector store class to hold queryable vector data records.
104
104
- [`Microsoft.Extensions.VectorData.Abstractions`](https://www.nuget.org/packages/Microsoft.Extensions.AI) enables Create-Read-Update-Delete (CRUD) and search operations on vector stores.
105
105
- [Microsoft.Extensions.Configuration](https://www.nuget.org/packages/Microsoft.Extensions.Configuration) provides Implementation of key-value pair based configuration.
@@ -139,13 +139,13 @@ Complete the following steps to create a .NET console app that can query and upd
139
139
140
140
1. Add a new classed named **CloudService** to your project with the following properties:
1. Create and configure an `IEmbeddingGenerator` implementation to send requests to an embedding AI model:
151
151
@@ -166,13 +166,13 @@ Complete the following steps to create a .NET console app that can query and upd
166
166
167
167
1. Create and populate a vector store with the cloud service data. Use the `IEmbeddingGenerator` implementation to create and assign an embedding vector for each record in the cloud service data:
0 commit comments