Observation

Contains the result or output of an action group or knowledge base, or the response to the user.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Contains the JSON-formatted string returned by the API invoked by the action group.

Link copied to clipboard
Link copied to clipboard

Contains the JSON-formatted string returned by the API invoked by the code interpreter.

Link copied to clipboard

Contains details about the response to the user.

Link copied to clipboard

Contains details about the results from looking up the knowledge base.

Link copied to clipboard

Contains details about the response to reprompt the input.

Link copied to clipboard

The unique identifier of the trace.

Link copied to clipboard
val type: Type?

Specifies what kind of information the agent returns in the observation. The following values are possible.

Functions

Link copied to clipboard
inline fun copy(block: Observation.Builder.() -> Unit = {}): Observation
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String