Cranial-XIX / llm-pddl

352 stars 32 forks source link

PDDL parser #11

Open avivt opened 9 months ago

avivt commented 9 months ago

In: domains/blocksworld/description_generator.py

There's an import:

from pddl_parser import pddl_file

Can you please specify how to obtain pddl_parser?

Cranial-XIX commented 9 months ago

Hi,

Thanks for reaching out. The pddl_parser should come with the fast downward installation. You can check our README on how to install it. In addition, the code of pddl_parser is located here in fast downward. After installation, if you want to use the specific module, you have to set the PYTHONPATH

export PYTHONPATH=$PYTHONPATH:path_to_downward/src/translate

Then you should be able to do

import pddl_parser

Hopefully that resolves your issue.

avivt commented 9 months ago

Thank you!

On Mon, Nov 13, 2023, 6:46 PM Bo Liu @.***> wrote:

Hi,

Thanks for reaching out. The pddl_parser should come with the fast downward https://github.com/aibasel/downward installation. You can check our README on how to install it. In addition, the code of pddl_parser is located here https://github.com/aibasel/downward/tree/main/src/translate/pddl_parser in fast downward.

Hopefully that resolves your issue.

— Reply to this email directly, view it on GitHub https://github.com/Cranial-XIX/llm-pddl/issues/11#issuecomment-1808547268, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADTZANLCESUPJL7EKCS4UXDYEJFHNAVCNFSM6AAAAAA7JHV2KCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBYGU2DOMRWHA . You are receiving this because you authored the thread.Message ID: @.***>