-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e8d9566
commit 7945e9b
Showing
6 changed files
with
65 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
package config | ||
|
||
import ( | ||
"time" | ||
|
||
"github.com/hearchco/agent/src/search/engines" | ||
) | ||
|
||
var suggestionsEngines = []engines.Name{ | ||
engines.DUCKDUCKGO, | ||
engines.GOOGLE, | ||
} | ||
|
||
var suggestionsRequiredEngines = []engines.Name{ | ||
engines.DUCKDUCKGO, | ||
engines.GOOGLE, | ||
} | ||
|
||
var suggestionsRequiredByOriginEngines = []engines.Name{} | ||
|
||
var suggestionsPreferredEngines = []engines.Name{} | ||
|
||
var suggestionsPreferredByOriginEngines = []engines.Name{} | ||
|
||
func suggestionsRanking() CategoryRanking { | ||
return EmptyRanking(suggestionsEngines) | ||
} | ||
|
||
var suggestionsTimings = CategoryTimings{ | ||
PreferredTimeout: 300 * time.Millisecond, | ||
HardTimeout: 500 * time.Millisecond, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters