View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaConversationContext (google_api_discovery_engine v0.7.0)

Defines context of the conversation

Attributes

  • activeDocument (type: String.t, default: nil) - The current active document the user opened. It contains the document resource reference.
  • contextDocuments (type: list(String.t), default: nil) - The current list of documents the user is seeing. It contains the document resource references.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaConversationContext{
    activeDocument: String.t() | nil,
    contextDocuments: [String.t()] | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.