Table of Contents

Class InteractionPlaceCitation

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

A place citation from Google Maps grounding (place_citation).

public sealed class InteractionPlaceCitation : InteractionAnnotation
Inheritance
InteractionPlaceCitation
Inherited Members
Extension Methods

Constructors

InteractionPlaceCitation()

Initializes a new instance of the InteractionPlaceCitation class.

public InteractionPlaceCitation()

Properties

Name

Title of the place.

[JsonPropertyName("name")]
public string? Name { get; set; }

Property Value

string

PlaceId

The ID of the place, in places/{place_id} format.

[JsonPropertyName("place_id")]
public string? PlaceId { get; set; }

Property Value

string

ReviewSnippets

Review snippets used to generate answers about the place.

[JsonPropertyName("review_snippets")]
public List<InteractionReviewSnippet>? ReviewSnippets { get; set; }

Property Value

List<InteractionReviewSnippet>

Url

URI reference of the place.

[JsonPropertyName("url")]
public string? Url { get; set; }

Property Value

string