LLM Function
Optimizable llm functions.
Classes:
-
AssistantOutput–Describes an output of an LLM-based function.
-
Input–Describes an input to an LLM-based function.
-
KindRef–Refer to the input by the step kind. Refers the last step with the given kind.
-
Output–Describes an output of an LLM-based function.
-
Variable–Base class for all LLM function inputs and outputs
AssistantOutput
Bases: Output
Describes an output of an LLM-based function.
Source code in tapeagents/llm_function.py
60 61 62 63 64 | |
Input
Bases: Variable
Describes an input to an LLM-based function.
Source code in tapeagents/llm_function.py
47 48 49 50 | |
KindRef
Bases: BaseModel
Refer to the input by the step kind. Refers the last step with the given kind.
Source code in tapeagents/llm_function.py
156 157 158 159 | |
Output
Bases: Variable
Describes an output of an LLM-based function.
Source code in tapeagents/llm_function.py
53 54 55 56 57 | |
Variable
Bases: BaseModel
Base class for all LLM function inputs and outputs
Source code in tapeagents/llm_function.py
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | |