Brute
Brute::TokenCounter::Rendering
module Brute::TokenCounter module Rendering endendThe text a counter measures.
One rendering, so two counters cannot disagree about what the conversation even is – and it is the same text a summariser reads, which is why it says who spoke and what was called rather than being the shortest thing that could be measured.
Class Methods
self.conversation
conversation(messages)Not documented.
self.message
message(message)Not documented.
self.tools
tools(tools)The schemas as the provider is given them, which is what they cost.
Defined in
lib/brute/token_counter.rb