MCPcopy
hub / github.com/mudler/LocalAI / PIIEvents

Method PIIEvents

core/application/application.go:259–261  ·  view source on GitHub ↗

PIIEvents returns the PII event store. Same nil-when-disabled semantics as PIIRedactor; admin REST and MCP read tools call List against it.

()

Source from the content-addressed store, hash-verified

257// semantics as PIIRedactor; admin REST and MCP read tools call List
258// against it.
259func (a *Application) PIIEvents() pii.EventStore {
260 return a.piiEvents
261}
262
263// PIINERResolver returns the resolver the chat PII middleware uses to
264// turn a configured detector model name into a ready-to-use NERConfig:

Callers 8

RegisterOllamaRoutesFunction · 0.80
buildPIIStatusFunction · 0.80
RegisterAnthropicRoutesFunction · 0.80
RegisterPIIRoutesFunction · 0.80
RegisterOpenAIRoutesFunction · 0.80
PIIAnalyzeEndpointFunction · 0.80
PIIRedactEndpointFunction · 0.80
pii_test.goFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected