Skip to content

Commit e6c79cb

Browse files
eric-hsiungcobot
authored andcommitted
Temporarily remove is_in_room from the DSL for demo until we have grounding dino or other object detector working
1 parent 10cd4e8 commit e6c79cb

File tree

4 files changed

+0
-20
lines changed

4 files changed

+0
-20
lines changed

code_generation/openai_chat_completion_prefix.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
Robot task programs may use the following functions:
88
get_current_location()
99
get_all_rooms()
10-
is_in_room()
1110
go_to(location)
1211
ask(person, question, options)
1312
say(message)
@@ -24,10 +23,6 @@ def get_current_location() -> str:
2423
def get_all_rooms() -> list[str]:
2524
...
2625
27-
# Check if an object is in the current room.
28-
def is_in_room(object : str) -> bool:
29-
...
30-
3126
# Go to a specific named location, e.g. go_to("kitchen"), go_to("Arjun's office"), go_to("Jill's study").
3227
def go_to(location : str) -> None:
3328
...

code_generation/openai_chat_completion_prefix_minimal.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
Robot task programs may use the following functions:
88
get_current_location()
99
get_all_rooms()
10-
is_in_room()
1110
go_to(location)
1211
ask(person, question, options)
1312
say(message)
@@ -24,10 +23,6 @@ def get_current_location() -> str:
2423
def get_all_rooms() -> list[str]:
2524
...
2625
27-
# Check if an object is in the current room.
28-
def is_in_room(object : str) -> bool:
29-
...
30-
3126
# Go to a specific named location, e.g. go_to("kitchen"), go_to("Arjun's office"), go_to("Jill's study").
3227
def go_to(location : str) -> None:
3328
...

code_generation/prompt_prefix.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
Robot task programs may use the following functions:
44
get_current_location()
55
get_all_rooms()
6-
is_in_room()
76
go_to(location)
87
ask(person, question, options)
98
say(message)
@@ -21,10 +20,6 @@ def get_current_location() -> str:
2120
def get_all_rooms() -> list[str]:
2221
...
2322

24-
# Check if an object is in the current room.
25-
def is_in_room(object : str) -> bool:
26-
...
27-
2823
# Go to a specific named location, e.g. go_to("kitchen"), go_to("Arjun's office"), go_to("Jill's study").
2924
def go_to(location : str) -> None:
3025
...

code_generation/prompt_prefix_minimal.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
Robot task programs may use the following functions:
44
get_current_location()
55
get_all_rooms()
6-
is_in_room()
76
go_to(location)
87
ask(person, question, options)
98
say(message)
@@ -21,10 +20,6 @@ def get_current_location() -> str:
2120
def get_all_rooms() -> list[str]:
2221
...
2322

24-
# Check if an object is in the current room.
25-
def is_in_room(object : str) -> bool:
26-
...
27-
2823
# Go to a specific named location, e.g. go_to("kitchen"), go_to("Arjun's office"), go_to("Jill's study").
2924
def go_to(location : str) -> None:
3025
...

0 commit comments

Comments
 (0)