Skip to content

Commit

Permalink
fix: qa pipeline missing initialization in WithPrompt (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
henomis authored Nov 8, 2023
1 parent c1a816a commit bbad7ea
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pipeline/qa/qa.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,10 @@ func (q *QAPipeline) WithPrompt(chat *chat.Chat) *QAPipeline {
tube := pipeline.NewTube(llm)

return &QAPipeline{
pipeline: pipeline.New(tube),
llmEngine: q.llmEngine,
pipeline: pipeline.New(tube),
index: q.index,
mode: q.mode,
}
}

Expand Down

0 comments on commit bbad7ea

Please sign in to comment.