1. 首页
  2. 文档
  3. write file

白皮书下载

实在智能Agent产品白皮书(7.2.0).pdf

write file

发刊日期:
2021/10/15

编辑团队:
实在学院

1、 Function description

Writes the specified content to the destination file.

2、 Attribute description

File path: the path of the file to be read.

Write content: the content of the file to be written.

Character set encoding: select the encoding method for processing files, including GBK, UTF-8 and Unicode.

Append write: Yes or no are optional. If yes is selected, the contents will be appended at the end of the file. Otherwise, the existing contents of the text will be overwritten.

3、 Use example

Example: openIntelligence Indeed Technology Co.Ltd.Get the text of one of the press releases on the official website and write the local name as & ldquo; New text document & rdquo; In the txt document. After running, you can see that the local document has been filled with the content of the press release.

企业培训
技术支持
加入社群
公众号
实在智能Agent学习群
扫码关注微信公众号