Class ModelInvocationInput

    • Method Detail

      • traceId

        public final String traceId()
        Returns the value of the TraceId property for this object.
        Returns:
        The value of the TraceId property for this object.
      • text

        public final String text()
        Returns the value of the Text property for this object.
        Returns:
        The value of the Text property for this object.
      • type

        public final PromptType type()
        Returns the value of the Type property for this object.

        If the service returns an enum value that is not available in the current SDK version, type will return PromptType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from typeAsString().

        Returns:
        The value of the Type property for this object.
        See Also:
        PromptType
      • typeAsString

        public final String typeAsString()
        Returns the value of the Type property for this object.

        If the service returns an enum value that is not available in the current SDK version, type will return PromptType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from typeAsString().

        Returns:
        The value of the Type property for this object.
        See Also:
        PromptType
      • inferenceConfiguration

        public final InferenceConfiguration inferenceConfiguration()
        Returns the value of the InferenceConfiguration property for this object.
        Returns:
        The value of the InferenceConfiguration property for this object.
      • overrideLambda

        public final String overrideLambda()
        Returns the value of the OverrideLambda property for this object.
        Returns:
        The value of the OverrideLambda property for this object.
      • parserModeAsString

        public final String parserModeAsString()
        Returns the value of the ParserMode property for this object.

        If the service returns an enum value that is not available in the current SDK version, parserMode will return CreationMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from parserModeAsString().

        Returns:
        The value of the ParserMode property for this object.
        See Also:
        CreationMode
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)