# EmbeddingResponseExtensions.GetEmbedding method

Gets the first embedding data, if availably.

```csharp
public static float[]? GetEmbedding(this EmbeddingResponse response)
```

## Return Value

The first embedding data, if available.

## See Also

* class [EmbeddingResponse](../../ChatGptNet.Models.Embeddings/EmbeddingResponse.md)
* class [EmbeddingResponseExtensions](../EmbeddingResponseExtensions.md)
* namespace [ChatGptNet.Extensions](../../ChatGptNet.md)

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