MCPcopy Create free account
hub / github.com/OpenAnonymity/oa-chat / normalizeString

Function normalizeString

chat/services/memoryRetrievalAssessment.js:53–55  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

51}
52
53function normalizeString(value) {
54 return typeof value === 'string' ? value.trim().toLowerCase() : '';
55}
56
57function normalizeStringList(value) {
58 return Array.isArray(value)

Callers 2

isValidConfidenceFunction · 0.85
normalizeStringEnumFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected