Skip to content

Latest commit

 

History

History
93 lines (60 loc) · 5.57 KB

File metadata and controls

93 lines (60 loc) · 5.57 KB

Introduction

中文

This is a zero-development, zero-code, zero-construction, out-of-the-box service interface that meets the needs of personal use of the knowledge base. The project is based on Microsoft's kernel-memory, a multi-modal artificial intelligence service dedicated to efficient indexing of data sets through a custom continuous data mixing pipeline, and supports retrieval-augmented generation (RAG), synthetic memory, prompts Engineering and custom secondary development. Semantic memory processing.

image image

For more detailed information about Km, please see Microsoft Kernel Memory

GitHub issues GitHub stars License Azure KM Microsoft Free

Explanation of various responsibilities and usage requirements

  1. For users, we have achieved data isolation, whether it is uploaded data or conversation data, but not including data backup, so do not use this interface in a production environment.
  2. For interface use, we do not recommend that you lend or open your key to other platforms. Note that the key cannot be reset.
  3. The uploaded data should not contain the following content: violence, hatred, sex and self-harm, anti-party and anti-government speech, and should not contain any form of feminist and LGBT content. RAI follows responsible AI.
  4. Regarding the number of conversations and the size of uploaded data, it is said that it cannot be adjusted. The project itself uses multiple Azure paid services such as Azure AI Search,Aoai-GPT4o,azure text-embedding-3-large,Azure Ai Documents and Azure Blob, which will increase costs.
  5. During the use process, I hope everyone will extract more opinions, and I also hope that everyone will tell us in time to recycle the account when it is not used for a long time.
  6. The platform only provides an enabling interface, which requires front-end projects to support or carry out front-end development.

Instructions

  1. First log in to the registration website http://20.6.181.161/

  2. For interface description, please refer to the document

  3. Example of use

    1. In FastGPT 屏幕截图 2024-11-21 231321

    屏幕截图 2024-11-21 231242

    屏幕截图 2024-11-21 231310

    251c1672f5578ff28558438f41cd93c

    1. In Copilot

      Generate API plugins from existing APIs for intelligent Microsoft 365 Copilot® projects

    2. In SK projects

      https://github.com/microsoft/kernel-memory/blob/main/examples/302-dotnet-sk-km-chat/Program.cs

    3. In ChatXMRAG

      屏幕截图 2024-11-27 003254 no /

      屏幕截图 2024-11-27 003254

5. Code Examples

The user tag will be bound to the user pipeline, and the pipeline will be randomly generated when uploading files.

C#

#r "nuget: Microsoft.KernelMemory.WebClient"

var memory = new MemoryWebClient("http://20.247.44.131:8000/api/upload"); // <== URL of KM web service

// Import a file
await memory.ImportDocumentAsync("meeting-transcript.docx");

Python

import requests

# Files to import
files = {
    "file1": ("business-plan.docx", open("business-plan.docx", "rb")),
}

response = requests.post("http://20.247.44.131:8000/api/upload", files=files, data=data)

Declaration

  1. This project is mainly for educational purposes, allowing developers to quickly test and enabling students to use the knowledge base for free. We believe technology should not be out of reach! This project is free of charge!!!! 🎉📚🚀

  2. This project was developed and computing services were provided by Chongqing Exmand Technology Co., Ltd.

logo

Contributors

azgy's avatar zsbgnw12's avatar zshandong's avatar googwell's avatar