Skip to content

Feature request: Handcraft and freeze parts of a prompt, optimize other parts #905

@AriMKatz

Description

@AriMKatz

I don't believe this is possible. but unsure with the new backend refactor.

I'd like to be able to handcraft and "freeze" a prompt template and have DSPY fill in few shot examples, template variables and arbitrary things like that. These sections can have some initial value or just be blank.

Maybe this goes against the philosophy of Dspy and is a won't fix? I got some upvotes in discord when I posted this

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