abacusai.llm_input

Module Contents

Classes

LlmInput

The result of encoding an object as input for a language model.

class abacusai.llm_input.LlmInput(client, content=None)

Bases: abacusai.return_class.AbstractApiClass

The result of encoding an object as input for a language model.

Parameters:
  • client (ApiClient) – An authenticated API Client instance

  • content (str) – Content of the response

__repr__()

Return repr(self).

to_dict()

Get a dict representation of the parameters in this class

Returns:

The dict value representation of the class parameters

Return type:

dict