The error nResults must be > 0 often happens because we reduce the number of requested documents to be <= the number of available documents in a dataset. If the dataset is empty, this is not actually a hard error but something that we can let the LLM session (GPTScript) know without erroring out.
The error
nResults must be > 0
often happens because we reduce the number of requested documents to be <= the number of available documents in a dataset. If the dataset is empty, this is not actually a hard error but something that we can let the LLM session (GPTScript) know without erroring out.