Agno 支持使用 SingleStore 作为 Agent 的存储后端,通过 SingleStoreStorage
类实现。
从 这里 获取 SingleStore 的凭证。
参数 | 类型 | 默认值 | 描述 |
---|---|---|---|
table_name | str | - | 要使用的表名。 |
schema | Optional[str] | "ai" | Schema 名称。 |
db_url | Optional[str] | None | 数据库 URL,如果提供了的话。 |
db_engine | Optional[Engine] | None | 要使用的数据库引擎。 |
schema_version | int | 1 | Schema 的版本号。 |
auto_upgrade_schema | bool | False | 如果为 true ,则在必要时自动升级 schema。 |