AS AgentScopeAPI 手册 / API Reference
类class agentscope.app.storage

ChatModelConfig

class ChatModelConfig(BaseModel)
源码Source agentscope/app/storage/_model/_session.py:111–128

模型配置类。位于 agentscope.app.storage 包。

The model configuration class. Declared in agentscope.app.storage.

属性摘要Attribute Summary

属性Attribute类型Type说明Description值Value
typestr
类型字段。
—
credential_idstr
凭证标识字段。
—
modelstr
模型字段。
—
model_classstr
模型类字段。
''
parametersdict
参数字段。
—

属性详情Attribute Detail

type

str

类型字段。声明为 str。

The type field.

源码Source agentscope/app/storage/_model/_session.py:114

credential_id

str

凭证标识字段。声明为 str。

The credential id field.

源码Source agentscope/app/storage/_model/_session.py:117

model

str

模型字段。声明为 str。

The model field.

源码Source agentscope/app/storage/_model/_session.py:120

model_class

str = ''

模型类字段。声明为 str。

The model class field.

源码Source agentscope/app/storage/_model/_session.py:123

parameters

dict

参数字段。声明为 dict。

The parameters field.

源码Source agentscope/app/storage/_model/_session.py:127
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.