Effect CommunityEC
Effect Community5mo ago
2 replies
harrysolovay

Attaching Metadata to User Messages in LLMs

Is there a recommended approach to relating a given message to a given entity? Ie., if I have a list of AiInput.UserMessages, and each corresponds to a given user, how would I best attach that metadata for the LLM? Would I need to prepend a text part <user-id> and then append a closing </user-id>? Any other approaches that might make more sense?
Was this page helpful?