MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / CountMapByModel

Method CountMapByModel

service/ai-api/iml.go:47–49  ·  view source on GitHub ↗
(ctx context.Context, keyword string, conditions map[string]interface{})

Source from the content-addressed store, hash-verified

45}
46
47func (i *imlAPIService) CountMapByModel(ctx context.Context, keyword string, conditions map[string]interface{}) (map[string]int64, error) {
48 return i.store.CountByGroup(ctx, keyword, conditions, "model")
49}
50
51func (i *imlAPIService) CountMapByProvider(ctx context.Context, keyword string, conditions map[string]interface{}) (map[string]int64, error) {
52 return i.store.CountByGroup(ctx, keyword, conditions, "provider")

Callers

nothing calls this directly

Calls 1

CountByGroupMethod · 0.45

Tested by

no test coverage detected