23 lines
749 B
Python
23 lines
749 B
Python
|
|
from docspec_python import ParserOptions
|
||
|
|
from docs.pydocs.pydocs_markdown_impl import render_loader
|
||
|
|
from pydoc_markdown.contrib.loaders.python import PythonLoader
|
||
|
|
from docs.pydocs.helpers import write_to_file
|
||
|
|
|
||
|
|
|
||
|
|
write_to_file(
|
||
|
|
str="# History and Logs\n\n"
|
||
|
|
+ render_loader(
|
||
|
|
loader=PythonLoader(
|
||
|
|
modules=[
|
||
|
|
"guardrails.classes.history.call",
|
||
|
|
"guardrails.classes.history.iteration",
|
||
|
|
"guardrails.classes.history.inputs",
|
||
|
|
"guardrails.classes.history.outputs",
|
||
|
|
"guardrails.classes.history.call_inputs",
|
||
|
|
],
|
||
|
|
parser=ParserOptions(print_function=False),
|
||
|
|
),
|
||
|
|
),
|
||
|
|
filename="docs/api_reference/history_and_logs.md",
|
||
|
|
)
|