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

Function load_llm

HATE/basic_hate/agentverse/initialization.py:29–32  ·  view source on GitHub ↗
(llm_config: Dict)

Source from the content-addressed store, hash-verified

27
28
29def load_llm(llm_config: Dict):
30 llm_type = llm_config.pop("llm_type", "text-davinci-003")
31
32 return llm_registry.build(llm_type, **llm_config)
33
34
35def load_memory(memory_config: Dict):

Callers 2

__init__Method · 0.90
prepare_task_configFunction · 0.85

Calls 2

buildMethod · 0.80
popMethod · 0.45

Tested by

no test coverage detected