newbing-free deps
This commit is contained in:
		
							parent
							
								
									bb2f276ba5
								
							
						
					
					
						commit
						cd411c2eea
					
				@ -46,7 +46,7 @@ MAX_RETRY = 2
 | 
			
		||||
 | 
			
		||||
# 模型选择是 (注意: LLM_MODEL是默认选中的模型, 同时它必须被包含在AVAIL_LLM_MODELS切换列表中 )
 | 
			
		||||
LLM_MODEL = "gpt-3.5-turbo" # 可选 ↓↓↓
 | 
			
		||||
AVAIL_LLM_MODELS = ["gpt-3.5-turbo", "api2d-gpt-3.5-turbo", "gpt-4", "api2d-gpt-4", "chatglm", "moss", "newbing", "stack-claude"]
 | 
			
		||||
AVAIL_LLM_MODELS = ["gpt-3.5-turbo", "api2d-gpt-3.5-turbo", "gpt-4", "api2d-gpt-4", "chatglm", "moss", "newbing", "newbing-free", "stack-claude"]
 | 
			
		||||
# P.S. 其他可用的模型还包括 ["newbing-free", "jittorllms_rwkv", "jittorllms_pangualpha", "jittorllms_llama"]
 | 
			
		||||
 | 
			
		||||
# 本地LLM模型如ChatGLM的执行方式 CPU/GPU
 | 
			
		||||
 | 
			
		||||
@ -28,8 +28,6 @@ from typing import Union
 | 
			
		||||
import aiohttp
 | 
			
		||||
import certifi
 | 
			
		||||
import httpx
 | 
			
		||||
from BingImageCreator import ImageGen
 | 
			
		||||
from BingImageCreator import ImageGenAsync
 | 
			
		||||
from prompt_toolkit import PromptSession
 | 
			
		||||
from prompt_toolkit.auto_suggest import AutoSuggestFromHistory
 | 
			
		||||
from prompt_toolkit.completion import WordCompleter
 | 
			
		||||
 | 
			
		||||
@ -4,6 +4,7 @@ requests[socks]
 | 
			
		||||
transformers
 | 
			
		||||
python-markdown-math
 | 
			
		||||
beautifulsoup4
 | 
			
		||||
prompt_toolkit
 | 
			
		||||
latex2mathml
 | 
			
		||||
python-docx
 | 
			
		||||
mdtex2html
 | 
			
		||||
@ -14,4 +15,4 @@ pymupdf
 | 
			
		||||
openai
 | 
			
		||||
numpy
 | 
			
		||||
arxiv
 | 
			
		||||
 | 
			
		||||
rich
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user