langgoap.Reflection#

class Reflection(action_name, error, reflection, suggestion, timestamp)[source]#

A verbal reflection on an execution failure.

Parameters:
  • action_name (str)

  • error (str)

  • reflection (str)

  • suggestion (str)

  • timestamp (str)

action_name#

Name of the action that failed.

Type:

str

error#

Error message from the failure.

Type:

str

reflection#

Analysis of what went wrong.

Type:

str

suggestion#

Suggestion for the next attempt.

Type:

str

timestamp#

When the reflection was generated (ISO format).

Type:

str

__init__(action_name, error, reflection, suggestion, timestamp)#
Parameters:
  • action_name (str)

  • error (str)

  • reflection (str)

  • suggestion (str)

  • timestamp (str)

Return type:

None

Methods

__init__(action_name, error, reflection, ...)

Attributes