View Source GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1ConversationContext (google_api_discovery_engine v0.16.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.V1.Model.GoogleCloudDiscoveryengineV1ConversationContext{
    activeDocument: String.t() | nil,
    contextDocuments: [String.t()] | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.