imbajin commented on code in PR #415:
URL: https://github.com/apache/hugegraph-ai/pull/415#discussion_r4609533987


##########
hugegraph-llm/config.md:
##########
@@ -173,6 +173,7 @@ OpenAI 类型也可连接提供兼容接口的模型服务;服务商必须支
 | `MAX_GRAPH_PATH`       | Optional[Integer] | 10             | 最大图路径长度        
    |
 | `MAX_GRAPH_ITEMS`      | Optional[Integer] | 30             | 最大图项目数         
    |
 | `EDGE_LIMIT_PRE_LABEL` | Optional[Integer] | 8              | 每个标签的边数限制      
    |
+| `MAX_ELEMENT_ID_LENGTH` | Optional[Integer] | 256            | 信息抽取元素 ID 
的最大长度(按 UTF-8 字节比较,超限元素被过滤,默认 256 与历史行为一致) |

Review Comment:
   **⚠️ Document the exclusive ID length threshold**
   
   The new setting is described as a maximum that filters IDs exceeding it, but 
`valid()` rejects IDs whose UTF-8 byte length is **equal to** the configured 
value too. For example, setting it to `1` discards every nonempty ID, and 
setting it to `10` discards 10-byte IDs. Please document that IDs must be 
strictly shorter than this threshold (or otherwise make the configuration 
contract match the comparison while preserving the historical default).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to