You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I am currently working on a project where I aim to make multi-agent experiments more structured. To achieve this, I am integrating the entire workflow and configuration using Hydra by FacebookResearch.
For those familiar with PyTorch Lightning, there is a repository called lightning-hydra-template, which is designed to enhance the experience for fine-tuning and training models.
With this in mind, I believe it would be beneficial to have a function that can load configurations from YAML files. Given that YAML and JSON share similar structures, I anticipate that incorporating this functionality should not pose significant challenges.
Describe the solution you'd like
I have devised a solution that I've successfully tested in my project. In the autogen/oai/openai_utils.py file, I propose replacing json.loads with yaml.safe_load to facilitate the loading of YAML files.
I plan to implement this change and will submit a pull request to address this enhancement.
We can split this or make a new function is ok to me.
Additional context
No response
The content you are editing has changed. Please copy your edits and refresh the page.
Is your feature request related to a problem? Please describe.
I am currently working on a project where I aim to make multi-agent experiments more structured. To achieve this, I am integrating the entire workflow and configuration using Hydra by FacebookResearch.
For those familiar with PyTorch Lightning, there is a repository called lightning-hydra-template, which is designed to enhance the experience for fine-tuning and training models.
With this in mind, I believe it would be beneficial to have a function that can load configurations from YAML files. Given that YAML and JSON share similar structures, I anticipate that incorporating this functionality should not pose significant challenges.
Describe the solution you'd like
I have devised a solution that I've successfully tested in my project. In the
autogen/oai/openai_utils.py
file, I propose replacingjson.loads
withyaml.safe_load
to facilitate the loading of YAML files.I plan to implement this change and will submit a pull request to address this enhancement.
We can split this or make a new function is ok to me.
Additional context
No response
add yaml support
The text was updated successfully, but these errors were encountered: