loader.py: 模型重载 定义 generatorAnswer 增加 AnswerResultStream 定义generate_with_callback收集器,在每次响应时将队列数据同步到AnswerResult requirements.txt 变更项目依赖 |
||
|---|---|---|
| .. | ||
| extensions | ||
| loader | ||
| __init__.py | ||
| __main__.py | ||
| base.py | ||
| chatglm_llm.py | ||
| llama_llm.py | ||
| moss_llm.py | ||
| shared.py | ||
loader.py: 模型重载 定义 generatorAnswer 增加 AnswerResultStream 定义generate_with_callback收集器,在每次响应时将队列数据同步到AnswerResult requirements.txt 变更项目依赖 |
||
|---|---|---|
| .. | ||
| extensions | ||
| loader | ||
| __init__.py | ||
| __main__.py | ||
| base.py | ||
| chatglm_llm.py | ||
| llama_llm.py | ||
| moss_llm.py | ||
| shared.py | ||