优化界面显示|将say也转换为markdwon 格式,并且不做多处理|增强user 和 bot 的对比

This commit is contained in:
w_xiaolizu
2023-05-23 18:32:23 +08:00
parent 065257b6d8
commit c250b6d789
8 changed files with 73 additions and 25 deletions

View File

@ -282,7 +282,7 @@ def generate_payload(inputs, llm_kwargs, history, system_prompt, stream):
if __name__ == '__main__':
llm_kwargs = {
'api_key': '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',
'api_key': 'sk-',
'llm_model': 'gpt-3.5-turbo',
'top_p': 1,
'max_length': 512,