MCPcopy Create free account
hub / github.com/OpenBMB/BMTools / __init__

Method __init__

bmtools/tools/database/utils/llm.py:261–265  ·  view source on GitHub ↗

Initializes the model.

(self, config, needs_confirmation=False, disable_tqdm=True)

Source from the content-addressed store, hash-verified

259class GPT_Insert(LLM):
260
261 def __init__(self, config, needs_confirmation=False, disable_tqdm=True):
262 """Initializes the model."""
263 self.config = config
264 self.needs_confirmation = needs_confirmation
265 self.disable_tqdm = disable_tqdm
266
267 def confirm_cost(self, texts, n, max_tokens):
268 total_estimated_cost = 0

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected