Would like to know if i use https://api.openai.com/v1/engines/text-davinci-002/completions endpoint like say to find certain occurences in a text and replace it with given values, how can i get details of the API result statistics like how many occurences were found , how many replaced successfully kind.
Have you look at new edit feature?
You can use replace like this.
Endpoint doesn’t seem to give much detailed response. But you can count replacements with giving them special symbols like “[ ]”
thank you for the suggestion
Can we find result statistics of OpenAPI as to how many were replaced and how many were found ?