Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

optimize evaluator's output format with langchaingo PromptTemplate/PromptChain #346

Open
Tracked by #344
bjwswang opened this issue Sep 15, 2023 · 0 comments
Open
Tracked by #344
Assignees
Labels
difficulty-hard The amount of changes and the details involved in the changes require a deep understanding of the pr priority-medium
Milestone

Comments

@bjwswang
Copy link
Collaborator

bjwswang commented Sep 15, 2023

We need the output more structured/readable like

type Output struct {
    Score int
    Problems []string
   Suggestions []string
}

We can use langchain's output parser https://github.com/tmc/langchaingo/tree/main/outputparser

@bjwswang bjwswang added priority-medium difficulty-hard The amount of changes and the details involved in the changes require a deep understanding of the pr labels Sep 15, 2023
@bjwswang bjwswang added this to the v0.3.0 milestone Oct 31, 2023
@bjwswang bjwswang modified the milestones: v0.3.0, v0.2.0 Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty-hard The amount of changes and the details involved in the changes require a deep understanding of the pr priority-medium
Projects
None yet
Development

No branches or pull requests

2 participants