MCPcopy Create free account
hub / github.com/OverloadBlitz/cloudcent-cli / SuggestionItem

Struct SuggestionItem

internal/semantic/semantic.go:62–68  ·  view source on GitHub ↗

SuggestionItem is a single entry in a suggestion list.

Source from the content-addressed store, hash-verified

60
61// SuggestionItem is a single entry in a suggestion list.
62type SuggestionItem struct {
63 Value string
64 Display string
65 Reason string
66 IsSemantic bool
67 AlreadySelected bool
68}
69
70func inferCategoryFromAttrs(productID string, attributeValues map[string]map[string][]string) string {
71 attrs, ok := attributeValues[productID]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected