Skip to content

Comparing two prompts using textgrad #201

@GayaaniD

Description

@GayaaniD

I have generated prompt for a specific scenario, and i already have original prompt so i need to compare the original prompt with the generated prompt to see how deviated the generated one from original one to make sure whether the generated prompt is considerable one or not. So is there any better way to do this?
I found this : [MultiFieldTokenParsedEvaluation](...[, ...]) : A module to compare two variables using a language model.
Is it suitable for my case, but how to do this , in the doc no examples regarding this:

Image

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