# ChatGptChoice.FinishReason property

Gets or sets a value specifying why the choice has been returned.

```csharp
public string FinishReason { get; set; }
```

## Remarks

Possible values are:

* stop: API returned complete model output
* length: incomplete model output due to max_tokens parameter or token limit
* function_call: the model decided to call a function
* content_filter: omitted content due to a flag from content filters
* null: API response still in progress or incomplete

## See Also

* class [ChatGptChoice](../ChatGptChoice.md)
* namespace [ChatGptNet.Models](../../ChatGptNet.md)

<!-- DO NOT EDIT: generated by xmldocmd for ChatGptNet.dll -->
