intelligence-layer-sdk icon indicating copy to clipboard operation
intelligence-layer-sdk copied to clipboard

Q&A Function - Feedback when there is not enough Context provided

Open capgeminichristianerling opened this issue 10 months ago • 2 comments

Is your feature request related to a problem? Please describe. See Issue 789.

In the functions:

  • LongContextChunkQA
  • MultipleChunkQA
  • SingleChunkQA

It happens for some questions, when there is not enough information/context provided, that the Intelligence Layer returns NULL as a response. See Issue 789

Describe the solution you'd like

As a solution some feedback provided for the user if there is not enough information/context provided to answer a question, instead of an empty value returned by the Intelligence layer.

This could be a sentence returned by the Intelligence Layer such as: I'm very sorry, I do not have enough information provided to answer your question, please provide more information.