MCPcopy Create free account
hub / github.com/encoder-run/operator / ModelServiceURL

Function ModelServiceURL

pkg/common/common.go:10–12  ·  view source on GitHub ↗
(modelId string, namespace string)

Source from the content-addressed store, hash-verified

8)
9
10func ModelServiceURL(modelId string, namespace string) string {
11 return fmt.Sprintf("http://%s-predictor-default.%s.svc.cluster.local:80/v1/models/custom-model:predict", modelId, namespace)
12}
13
14func RedisServiceURL(redisId string, namespace string) string {
15 return fmt.Sprintf("%s.%s.svc.cluster.local:6379", redisId, namespace)

Callers 1

NewClientFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected