Skip to content

Commit f1242b5

Browse files
committed
(feat) first commit
1 parent 0e686c6 commit f1242b5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+7447
-1
lines changed

.gitignore

+171
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,171 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
build/
12+
develop-eggs/
13+
dist/
14+
downloads/
15+
eggs/
16+
.eggs/
17+
lib/
18+
lib64/
19+
parts/
20+
sdist/
21+
var/
22+
wheels/
23+
share/python-wheels/
24+
*.egg-info/
25+
.installed.cfg
26+
*.egg
27+
MANIFEST
28+
29+
# PyInstaller
30+
# Usually these files are written by a python script from a template
31+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
32+
*.manifest
33+
*.spec
34+
35+
# Installer logs
36+
pip-log.txt
37+
pip-delete-this-directory.txt
38+
39+
# Unit test / coverage reports
40+
htmlcov/
41+
.tox/
42+
.nox/
43+
.coverage
44+
.coverage.*
45+
.cache
46+
nosetests.xml
47+
coverage.xml
48+
*.cover
49+
*.py,cover
50+
.hypothesis/
51+
.pytest_cache/
52+
cover/
53+
54+
# Translations
55+
*.mo
56+
*.pot
57+
58+
# Django stuff:
59+
*.log
60+
local_settings.py
61+
db.sqlite3
62+
db.sqlite3-journal
63+
64+
# Flask stuff:
65+
instance/
66+
.webassets-cache
67+
68+
# Scrapy stuff:
69+
.scrapy
70+
71+
# Sphinx documentation
72+
docs/_build/
73+
74+
# PyBuilder
75+
.pybuilder/
76+
target/
77+
78+
# Jupyter Notebook
79+
.ipynb_checkpoints
80+
81+
# IPython
82+
profile_default/
83+
ipython_config.py
84+
85+
# pyenv
86+
# For a library or package, you might want to ignore these files since the code is
87+
# intended to run in multiple environments; otherwise, check them in:
88+
# .python-version
89+
90+
# pipenv
91+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
93+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
94+
# install all needed dependencies.
95+
#Pipfile.lock
96+
97+
# poetry
98+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
99+
# This is especially recommended for binary packages to ensure reproducibility, and is more
100+
# commonly ignored for libraries.
101+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
102+
#poetry.lock
103+
104+
# pdm
105+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
106+
#pdm.lock
107+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
108+
# in version control.
109+
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
110+
.pdm.toml
111+
.pdm-python
112+
.pdm-build/
113+
114+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
115+
__pypackages__/
116+
117+
# Celery stuff
118+
celerybeat-schedule
119+
celerybeat.pid
120+
121+
# SageMath parsed files
122+
*.sage.py
123+
124+
# Environments
125+
.env
126+
.venv
127+
env/
128+
venv/
129+
ENV/
130+
env.bak/
131+
venv.bak/
132+
133+
# Spyder project settings
134+
.spyderproject
135+
.spyproject
136+
137+
# Rope project settings
138+
.ropeproject
139+
140+
# mkdocs documentation
141+
/site
142+
143+
# mypy
144+
.mypy_cache/
145+
.dmypy.json
146+
dmypy.json
147+
148+
# Pyre type checker
149+
.pyre/
150+
151+
# pytype static type analyzer
152+
.pytype/
153+
154+
# Cython debug symbols
155+
cython_debug/
156+
157+
# PyCharm
158+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
159+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
160+
# and can be added to the global gitignore or merged into this file. For a more nuclear
161+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
162+
#.idea/
163+
164+
# Credentials
165+
/credentials
166+
167+
# Results
168+
/results
169+
170+
# Virtual environment
171+
/virtual_environment

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
# mdpi-reflection
2-
Code for the paper "Agentic Workflows for Improving LLM Reasoning in Robotic Object-Centered Planning" presented in MDPI Robotics Journal
2+
Code repository for the work "Enhancing LLMs with Agentic Workflows. Application to Robotic Task-Oriented Navigation"
3+
4+
# Installation
5+
Use the virtual environment located in ``

