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

DimensionPolicyKind

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:35

FIXED

 = 'fixed'

FIXED字段。

The FIXED field.

源码Source agentscope/app/rag/knowledge_base_manager/_dimension_policy.py:41

LOCKED_BY_EXISTING

 = 'locked_by_existing'

LOCKED 通过 EXISTING字段。

The LOCKED BY EXISTING field.

源码Source agentscope/app/rag/knowledge_base_manager/_dimension_policy.py:47
基于官方固定版本源码静态生成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.