类class
agentscope.app.ragDimensionPolicyKind
class DimensionPolicyKind(str, Enum)
源码Source
agentscope/app/rag/knowledge_base_manager/_dimension_policy.py:32–54维度策略种类,把私有文档转化为可检索的知识。位于 agentscope.app.rag 包,继承自 str, Enum。
The kind of dimension policy the manager publishes. Declared in agentscope.app.rag. Extends str, Enum.
属性摘要Attribute Summary
| 属性Attribute | 类型Type | 说明Description | 值Value |
|---|---|---|---|
ANY | — | 任意字段。 | 'any' |
FIXED | — | FIXED字段。 | 'fixed' |
LOCKED_BY_EXISTING | — | LOCKED 通过 EXISTING字段。 | 'locked_by_existing' |
属性详情Attribute Detail
ANY
= 'any'任意字段。
The ANY field.
源码Source
agentscope/app/rag/knowledge_base_manager/_dimension_policy.py:35FIXED
= 'fixed'FIXED字段。
The FIXED field.
源码Source
agentscope/app/rag/knowledge_base_manager/_dimension_policy.py:41LOCKED_BY_EXISTING
= 'locked_by_existing'LOCKED 通过 EXISTING字段。
The LOCKED BY EXISTING field.
源码Source
agentscope/app/rag/knowledge_base_manager/_dimension_policy.py:47