# Comments or info in configuration

**URL:** <https://discuss.ray.io/t/comments-or-info-in-configuration/5797>\
**Category:** RLlib\
**Created:** [April 14, 2022, 4:29pm UTC](https://discuss.ray.io/t/comments-or-info-in-configuration/5797 "2022-04-14T16:29:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tadteo](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/tadteo/32/2397_2.png) [@tadteo](https://discuss.ray.io/u/tadteo)\
**Post date:** [April 14, 2022, 4:29pm UTC](https://discuss.ray.io/t/comments-or-info-in-configuration/5797/1 "2022-04-14T16:29:34Z")

</div>

Hi all,  
There is a possibility to add extra info in the configuration dictionary or Rllib. For example to change the folder name in which ray saves the results.  
I’m testing different implementations of my environment and I would like to save some kind of comment that allows me to differentiate the various modifications.

Is there any way to achieve that already implemented in ray?

---

<div class="post-metadata">

**Author:** ![Lars\_Simon\_Zehnder](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/lars_simon_zehnder/32/1185_2.png) [@Lars\_Simon\_Zehnder](https://discuss.ray.io/u/Lars_Simon_Zehnder)\
**Post date:** [April 15, 2022, 9:20am UTC](https://discuss.ray.io/t/comments-or-info-in-configuration/5797/2 "2022-04-15T09:20:53Z")

</div>

Hi @tadteo ,

and welcome to the discussion board. It is a little unclear what you exactly want to do. Do you want to add to the `info` dict returned by the envrionments `step()` function? Or do you want to the add keys to the configuration dictionary defined for each `Trainer`?

Simon

---

<div class="post-metadata">

**Author:** ![tadteo](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/tadteo/32/2397_2.png) [@tadteo](https://discuss.ray.io/u/tadteo)\
**Post date:** [April 20, 2022, 7:49am UTC](https://discuss.ray.io/t/comments-or-info-in-configuration/5797/3 "2022-04-20T07:49:26Z")

</div>

Sorry, I was not clear 😅

What I was trying to do was to modify the config dictionary to add “info” on the specific training.  
In particular, I was trying to save a “map\_name” parameter of the environment.

So I was wondering if it is feasible to save this name for example in the params.json file that is inside ~/ray\_results/\<experiment\_name\> or directly writing that name at the end of the \<experiment\_name\> folder.

However, also other approaches to saving this kind of information are good.
