Improve agentic prompt to include User profile information
Goal
Enable agentic platform to respond to requests that require it to be aware of the users name and other information about the user.
§ Legal / privacy requirment
- Do not send user name and other PII to the LLM with every conversation.
- Only send such data when it is required to carry out the user's request.
Proposal
Introduce a tool that can provide contextual information about the user concerning to agentic chat. Namely:
- Username
- Job type (Eng, PM, UX, etc.) / Job level
- Preferred Language
After this is available to the LLM, responses should consider this contextual information when answering questions, either directly or indirectly.
Examples:
- Should answer questions about "my issues" knowing who the user is. Or about "my comments on issue X".
- If asked to explain a concept, the job type should be taken into account for the wording of the explanation and relevance to their work type and/or level (junior vs senior)
- Knowing the preferred language should keep agentic chat from defaulting to english when providing responses.
Edited by Torsten Linz