Skip to content

Taxonomy Path used in prompt should be relative to taxonomy base directory #797

@bbrowning

Description

@bbrowning

The taxonomy path passed into the prompt should not be the absolute path on the machine to the taxonomy folder and instead only the relative parts of the path from inside the taxonomy folder. As a concrete example, here's the kind of prompt we're sending in today:

You are asked to come up with a set of 5 diverse task instructions under home->bbrowning->src->taxonomy->compositional_skills->writing->freeform->jokes->puns->general for the task "to teach a large language model to come up with puns".

We don't want to encode knowledge about the user's home directory that ran ilab generate into the model. Instead, we should only send a path like this in the prompt: compositional_skills->writing->freeform->jokes->puns->general.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions