Table of Contents

Class SingleEmbedContentResponse

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Response for a single embedding content request.

public class SingleEmbedContentResponse
Inheritance
SingleEmbedContentResponse
Inherited Members
Extension Methods

Properties

Embedding

The embedding generated from the content.

[JsonPropertyName("embedding")]
public ContentEmbedding? Embedding { get; set; }

Property Value

ContentEmbedding

TokenCount

The number of tokens in the input content.

[JsonPropertyName("tokenCount")]
public int? TokenCount { get; set; }

Property Value

int?