{"id":13560381,"url":"https://github.com/kbeaugrand/SemanticKernel.Connectors.Memory.MongoDB","last_synced_at":"2025-04-03T15:32:14.362Z","repository":{"id":195366259,"uuid":"692806565","full_name":"kbeaugrand/SemanticKernel.Connectors.Memory.MongoDB","owner":"kbeaugrand","description":"Atlas MongoDB connector for Semantic Kernel skills and semantic memory","archived":true,"fork":false,"pushed_at":"2023-11-18T08:30:21.000Z","size":69,"stargazers_count":6,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-24T16:46:27.927Z","etag":null,"topics":["ai","artificial-intelligence","llm","mongodb-atlas","openai","sdk","semantic-kernel"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kbeaugrand.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-09-17T16:33:06.000Z","updated_at":"2024-07-02T15:52:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"b3d54c2c-82f8-4587-ba05-f1b8ff6112d7","html_url":"https://github.com/kbeaugrand/SemanticKernel.Connectors.Memory.MongoDB","commit_stats":null,"previous_names":["kbeaugrand/semantickernel.connectors.memory.mongodb"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kbeaugrand%2FSemanticKernel.Connectors.Memory.MongoDB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kbeaugrand%2FSemanticKernel.Connectors.Memory.MongoDB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kbeaugrand%2FSemanticKernel.Connectors.Memory.MongoDB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kbeaugrand%2FSemanticKernel.Connectors.Memory.MongoDB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kbeaugrand","download_url":"https://codeload.github.com/kbeaugrand/SemanticKernel.Connectors.Memory.MongoDB/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247028125,"owners_count":20871653,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","artificial-intelligence","llm","mongodb-atlas","openai","sdk","semantic-kernel"],"created_at":"2024-08-01T13:00:42.948Z","updated_at":"2025-04-03T15:32:09.349Z","avatar_url":"https://github.com/kbeaugrand.png","language":"C#","funding_links":[],"categories":["Plugins"],"sub_categories":[],"readme":"# Semantic Kernel - MongoDB Connector\n\n\u003e **This package has been deprecated as it is legacy and is no longer maintained.**\n\u003e This package is now no longer needed as the connector is now part of the Semantic Kernel Core repository.\n\u003e Suggested Alternatives: **Microsoft.SemanticKernel.Connectors.Memory.MongoDB**\n\n[![Build \u0026 Test](https://github.com/kbeaugrand/SemanticKernel.Connectors.Memory.MongoDB/actions/workflows/build_test.yml/badge.svg)](https://github.com/kbeaugrand/SemanticKernel.Connectors.Memory.MongoDB/actions/workflows/build_test.yml)\n[![Create Release](https://github.com/kbeaugrand/SemanticKernel.Connectors.Memory.MongoDB/actions/workflows/publish.yml/badge.svg)](https://github.com/kbeaugrand/SemanticKernel.Connectors.Memory.MongoDB/actions/workflows/publish.yml)\n[![Version](https://img.shields.io/github/v/release/kbeaugrand/SemanticKernel.Connectors.Memory.MongoDB)](https://img.shields.io/github/v/release/kbeaugrand/SemanticKernel.Connectors.Memory.MongoDB)\n[![License](https://img.shields.io/github/license/kbeaugrand/SemanticKernel.Connectors.Memory.MongoDB)](https://img.shields.io/github/v/release/kbeaugrand/SemanticKernel.Connectors.Memory.MongoDB)\n\nThis is a connector for the [Semantic Kernel](https://aka.ms/semantic-kernel).\n\nIt provides a connection to a MongoDB Atlas database for the Semantic Kernel for the memories.\n\u003e Note: It leverage on ``MongoDB Atlas Vector Search`` to provide vector search, this cannot work while running private instance of OpenSource MongoDB clusters.\n\n## About Semantic Kernel\n\n**Semantic Kernel (SK)** is a lightweight SDK enabling integration of AI Large\nLanguage Models (LLMs) with conventional programming languages. The SK\nextensible programming model combines natural language **semantic functions**,\ntraditional code **native functions**, and **embeddings-based memory** unlocking\nnew potential and adding value to applications with AI.\n\nPlease take a look at [Semantic Kernel](https://aka.ms/semantic-kernel) for more information.\n\n## Installation\n\nTo install this memory store, you need to add the required nuget package to your project:\n\n```dotnetcli\ndotnet add package SemanticKernel.Connectors.Memory.MongoDB --version 1.0.0-beta1\n```\n\n## Create the collection and the Search index\n\nPlease refer to [the documentation](https://www.mongodb.com/docs/atlas/atlas-search/field-types/knn-vector/) 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:\n\n```json\n{\n  \"mappings\": {\n    \"dynamic\": true,\n    \"fields\": {\n      \"Embedding\": {\n        \"dimensions\": 1536,\n        \"similarity\": \"cosine\",\n        \"type\": \"knnVector\"\n      }\n    }\n  }\n}\n```\n\n## Usage\n\nTo add your MongoDB Server memory connector, add the following statements to your kernel initialization code:\n\n```csharp\nusing SemanticKernel.Connectors.Memory.MongoDB;\n...\nvar kernel = Kernel.Builder\n            ...\n                .WithMemoryStorage(MongoDBMemoryStore.Connect(connectionString: \u003cyour_connection_string\u003e, database: \u003cyour_database\u003e))\n            ...\n                .Build();\n```\n\nThe memory store will populate all the needed tables during startup and let you focus on the development of your plugin.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkbeaugrand%2FSemanticKernel.Connectors.Memory.MongoDB","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkbeaugrand%2FSemanticKernel.Connectors.Memory.MongoDB","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkbeaugrand%2FSemanticKernel.Connectors.Memory.MongoDB/lists"}