Skip to content

Commit

Permalink
Reset maxDocChars because it increases latency negatively.
Browse files Browse the repository at this point in the history
  • Loading branch information
jlewi committed Oct 16, 2024
1 parent 01eb1e5 commit bc2421e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/pkg/agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ const (
// We use the heuristic 1 token ~ 2 characters
// For details of how we came up with this see
// (https://platform.openai.com/docs/models/gpt-3-5-turbo)
// We bumped this up because we are using gpt4o-mini and want to include outputs of previous cells which can be quite
// long
MaxDocChars = 11100
MaxDocChars = 1110
temperature = 0.9
)

Expand Down

0 comments on commit bc2421e

Please sign in to comment.