Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# ChromaDB.SemanticKernel.Sample

[Semantic Kernel](https://learn.microsoft.com/semantic-kernel/) samples that use [Chroma](https://www.trychroma.com/) as the vector store through [ChromaDotNet.VectorData](https://www.nuget.org/packages/ChromaDotNet.VectorData).
[Semantic Kernel](https://learn.microsoft.com/semantic-kernel/) samples that use [Chroma](https://www.trychroma.com/) as the vector store through [CommunityToolkit.VectorData.Chroma](https://www.nuget.org/packages/CommunityToolkit.VectorData.Chroma). It is the Chroma provider of the [AI Community Toolkit](https://github.com/CommunityToolkit/AI).

They follow the structure of the Semantic Kernel .NET samples: the [concept samples](https://github.com/microsoft/semantic-kernel/tree/main/dotnet/samples/Concepts) and the [text search steps](https://github.com/microsoft/semantic-kernel/tree/main/dotnet/samples/GettingStartedWithTextSearch). Each sample is an xUnit test that runs against real models when it needs one. Chroma replaces the vector store that the original sample uses. The samples that use a chat model also come with models that run locally in Ollama.

Expand Down
2 changes: 1 addition & 1 deletion samples/Concepts/Agents/ChatCompletion_Rag_Chroma.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Azure.AI.OpenAI;
using Azure.Identity;
using ChromaDB.Client;
using ChromaDB.VectorData;
using CommunityToolkit.VectorData.Chroma;
using Memory.VectorStoreFixtures;
using Microsoft.Extensions.AI;
using Microsoft.Extensions.VectorData;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft. All rights reserved.

using ChromaDB.Client;
using ChromaDB.VectorData;
using CommunityToolkit.VectorData.Chroma;
using Memory.VectorStoreFixtures;
using Microsoft.Extensions.AI;
using Microsoft.SemanticKernel;
Expand Down
2 changes: 1 addition & 1 deletion samples/Concepts/Concepts.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<ItemGroup>
<PackageReference Include="Azure.Identity" Version="1.21.0" />
<PackageReference Include="ChromaDotNet.VectorData" Version="0.4.3" />
<PackageReference Include="CommunityToolkit.VectorData.Chroma" Version="1.0.0-preview" />
<PackageReference Include="Docker.DotNet" Version="3.125.15" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="10.0.2" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="10.0.2" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Azure.AI.OpenAI;
using Azure.Identity;
using ChromaDB.Client;
using ChromaDB.VectorData;
using CommunityToolkit.VectorData.Chroma;
using Memory.VectorStoreFixtures;
using Microsoft.Extensions.AI;
using Microsoft.Extensions.VectorData;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Azure.AI.OpenAI;
using Azure.Identity;
using ChromaDB.Client;
using ChromaDB.VectorData;
using CommunityToolkit.VectorData.Chroma;
using Microsoft.Extensions.AI;
using Microsoft.Extensions.VectorData;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Azure.AI.OpenAI;
using Azure.Identity;
using ChromaDB.Client;
using ChromaDB.VectorData;
using CommunityToolkit.VectorData.Chroma;
using Memory.VectorStoreFixtures;
using Microsoft.Extensions.AI;
using Microsoft.Extensions.DependencyInjection;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft. All rights reserved.

using ChromaDB.Client;
using ChromaDB.VectorData;
using CommunityToolkit.VectorData.Chroma;
using Memory.VectorStoreFixtures;
using Microsoft.Extensions.VectorData;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

using System.Reflection;
using ChromaDB.Client;
using ChromaDB.VectorData;
using CommunityToolkit.VectorData.Chroma;
using Microsoft.Extensions.AI;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.VectorData;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<ItemGroup>
<PackageReference Include="Azure.Identity" Version="1.21.0" />
<PackageReference Include="ChromaDotNet.Testcontainers" Version="0.1.7" />
<PackageReference Include="ChromaDotNet.VectorData" Version="0.4.3" />
<PackageReference Include="CommunityToolkit.VectorData.Chroma" Version="1.0.0-preview" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="10.0.2" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="10.0.2" />
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="10.0.2" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft. All rights reserved.

using Azure.Identity;
using ChromaDB.VectorData;
using CommunityToolkit.VectorData.Chroma;
using Microsoft.SemanticKernel;
using Microsoft.SemanticKernel.Connectors.AzureOpenAI;
using Microsoft.SemanticKernel.Data;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft. All rights reserved.

using ChromaDB.VectorData;
using CommunityToolkit.VectorData.Chroma;
using Microsoft.SemanticKernel;
using Microsoft.SemanticKernel.Connectors.Ollama;
using Microsoft.SemanticKernel.Data;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Agents;
using ChromaDB.Client;
using ChromaDB.VectorData;
using CommunityToolkit.VectorData.Chroma;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.SemanticKernel;
using Microsoft.SemanticKernel.Agents;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using ChromaDB.Client;
using ChromaDB.VectorData;
using CommunityToolkit.VectorData.Chroma;
using Memory;
using Microsoft.Extensions.AI;
using Microsoft.Extensions.VectorData;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using ChromaDB.Client;
using ChromaDB.VectorData;
using CommunityToolkit.VectorData.Chroma;
using Memory;
using Microsoft.Extensions.AI;
using Microsoft.Extensions.DependencyInjection;
Expand Down
Loading