Skip to content
This repository has been archived by the owner on Nov 18, 2023. It is now read-only.

Releases: kbeaugrand/SemanticKernel.Connectors.Memory.MongoDB

1.0.1-beta6

15 Nov 12:26
Compare
Choose a tag to compare

What's Changed

  • Bump Microsoft.SemanticKernel from 1.0.0-beta5 to 1.0.0-beta6 in /src by @dependabot in #23
  • Bump Roslynator.Analyzers from 4.6.1 to 4.6.2 in /src by @dependabot in #27
  • Bump Roslynator.Formatting.Analyzers from 4.6.1 to 4.6.2 in /src by @dependabot in #26
  • Bump Roslynator.CodeAnalysis.Analyzers from 4.6.1 to 4.6.2 in /src by @dependabot in #25
  • Bump xunit.analyzers from 1.4.0 to 1.5.0 in /src by @dependabot in #24
  • Bump Microsoft.NET.Test.Sdk from 17.7.2 to 17.8.0 in /src by @dependabot in #22

Full Changelog: 1.0.0-beta5...1.0.1-beta6

1.0.1-beta5

08 Nov 16:44
Compare
Choose a tag to compare

What's Changed

  • Bump xunit from 2.5.3 to 2.6.0 in /src by @dependabot in #19
  • Bump xunit from 2.6.0 to 2.6.1 in /src by @dependabot in #20
  • Bump Microsoft.SemanticKernel from 1.0.0-beta4 to 1.0.0-beta5 in /src by @dependabot in #21

Full Changelog: 1.0.0-beta4...1.0.1-beta5

1.0.0-beta5

08 Nov 14:43
Compare
Choose a tag to compare

What's Changed

  • Bump xunit from 2.5.3 to 2.6.0 in /src by @dependabot in #19
  • Bump xunit from 2.6.0 to 2.6.1 in /src by @dependabot in #20
  • Bump Microsoft.SemanticKernel from 1.0.0-beta4 to 1.0.0-beta5 in /src by @dependabot in #21

Full Changelog: 1.0.0-beta4...1.0.0-beta5

1.0.0-beta4

31 Oct 08:03
bcc3a05
Compare
Choose a tag to compare

What's Changed

  • Bump Microsoft.SemanticKernel from 1.0.0-beta3 to 1.0.0-beta4 in /src by @dependabot in #18

Full Changelog: 1.0.1-beta3...1.0.0-beta4

1.0.1-beta3

29 Oct 15:35
93f43c6
Compare
Choose a tag to compare

What's Changed

  • Bump Microsoft.SemanticKernel from 1.0.0-beta2 to 1.0.0-beta3 in /src by @dependabot in #17
  • Bump Roslynator.CodeAnalysis.Analyzers from 4.5.0 to 4.6.1 in /src by @dependabot in #14
  • Bump Roslynator.Formatting.Analyzers from 4.5.0 to 4.6.1 in /src by @dependabot in #15
  • Bump Roslynator.Analyzers from 4.5.0 to 4.6.1 in /src by @dependabot in #16
  • Bump xunit from 2.5.1 to 2.5.3 in /src by @dependabot in #10

Full Changelog: 1.0.1-beta2...1.0.1-beta3

1.0.1-beta2

29 Oct 15:34
e86ac09
Compare
Choose a tag to compare

What's Changed

  • Bump Microsoft.SemanticKernel from 1.0.0-beta1 to 1.0.0-beta2 in /src by @dependabot in #9
  • Bump xunit.runner.visualstudio from 2.5.1 to 2.5.3 in /src by @dependabot in #8
  • Bump xunit.analyzers from 1.3.0 to 1.4.0 in /src by @dependabot in #7

Full Changelog: 1.0.1-beta1...1.0.1-beta2

1.0.1-beta1

13 Oct 16:23
ae0cd1f
Compare
Choose a tag to compare

What's Changed

  • Bump MongoDB.Driver from 2.21.0 to 2.22.0 in /src by @dependabot in #5

Full Changelog: 1.0.0-beta1...1.0.1-beta1

1.0.0-beta1

10 Oct 06:43
e0e5829
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.0.2-preview...1.0.0-beta1

0.0.2-preview

25 Sep 15:17
03a65c5
Compare
Choose a tag to compare

What's Changed

  • Upgrade to SK 0.24.230918.1-preview

Minor changes

  • Bump xunit.runner.visualstudio from 2.5.0 to 2.5.1 in /src by @dependabot in #2
  • Bump xunit.analyzers from 1.2.0 to 1.3.0 in /src by @dependabot in #1
  • Bump xunit from 2.5.0 to 2.5.1 in /src by @dependabot in #3

New Contributors

Full Changelog: 0.0.1-preview...0.0.2-preview

0.0.1-preview

17 Sep 16:44
Compare
Choose a tag to compare

Semantic Kernel - MongoDB Connector

Build & Test
Create Release
Version
License

This is a connector for the Semantic Kernel.

It provides a connection to a MongoDB Atlas database for the Semantic Kernel for the memories.

Note: It leverage on MongoDB Atlas Vector Search to provide vector search, this cannot work while running private instance of OpenSource MongoDB clusters.

About Semantic Kernel

Semantic Kernel (SK) is a lightweight SDK enabling integration of AI Large
Language Models (LLMs) with conventional programming languages. The SK
extensible programming model combines natural language semantic functions,
traditional code native functions, and embeddings-based memory unlocking
new potential and adding value to applications with AI.

Please take a look at Semantic Kernel for more information.

Installation

To install this memory store, you need to add the required nuget package to your project:

dotnet add package SemanticKernel.Connectors.Memory.MongoDB --version 0.0.1-preview

Create the collection and the Search index

Please refer to the documentation to get more details on how to define an MongoDB Atlas Vector Search index. You can name the index default and create the index. Finally, write the following definition in the JSON editor on MongoDB Atlas:

{
  "mappings": {
    "dynamic": true,
    "fields": {
      "Embedding": {
        "dimensions": 1536,
        "similarity": "cosine",
        "type": "knnVector"
      }
    }
  }
}

Usage

To add your MongoDB Server memory connector, add the following statements to your kernel initialization code:

using SemanticKernel.Connectors.Memory.MongoDB;
...
var kernel = Kernel.Builder
            ...
                .WithMemoryStorage(await MongoDBMemoryStore.ConnectAsync(connectionString: <your_connection_string>, database: <your_database>))
            ...
                .Build();

The memory store will populate all the needed tables during startup and let you focus on the development of your plugin.

License

This project is licensed under the MIT License.