Interface Usage.Builder

    • Method Detail

      • inputTokens

        Usage.Builder inputTokens​(Integer inputTokens)

        Contains information about the input tokens from the foundation model usage.

        Parameters:
        inputTokens - Contains information about the input tokens from the foundation model usage.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • outputTokens

        Usage.Builder outputTokens​(Integer outputTokens)

        Contains information about the output tokens from the foundation model usage.

        Parameters:
        outputTokens - Contains information about the output tokens from the foundation model usage.
        Returns:
        Returns a reference to this object so that method calls can be chained together.