Skip to content

Error occurs for parsing gpt4's response #50

Open
@Genie-Kim

Description

@Genie-Kim

Thanks for sharing your great work.

However, when I run RPG.py, I get an error like below.

NameError: name 'final_split_ratio' is not defined

I've tried changing the regex in mllm.py's get_params_dict function, but gpt4's response is giving me a response that doesn't match it, so I frequently get parsing errors.
like this :

### Final Output

**Overall split ratio:**
1;1;1

This is also the case with the regional prompt.

If anyone has solved this, please help😭

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions