Microsoft.KernelMemory.ServiceAssembly
Upload a new document to the knowledge base
Changed onUpload a document consisting of one or more files to extract memories from. The extraction process happens asynchronously. If a document with the same ID already exists, it will be overwritten and the memories previously extracted will be updated.
post/upload
Request
- The document declares no server URL.
- AuthAPI key in header Authorization
Request body multipart/form-data
Example request
{
"tags": [
"group:abc123",
"user:xyz"
],
"steps": [
"extract",
"partition",
"gen_embeddings",
"save_records"
]
}Response
OK
Changes
- breaking
the
request property type changed fromobjecttoarray
- breaking
- info
added optional request body
- info
added the success response with the status
- info