Skip to main content

Module view

Module view 

Source
Expand description

面向 LLM 的文档视图模式。

提供四种视图模式,将 DocumentContent 转换为针对不同场景优化的纯文本表示:

无直接 Java 对应,是 easydoc-rust 自创的辅助功能。

Enums§

ViewMode
Selects how a DocumentContent is rendered into a string.

Functions§

render_view
Renders a DocumentContent into a string according to the chosen ViewMode.