Invoker#

class langchain_prompty.core.Invoker(prompty: Prompty)[source]#

Base class for all invokers.

Methods

__init__(prompty)

invoke(data)

Parameters:

prompty (Prompty) –

__init__(prompty: Prompty) None[source]#
Parameters:

prompty (Prompty) –

Return type:

None

abstract invoke(data: BaseModel) BaseModel[source]#
Parameters:

data (BaseModel) –

Return type:

BaseModel