Skip to content

[Need Information] Is there a way to recover the prompt generated by DSPy? #8952

@ralsofias

Description

@ralsofias

I need to get the prompt generated by an optimized or not DSPy module as str in order to upload it to Opik and assign it to an evaluation (experiment) in order to compare to previous or future evaluations to check if performance increases. I was wondering if there could be a way to recover the final optimized prompt template before inserting inputs or inserting a controlled input.

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