data/queries.yaml

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
queries:
2+
# descriptive
3+
# easy
4+
query_01: "I'm searching for a bike in the room"
5+
query_02: "Where is the bag?"
6+
query_03: "Is there a refrigerator?"
7+
query_04: "I'm searching the bed"
8+
query_05: "I need to go to the toilet"
9+
10+
# hard
11+
query_06: "I need the book that is on a table"
12+
query_07: "Is there a kitchen sink?"
13+
query_08: "A chair close to a table"
14+
query_09: "Is there a microwave that is close to an oven?"
15+
query_10: "A couch that is in front of the TV"
16+
17+
# affordance
18+
# easy
19+
query_11: "What can I use to hold my coffee while I sit?"
20+
query_12: "I need to write notes during a meeting"
21+
query_13: "I need something to block sunlight from entering the room"
22+
query_14: "Where can I leave the dirty dishes?"
23+
query_15: "Where can I sit down and work on my laptop?"
24+
25+
# hard
26+
query_16: "Where can I sit and observe the entire view of the room without obstruction?"
27+
query_17: "What could display the current weather forecast?"
28+
query_18: "I want to drop a delicate object, away from foot traffic"
29+
query_19: "I want to perform my oral hygiene routine"
30+
query_20: "I would like to go out for some exercise"
31+
32+
# negation
33+
# easy
34+
query_21: "Is there anything to sit on, other than a chair?"
35+
query_22: "I need something hard, other than a bag"
36+
query_23: "Tell me something durable other than a bed"
37+
query_24: "Tell me something I can open that is not a refrigerator"
38+
query_25: "Is there something immovable, other than a refrigerator?"
39+
40+
# hard
41+
query_26: "Something that changes over time and is not a clock."
42+
query_27: "Is there something foldable, other than a laptop?"
43+
query_28: "Something I can put things in, other than a backpack."
44+
query_29: "Something that is not at room temperature"
45+
query_30: "Something where I can pour liquids, that doesn't close?"

data/responses/room1_jesus.json

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"responses": {
3+
"query_01": [
4+
"obj1",
5+
"obj2",
6+
"obj3"
7+
],
8+
"query_02": [
9+
"obj1"
10+
],
11+
"query_03": [
12+
"obj14",
13+
"obj45"
14+
],
15+
"query_04": [],
16+
"query_05": [],
17+
"query_06": [],
18+
"query_07": [],
19+
"query_08": [],
20+
"query_09": [],
21+
"query_10": [],
22+
"query_11": [],
23+
"query_12": [],
24+
"query_13": [],
25+
"query_14": [],
26+
"query_15": [],
27+
"query_16": [],
28+
"query_17": [],
29+
"query_18": [],
30+
"query_19": [],
31+
"query_20": [],
32+
"query_21": [],
33+
"query_22": [],
34+
"query_23": [],
35+
"query_24": [],
36+
"query_25": [],
37+
"query_26": [],
38+
"query_27": [],
39+
"query_28": [],
40+
"query_29": [],
41+
"query_30": []
42+
}
43+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
{
2+
"responses": {
3+
"query_01": [
4+
"obj67"
5+
],
6+
"query_02": [
7+
"obj71",
8+
"obj47"
9+
],
10+
"query_03": [
11+
"obj62",
12+
"obj57"
13+
],
14+
"query_04": [
15+
"obj18",
16+
"obj114"
17+
],
18+
"query_05": [
19+
"obj57",
20+
"obj117"
21+
],
22+
"query_06": [
23+
"obj102",
24+
"obj105"
25+
],
26+
"query_07": [
27+
"obj55"
28+
],
29+
"query_08": [
30+
"obj64"
31+
],
32+
"query_09": [
33+
"obj131"
34+
],
35+
"query_10": [],
36+
"query_11": [
37+
"obj138"
38+
],
39+
"query_12": [
40+
"obj138"
41+
],
42+
"query_13": [],
43+
"query_14": [
44+
"obj55"
45+
],
46+
"query_15": [
47+
"obj64",
48+
"obj138"
49+
],
50+
"query_16": [
51+
"obj142"
52+
],
53+
"query_17": [
54+
"obj16",
55+
"obj10"
56+
],
57+
"query_18": [
58+
"obj138"
59+
],
60+
"query_19": [
61+
"obj49",
62+
"obj55"
63+
],
64+
"query_20": [
65+
"obj67"
66+
],
67+
"query_21": [
68+
"obj67",
69+
"obj18"
70+
],
71+
"query_22": [
72+
"obj138",
73+
"obj1"
74+
],
75+
"query_23": [
76+
"obj138",
77+
"obj67",
78+
"obj62"
79+
],
80+
"query_24": [
81+
"obj131",
82+
"obj102"
83+
],
84+
"query_25": [
85+
"obj57",
86+
"obj55"
87+
],
88+
"query_26": [],
89+
"query_27": [
90+
"obj71"
91+
],
92+
"query_28": [
93+
"obj131"
94+
],
95+
"query_29": [
96+
"obj62"
97+
],
98+
"query_30": [
99+
"obj55",
100+
"obj127"
101+
]
102+
}
103+
}

0 commit comments

Comments
 (0)