Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	更新注释
Browse files
    	
        crazy_functions/询问多个大语言模型.py
    CHANGED
    
    | @@ -16,7 +16,8 @@ def 同时问询(txt, llm_kwargs, plugin_kwargs, chatbot, history, system_prompt | |
| 16 | 
             
                chatbot.append((txt, "正在同时咨询ChatGPT和ChatGLM……"))
         | 
| 17 | 
             
                yield from update_ui(chatbot=chatbot, history=history) # 刷新界面 # 由于请求gpt需要一段时间,我们先及时地做一次界面更新
         | 
| 18 |  | 
| 19 | 
            -
                llm_kwargs['llm_model'] = 'chatglm&gpt-3.5-turbo | 
|  | |
| 20 | 
             
                gpt_say = yield from request_gpt_model_in_new_thread_with_ui_alive(
         | 
| 21 | 
             
                    inputs=txt, inputs_show_user=txt, 
         | 
| 22 | 
             
                    llm_kwargs=llm_kwargs, chatbot=chatbot, history=history, 
         | 
|  | |
| 16 | 
             
                chatbot.append((txt, "正在同时咨询ChatGPT和ChatGLM……"))
         | 
| 17 | 
             
                yield from update_ui(chatbot=chatbot, history=history) # 刷新界面 # 由于请求gpt需要一段时间,我们先及时地做一次界面更新
         | 
| 18 |  | 
| 19 | 
            +
                # llm_kwargs['llm_model'] = 'chatglm&gpt-3.5-turbo&api2d-gpt-3.5-turbo' # 支持任意数量的llm接口,用&符号分隔
         | 
| 20 | 
            +
                llm_kwargs['llm_model'] = 'chatglm&gpt-3.5-turbo' # 支持任意数量的llm接口,用&符号分隔
         | 
| 21 | 
             
                gpt_say = yield from request_gpt_model_in_new_thread_with_ui_alive(
         | 
| 22 | 
             
                    inputs=txt, inputs_show_user=txt, 
         | 
| 23 | 
             
                    llm_kwargs=llm_kwargs, chatbot=chatbot, history=history, 
         | 
