mirror of
https://github.com/modelscope/modelscope.git
synced 2026-02-25 04:30:48 +01:00
format chatglm output
This commit is contained in:
@@ -136,6 +136,7 @@ class ZhiPu:
|
||||
prompt=messages,
|
||||
top_p=0.7,
|
||||
temperature=0.9,
|
||||
return_type='text',
|
||||
)
|
||||
if response['code'] == 200:
|
||||
return response['data']['choices'][0]['content']
|
||||
|
||||
Reference in New Issue
Block a user