1. 首页
  2. 文档
  3. Traversal dictionary

白皮书下载

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

Traversal dictionary

发刊日期:
2021/10/15

编辑团队:
实在学院

1、 Video example

 

 

2、 Function description

Traverse the enumerated values in the dictionary and assign them to the corresponding group of the set key and value.

 

3、 Attribute description

● key: the key variable in the dictionary.

● value: the variable of value corresponding to key in the dictionary.

● Dictionaries: the variable that holds the data source.

 

 

 4、 Use example

After adding components, set parameters in the right property area. As shown in the figure below:

 

First, set the dictionary data. We store (Name: Li Ming) and (gender: male) as two groups of keys and values in the dictionary dictvar, and then obtain the value corresponding to the key according to the key.

 

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