new • Rust AI Agent SDK
new: Create a new document
new
Method
</div>
This is a method of the Document class in the knowledge module.
Create a new document
Signature
pythondef new(content: impl Into<String>) -> Self
Parameters
ParamField impl Into<String>No description available.
Returns
ResponseField SelfThe result of the operation.