MCPcopy Create free account
hub / github.com/Felixgithub2017/MMCU / plain_chat

Function plain_chat

TestChatGLM.py:56–58  ·  view source on GitHub ↗
(prompt)

Source from the content-addressed store, hash-verified

54
55# chatglm
56def plain_chat(prompt):
57 response, history = model.chat(tokenizer, prompt, history=[])
58 return response
59
60def read_file_lines(file):
61 with open(file, 'r', errors='ignore', encoding='utf8') as f:

Callers 1

evalFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected