Adding high level memory#157
Merged
Merged
Conversation
shuheng-liu
requested changes
Mar 31, 2026
Member
shuheng-liu
left a comment
There was a problem hiding this comment.
- We only need one way to get the OpenAI API keys – via the official env var – and
check_envshould always be implied. - Let's include previous memory and the goal language (high level task) in the user prompt.
- Let's include a one-shot example or n-shots examples in the system prompt. The one in section III(B) in Pi memory paper is a good start.
PS: This is not an action item right now, but in the future we want to do an end-to-end pipeline that takes in a LeRobot dataset with subtasks and outputs another LeRobot dataset (modification in place is also fine if it's light weight and non-destructive)
shuheng-liu
requested changes
Apr 2, 2026
Member
shuheng-liu
left a comment
There was a problem hiding this comment.
I'll take over this and add a cursor review
shuheng-liu
approved these changes
Apr 3, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What this does
Implements data generation pipeline for memory using o3 mini
How it was tested
python -m opentau.scripts.pi_mem_data_generator configs/examples/task_segments.json
outputs
tem['up_to_date_memory']
'The cup was picked up and placed in the tray.'
item['up_to_date_memory']
'The cup was picked up and placed in the tray. The attempt to pick up the bottle and place it in the tray failed.'
item['up_to_date_memory']
'The cup was picked up and placed in the tray. The bottle was picked up and placed in the tray.'
Changed the prompt appropriately to get concise and relevant memory updates
How to checkout & try? (for the reviewer)
Checklist
Note: Before submitting this PR, please read the contributor guideline.