Correct grammar for a message to be thrown as part of an exception when the document was not uploaded successfully (part of the 'add' method).

This commit is contained in:
Sagar Bhat
2024-03-24 21:05:53 +11:00
committed by Christian Tzolov
parent 6030db1b9e
commit ed68dfb00c

View File

@@ -233,7 +233,7 @@ public class AzureVectorStore implements VectorStore, InitializingBean {
for (IndexingResult indexingResult : result.getResults()) {
Assert.isTrue(indexingResult.isSucceeded(),
String.format("Document with key %s upload is not successfully", indexingResult.getKey()));
String.format("Document with key %s did not upload successfully", indexingResult.getKey()));
}
}