# ChatGptChoiceExtensions class

Contains extension methods for the [`ChatGptChoice`](../ChatGptNet.Models/ChatGptChoice.md) class.

```csharp
public static class ChatGptChoiceExtensions
```

## Public Members

| name | description |
| --- | --- |
| static [ContainsFunctionCalls](ChatGptChoiceExtensions/ContainsFunctionCalls.md)(…) | Gets a value indicating whether this choice contains a function call. |
| static [ContainsToolCalls](ChatGptChoiceExtensions/ContainsToolCalls.md)(…) | Gets a value indicating whether this choice contains at least one tool call. |
| static [GetFunctionCall](ChatGptChoiceExtensions/GetFunctionCall.md)(…) | Gets the first function call of the message, if any. |

## See Also

* namespace [ChatGptNet.Extensions](../ChatGptNet.md)
* [ChatGptChoiceExtensions.cs](https://github.com/marcominerva/ChatGptNet/tree/master/src/ChatGptNet/Extensions/ChatGptChoiceExtensions.cs)

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