-
Notifications
You must be signed in to change notification settings - Fork 5
Migrate EmbodiAgent #82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
yangchen73
wants to merge
84
commits into
main
Choose a base branch
from
yc/agent-migration
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+4,529
−29
Open
Changes from all commits
Commits
Show all changes
84 commits
Select commit
Hold shift + click to select a range
3cbbc21
Migrate the config of tasks
yangchen73 f4dbddf
Migrate execute script
yangchen73 8286998
Migrate base_agent_env
yangchen73 9af2785
Migrate prompt template
yangchen73 60c168c
Migrate the core code of agent
yangchen73 ee5a568
Migrate prompt file
yangchen73 b1212af
Update pyproject and gitignore
yangchen73 52a2b45
Migrate generate video script
yangchen73 0b65baa
Migrate data engine
yangchen73 8bfeb7f
Fix: can not process 'func'
yangchen73 8dba0da
Migrate indices and mapping
yangchen73 4195d30
Migrate environments: pour water and rearrangement
yangchen73 96bb2b9
Migrate API interfaces
yangchen73 74eee5e
Migrate object
yangchen73 3421022
Migrate object
yangchen73 fa8f0fe
Migrate necessory files in toolkits
yangchen73 302608a
Migrate motion generation part
yangchen73 5baed9b
migrate lab.sim.utility
yangchen73 8411a35
Migrate necessory files in toolkits
yangchen73 64642ca
Config LLM
yangchen73 c3898b6
Extend enum
yangchen73 2839548
Add direction of database
yangchen73 18cfc03
Update enum
yangchen73 2ede9a0
Migrate end effector
yangchen73 983fd9f
Migrate robot
yangchen73 974ee5f
Update direction of database
yangchen73 40957f1
Migrate robot interface
yangchen73 d4a3ae5
Migrate two get control information function in action_bank utils
yangchen73 c4eb89f
Migrate misc
yangchen73 189965d
Fix: change data configs to functor format
yangchen73 4a2d0a9
Fix: use get_wrapper_attr for wrapped env methods in run_agent.py
yangchen73 c2d0e00
Fix: missing task plan
yangchen73 7bbcda3
Fix: module-level drive() calls
yangchen73 d95188d
Fix: import direction of data_dict_extractor
yangchen73 a2392bf
Fix: to_dataset function of base_agent_env
yangchen73 038e35b
Fix: argument of mul_linear_expand should be 2
yangchen73 91ec67d
Migrate articulation entity
yangchen73 50ef839
Remove correction functions of agent
yangchen73 0fc7d8f
Add generated code and plan
yangchen73 f9bbc14
Remove the function of correction
yangchen73 11fc818
Add script of running feedback agent
yangchen73 4092d31
Keep components in sim the same
yangchen73 6ded707
Fix: use environment variable to add api key
yangchen73 a25bf61
Add Readme for EmbodiAgent
yangchen73 0d85e00
Remove generated prompt
yangchen73 7542965
Remove scripts with feedback
yangchen73 e0fac71
Reformat files
yangchen73 037c97b
Fix: docs build without API keys
yangchen73 ba889e3
Reformat files
yangchen73 6d3d371
Fix the typo of removed_component
yangchen73 7489aa5
Fix: wrong call of cad_standardlize_svd
yangchen73 668b6ce
Fix: sucessful condition in rearrangement tasks
yangchen73 1d0cd03
Add llm set up error message
yangchen73 f4e6c9c
Add llm set up error message
yangchen73 6384523
Remove data_engine
yangchen73 4d57ade
Remove generate_video.py
yangchen73 9275341
Fix: misspelling
yangchen73 03a68f9
Remove llm generated content
yangchen73 668c620
Simplify if not use video generation
yangchen73 e509507
Remove motion_generator
yangchen73 54c5af8
Use planner in sim
yangchen73 3850ddd
Remove unused robot and structs
yangchen73 6e94d65
Remove processor
yangchen73 8130d75
Remove global indices and mapping
yangchen73 b502411
Add license
yangchen73 381216d
update API interface
yangchen73 bc5cd49
Reformat files
yangchen73 a0506a9
Update embodichain/agents/hierarchy/validation_agent.py
yangchen73 3a54b6f
[WIP] Migrate EmbodiAgent to EmbodiChain (#86)
Copilot c443789
Rename pour_water_agent
yangchen73 65236ce
Move prompts
yangchen73 123878a
Remove useless objects
yangchen73 218f80d
Remove unused functions
yangchen73 64a3fed
Remove old prompts
yangchen73 26bd1b0
Remove old prompts
yangchen73 f5d7b82
Add path to load prompt
yangchen73 c2281a0
Remove unused imported func
yangchen73 b216e1a
Formate files
yangchen73 ad5f773
Remove llm generated content
yangchen73 5450d65
Add Documentation for EmbodiAgent
yangchen73 cd922b5
Fix: define self.action_length = len(action_list) for truncate detection
yangchen73 db6159f
Removed the rewrite main function
yangchen73 0c4e785
Reformate file
yangchen73 96d4e0e
Fix: package conflict
yangchen73 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| { "TaskAgent": { | ||
| "prompt_name": "one_stage_prompt" | ||
| }, | ||
| "CodeAgent": { | ||
| "prompt_name": "one_stage_prompt_according_to_task_plan" | ||
| }, | ||
| "Agent": { | ||
| "prompt_kwargs": { | ||
| "task_prompt": { | ||
| "type": "text", | ||
| "name": "task_prompt.txt" | ||
| }, | ||
| "basic_background": { | ||
| "type": "text", | ||
| "name": "basic_background.txt" | ||
| }, | ||
| "atom_actions": { | ||
| "type": "text", | ||
| "name": "atom_actions.txt" | ||
| }, | ||
| "code_prompt": { | ||
| "type": "text", | ||
| "name": "code_prompt.txt" | ||
| }, | ||
| "code_example": { | ||
| "type": "text", | ||
| "name": "code_example.txt" | ||
| } | ||
| } | ||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| { "TaskAgent": { | ||
| "prompt_name": "one_stage_prompt" | ||
| }, | ||
| "CodeAgent": { | ||
| "prompt_name": "one_stage_prompt_according_to_task_plan" | ||
| }, | ||
| "Agent": { | ||
| "prompt_kwargs": { | ||
| "task_prompt": { | ||
| "type": "text", | ||
| "name": "task_prompt_dual.txt" | ||
| }, | ||
| "basic_background": { | ||
| "type": "text", | ||
| "name": "basic_background.txt" | ||
| }, | ||
| "atom_actions": { | ||
| "type": "text", | ||
| "name": "atom_actions.txt" | ||
| }, | ||
| "code_prompt": { | ||
| "type": "text", | ||
| "name": "code_prompt.txt" | ||
| }, | ||
| "code_example": { | ||
| "type": "text", | ||
| "name": "code_example.txt" | ||
| } | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change the folder into
pour_water_agentThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it. I'v renamed this folder.