v5

OpenAPI 3.0.4raw.githubusercontent.com2025-05-080026.5 KB
Microsoft.KernelMemory.ServiceAssembly

Use the memories extracted from the files uploaded to generate an answer. The query can include filters to use only a subset of the memories available.

Answer a user question using the internal knowledge base.

post/ask

Request body

indexstring nullable
questionstring nullable
filtersobject[] nullable
minRelevancenumber double
streamboolean
argsobject nullable

Response

OK

streamState'error' | 'reset' | 'append' | 'last'
questionstring nullable
noResultboolean
noResultReasonstring nullable
textstring nullable