Files
AI_NovelGenerator/main.spec
T
YILING0013 2fe5fe1b85 新增功能:自定义知识库、生成指导
允许用户上传自己的知识库(建议在线版API,或上下文长的用户使用)

允许在生成下一章节时加入提前指导

模型Temperature参数支持
2025-01-31 13:50:07 +08:00

58 lines
1.2 KiB
RPMSpec

# -*- mode: python ; coding: utf-8 -*-
a = Analysis(
['main.py'],
pathex=[],
binaries=[],
datas=[],
hiddenimports=['typing_extensions',
'langchain-openai',
'langgraph',
'openai',
'chromadb',
'nltk',
'sentence_transformers',
'scikit-learn',
'langchain-community',
'pydantic',
'pydantic.deprecated.decorator',
'chromadb.utils.embedding_functions.onnx_mini_lm_l6_v2'
],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[],
noarchive=False,
optimize=0,
)
pyz = PYZ(a.pure)
exe = EXE(
pyz,
a.scripts,
[],
exclude_binaries=True,
name='AI_NovelGenerator_V1.1',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
console=True,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
icon=['icon.ico']
)
coll = COLLECT(
exe,
a.binaries,
a.datas,
strip=False,
upx=True,
upx_exclude=[],
name='AI_NovelGenerator_V1.1',
)