Declares a user's preferences regarding AI usage of their public data. A record at key 'self' with globalScope establishes default preferences. Additional records keyed by TID establish scoped overrides for specific entities or content collections.
A set of AI usage preferences. Omitted fields mean undefined (no declared preference).
Object schema community.lexicon.preference.ai##preferenceSet.
Fields
embedding: ref#preferenceinference: ref#preferencesynthetic_content: ref#preferencetraining: ref#preference
Summary
Functions
Decode a wire-format map. Delegates to new/1.
Build and validate from a map of attrs (atom or wire string keys).
Build and validate, raising ArgumentError on error.
Encode to the wire-format map.
The lexicon type ID (nsid or nsid#def) this module was generated from.
Types
@type t() :: %Exosphere.Community.Preference.Ai.PreferenceSet{ embedding: Exosphere.Community.Preference.Ai.Preference.t() | nil, extra: term(), inference: Exosphere.Community.Preference.Ai.Preference.t() | nil, synthetic_content: Exosphere.Community.Preference.Ai.Preference.t() | nil, training: Exosphere.Community.Preference.Ai.Preference.t() | nil }
Functions
Decode a wire-format map. Delegates to new/1.
Build and validate from a map of attrs (atom or wire string keys).
Unknown keys are kept in extra and re-emitted by to_map/1.
Build and validate, raising ArgumentError on error.
Encode to the wire-format map.
@spec type_id() :: String.t()
The lexicon type ID (nsid or nsid#def) this module was generated from.