Kieran Paton I think for the case where streaming completions call has at least one response filtered the JSON response will have a finish_reason
of "content_filter
" and for cases where all content passed content filters finish_reason
will be either 'length
' or 'stop
' for each generated response.
Some of the scenarios are explained on this page with more information. I hope this helps!!
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.