Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
29
def
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
35
def
load_memory(memory_config: Dict):
Callers
2
__init__
Method · 0.90
prepare_task_config
Function · 0.85
Calls
2
build
Method · 0.80
pop
Method · 0.45
Tested by
no test coverage detected