Skip to content

Conversation

@petrpan26
Copy link

@petrpan26 petrpan26 commented Feb 7, 2025

Changes implemented:

  • Add in environment variable to switch to openai model
  • Add in relevant tasks extractor and add to prompt

This PR introduces an enhancement to DynaSaur by improving the generalization of generated actions.

Instead of relying solely on predefined actions and task, this update enables the system to dynamically fetch relevant tasks in training set as an example and incorporate them into the prompt. By adding relevant example tasks to the prompt, the agent is guided to avoid generating overly specific actions tailored only to the current task. This approach fosters more reusable and adaptable actions across diverse scenarios.

@petrpan26 petrpan26 force-pushed the openai-api branch 3 times, most recently from 3a03b1f to f1ce2b4 Compare February 7, 2025 19:04
@petrpan26
Copy link
Author

@dangne Pls review

@petrpan26 petrpan26 changed the title Add in example tasks to prevent over specific action generation Enhance Action Generalization by Fetching Relevant Tasks for Prompting Feb 7, 2025
@petrpan26 petrpan26 force-pushed the openai-api branch 2 times, most recently from 454b13a to 6c86336 Compare February 8, 2025 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant