Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BishopFox/raink
/ functions
Functions
15 in github.com/BishopFox/raink
⨍
Functions
15
◇
Types & classes
7
↓ 11 callers
Method
logFromApiCall
TODO: Also log the request/retry attempt number.
main.go:376
↓ 2 callers
Method
estimateTokens
(group []Object)
main.go:524
↓ 2 callers
Function
validateIDs
Updates the rankedResponse in place to fix case-insensitive ID mismatches. If any IDs are missing, returns the missing IDs along with an error. TODO:
main.go:618
↓ 1 callers
Function
NewRanker
(config *Config)
main.go:81
↓ 1 callers
Method
Rank
TODO: The final exposure value should be the sum of all exposures from all refinement rounds (not just the last one). This isn't crucial since exposur
main.go:306
↓ 1 callers
Function
ShortDeterministicID
(input string, length int)
main.go:134
↓ 1 callers
Method
Validate
TODO: Move all CLI flag validation this func instead.
main.go:54
↓ 1 callers
Method
callOllama
(prompt string, runNum int, batchNum int, inputIDs map[string]bool)
main.go:766
↓ 1 callers
Method
callOpenAI
(prompt string, runNum int, batchNum int, inputIDs map[string]bool)
main.go:653
↓ 1 callers
Method
logTokenSizes
(group []Object)
main.go:485
↓ 1 callers
Method
rankObjects
(group []Object, runNumber int, batchNumber int)
main.go:539
↓ 1 callers
Method
shuffleBatchRank
(objects []Object)
main.go:381
Function
GenerateSchema
()
main.go:122
Method
RoundTrip
(req *http.Request)
main.go:593
Function
main
TODO: Move all of this CLI-related code to a separate package.
main.go:149