Skip to content

Commit

Permalink
feat: remove prompt for markdown title
Browse files Browse the repository at this point in the history
  • Loading branch information
ivynya committed Dec 27, 2023
1 parent 23aa2cf commit e03cd05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/summarize.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func summarize(c *websocket.Conn, req *internal.Request) (bool, error) {
return false, err
}

req.Generate.Prompt = "Summarize the following video. Title the summary with the exact video title as a small markdown header. The video information is as follows: " + video.Title + "\n\n" + transcript.String() + "\n\nSummary:"
req.Generate.Prompt = "Summarize the following video: " + video.Title + "\n\n" + transcript.String() + "\n\nSummary:"
req.Generate.Context = []int{}

complete, err := generate(c, req)
Expand Down

0 comments on commit e03cd05

Please sign in to comment.