description: str = "\nCovers the write `rule` for the AINetwork Blockchain database. The SET type specifies write permissions using the `eval` variable as a JavaScript eval string.\nIn order to AINvalueOps with SET at the path, the execution result of the `eval` string must be true.\n\n## Path Rules\n1. Allowed characters for directory: `[a-zA-Z_0-9]`\n2. Use `$<
key
>` for template variables as directory.\n\n## Eval String Special Variables\n- auth.addr: Address of the writer for the path\n- newData: New data for the path\n- data: Current data for the path\n- currentTime: Time in seconds\n- lastBlockNumber: Latest processed block number\n\n## Eval String Functions\n- getValue(
<path>)\n- getRule(<path>)\n- getOwner(<path>)\n- getFunction(<path>)\n- evalRule(<path>,
<value to set>,
auth,
currentTime)\n- evalOwner(<path>,
'write_owner',
auth)\n\n## SET Example\n- type: SET\n- path: /apps/langchain_project_1/$from/$to/$img\n- eval: auth.addr===$from&&!getValue('/apps/image_db/'+$img
)\n\n## GET Example\n- type: GET\n- path: /apps/langchain_project_1\n"