-
Notifications
You must be signed in to change notification settings - Fork 369
Python client (kernel-memory-client, kernel-memory-cli, semantic-kernel-memory-plugin) #1037
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…and pgvector extension
…ation, commands, and documentation
…moryPlugin with search functionality and tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Self review done 👍🏻
Could you provide details about the process to autogenerate these files? We need to add the usual copyright header to these files, even if autogenerated. Does the tool allow that, otherwise we'll have to do it manually. Thanks |
@dluc Generation info is in README https://github.com/FabianSchurig/kernel-memory/tree/python-client/clients/python#generation-info @dluc License headers are automatically added via pre-commit hook. https://github.com/FabianSchurig/kernel-memory/blob/python-client/.pre-commit-config.yaml |
@dluc Could we merge this, please. I would also like to add an MCP Server next. It would be great to have the Python Packages published. Do you want to publish on pypi microsoft? I could also publish them on my pypi if it is less overhead for you. |
@FabianSchurig thanks for this. It's quite a bit of new code to maintain, and we don't have the resources to merge it into the repo and ensure it stays up to date as things evolve. I think the best approach is to keep the client in a separate repo on your account, and add a reference to it here, along with some docs on how to use the package. |
Microsoft Kernel Memory Python Libraries 🐍
This directory contains three Python packages that provide different ways to interact with Microsoft Kernel Memory:
📦 kernel-memory-client
An autogenerated Python client library for interacting with the Kernel Memory API. This client provides low-level access to all Kernel Memory endpoints and operations.
Generation Info: The client was autogenerated using the OpenAPI specification (
swagger.json
) and theopenapi-python-client
tool:cd clients/python/kernel-memory-cli openapi-python-client generate --path ../../swagger.json --config openapi-python-generator-config.yml --overwrrite
Note: The following patch was applied to fix the document upload functionality:
🖥️ kernel-memory-cli
A command-line interface for Microsoft Kernel Memory that provides an easy way to interact with Kernel Memory services from the terminal.
The CLI offers intuitive commands for configuring connections, uploading documents, searching content, and asking questions about your indexed documents.
🔌 semantic-kernel-memory-plugin
A plugin that integrates Kernel Memory with Semantic Kernel, allowing you to use Kernel Memory's document processing and retrieval capabilities within your Semantic Kernel applications.
This plugin bridges the powerful memory capabilities of Kernel Memory with the flexible AI orchestration of Semantic Kernel.