prompt module

The set of definitions to store results as a prompt message.

class jinete.storers.prompt.PromptStorer(result, formatter_cls=None)[source]

Bases: jinete.storers.abc.Storer

Store a resulting solution as a prompt message.

__init__(result, formatter_cls=None)

Construct a new object instance.

Parameters
  • result (Result) – The result object to store.

  • formatter_cls (Type[StorerFormatter]) – The formatter class to be used during the storage process.

store()[source]

Perform a storage process.

Return type

None