enable_shared_system_prefix
产品支持情况
产品 |
是否支持 |
---|---|
x |
|
√ |
|
x |
|
x |
|
x |
|
x |
函数功能
配置是否开启共享系统前缀,对应底层llm.EnableSharedSystemPrefix配置项。
函数原型
1 | enable_shared_system_prefix(enable_shared_system_prefix) |
参数说明
参数名称 |
数据类型 |
取值说明 |
---|---|---|
enable_shared_system_prefix |
bool |
配置是否开启共享系统前缀,取值包括True和False,默认False。
|
调用示例
1 2 3 | from llm_datadist import ModelConfig model_config = ModelConfig() model_config.enable_shared_system_prefix = True |
返回值
无
约束说明
无
父主题: ModelConfig