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

Function behavior

HATE/basic_hate/evaluation/eval_v2_benchmark.py:188–191  ·  view source on GitHub ↗
(text, model)

Source from the content-addressed store, hash-verified

186 return res
187
188def behavior(text, model):
189 prompt = BEHAVIOR.replace('[text]', text)
190 res = get_response(prompt, model= model, temperature=0)
191 return res
192
193def check_text_v2(di, args):
194 # print texts

Callers 1

check_text_v2Function · 0.85

Calls 1

get_responseFunction · 0.70

Tested by

no test coverage detected