Gemini.Types.Interactions.Annotation (GeminiEx v0.9.0)

Copy Markdown View Source

Citation information for model-generated text.

Summary

Types

t()

@type t() :: %Gemini.Types.Interactions.Annotation{
  end_index: non_neg_integer() | nil,
  source: String.t() | nil,
  start_index: non_neg_integer() | nil
}

Functions

from_api(annotation)

@spec from_api(map() | nil) :: t() | nil

to_api(map)

@spec to_api(t() | map() | nil) :: map() | nil