# ChatGptResponseExtensions.AsDeltas method

Returns an IAsyncEnumerable that allows to enumerate all the partial message deltas.

```csharp
public static IAsyncEnumerable<string?> AsDeltas(this IAsyncEnumerable<ChatGptResponse> responses)
```

| parameter | description |
| --- | --- |
| responses | The source IAsyncEnumerable. |

## Return Value

An IAsyncEnumerable that allows to enumerate all the partial message deltas.

## See Also

* class [ChatGptResponse](../../ChatGptNet.Models/ChatGptResponse.md)
* class [ChatGptResponseExtensions](../ChatGptResponseExtensions.md)
* namespace [ChatGptNet.Extensions](../../ChatGptNet.md)

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