MCPcopy Create free account
hub / github.com/CarperAI/autocrit / __init__

Method __init__

toolformer/data_generation/llmchain.py:21–29  ·  view source on GitHub ↗
(
        self,
        start_tokens: List[int],
        end_tokens: List[int],
        minimum_percentage: float = 0.1,
    )

Source from the content-addressed store, hash-verified

19
20class LLMChainPostprocessing(APICallPostprocessing):
21 def __init__(
22 self,
23 start_tokens: List[int],
24 end_tokens: List[int],
25 minimum_percentage: float = 0.1,
26 ):
27 self.llmchain = langchain_llmchain
28 self.api_text = "LLMChain("
29 super().__init__(start_tokens, end_tokens, minimum_percentage)
30
31 def add_api_calls(
32 self,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected