MCPcopy Create free account
hub / github.com/Tencent/digitalhuman / __init__

Method __init__

HATE/basic_hate/agentverse/memory/summary.py:23–26  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

21 prompt_template: str = Field(default="")
22
23 def __init__(self, *args, **kwargs):
24 llm_config = kwargs.pop("llm")
25 llm = load_llm(llm_config)
26 super().__init__(llm=llm, *args, **kwargs)
27
28 @validator("prompt_template")
29 def check_prompt_template(cls, v, values):

Callers

nothing calls this directly

Calls 2

load_llmFunction · 0.90
popMethod · 0.45

Tested by

no test coverage detected