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.

Changed on

Answer a user question using the internal knowledge base.

post/ask

Request

  • The document declares no server URL.
  • Auth
    API key in header Authorization

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

Changes

    • info

      added the optional property to the response with the status

    • info

      api operation id AnswerQuestion was added

    • info

      added the new optional request property

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status