1. 首页
  2. 文档
  3. Special component editing rules

白皮书下载

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

Special component editing rules

发刊日期:
2021/10/14

编辑团队:
实在学院

1. Folding assembly:

Folding component refers to folding some continuous components through the visual folding component function to reduce the display space of the view and make the view clearer.

  • #@_ foldIndicates the start of the folding component

  • #@_ foldFollowed bySpace + texttextAs foldedPrompt languagecontent

  • #@Indicates the end of this folding component

The corresponding codes are as follows:

#@_ Folding test folding
a=one
b=two
#@

2. Insert code component:

The insert code component is a visual component that can write Python code and code description within its scope.

  • #@_ Insert codeIndicates the start of the component

  • #@_ Insert codeFollowed bySpace + texttextThe content will be used as the source of the inserted codeComponent description

  • #@Indicates the end of the component

#@_ Insert code
a=one
b=two
#@

3. Note component:

Annotation component refers to annotating a line of code to make the code invalid and unenforceable; Not a descriptive comment on a line or end code.

  • #@_ notesIndicates the beginning of the comment

  • If a component is annotated, an annotated code block is displayed

  • #@Indicates the end of the comment

#@_ notes
# a = 1
# b = 2
#@

4. Self built components:

Self built components call special prefixes through functionsTAST_ COMPONENTAnd ID. when parsing, find the corresponding self built component. If it is not loaded, an error message will be displayed.

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