Skip to content

Commit

Permalink
fix, inversed param
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinZonda committed Jan 6, 2024
1 parent a91249e commit 5ec8ad0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/exec/svr/handler/continuousAsk.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func ContinuousAsk(c *gin.Context) {
c.String(200, "%s\r\n", meta.Json())
ans.Evidence = utils.Json(meta.Evidences)

content := llm.Promptc(query.Language, query.Question, query.Field, query.ProgLang, searched)
content := llm.Promptc(query.Language, query.Field, query.Question, query.ProgLang, searched)

req := openai.ChatCompletionRequest{
Temperature: 0.15,
Expand Down
2 changes: 1 addition & 1 deletion backend/exec/svr/handler/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func Search(c *gin.Context) {
c.String(200, "%s\r\n", meta.Json())
ans.Evidence = utils.Json(meta.Evidences)

content := llm.Promptc(query.Language, query.Question, query.Field, query.ProgLang, searched)
content := llm.Promptc(query.Language, query.Field, query.Question, query.ProgLang, searched)

req := openai.ChatCompletionRequest{
Temperature: 0.15,
Expand Down

0 comments on commit 5ec8ad0

Please sign in to comment.