metaprompting.llm.LLM
- class metaprompting.llm.LLM[source]
Bases:
ABC
Public Methods:
__call__
(prompt, *args, **kwargs)Call the LLM with given arguments and return its output.
- __abstractmethods__ = frozenset({'__call__'})
- __annotations__ = {}
- abstract __call__(prompt, *args, **kwargs)[source]
Call the LLM with given arguments and return its output.
- __dict__ = mappingproxy({'__module__': 'metaprompting.llm', '__call__': <function LLM.__call__>, '__dict__': <attribute '__dict__' of 'LLM' objects>, '__weakref__': <attribute '__weakref__' of 'LLM' objects>, '__doc__': None, '__abstractmethods__': frozenset({'__call__'}), '_abc_impl': <_abc._abc_data object>, '__annotations__': {}})
- __module__ = 'metaprompting.llm'
- __slots__ = ()
- __weakref__
list of weak references to the object (if defined)
- _abc_impl = <_abc._abc_data object>