Skip to content

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

@bjwswang

Description

@bjwswang

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

Metadata

Metadata

Assignees

Labels

difficulty-hardThe amount of changes and the details involved in the changes require a deep understanding of the prpriority-medium

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions