MCPcopy
hub / github.com/promptfoo/promptfoo / ApiFunc

FuncType ApiFunc

src/golang/wrapper.go:11–11  ·  view source on GitHub ↗

Function type definitions for the API functions

func(string, map[string]interface{}, map[string]interface{}) (map[string]interface{}, error)

Source from the content-addressed store, hash-verified

9
10// Function type definitions for the API functions
11type ApiFunc func(string, map[string]interface{}, map[string]interface{}) (map[string]interface{}, error)
12
13func main() {
14 if len(os.Args) != 4 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…