-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Question
Iis it possible to edit the response from the LLM before it is presented to user? For example, I obfuscate some of the details of an API response to ensure confidential data is not sent to the LLM (e.g. masking some username or otherwise) with a placeholder, but then would like to unmask this placeholder where it occurs in the LLM response as it is presented to the user.
Is there some decorator I can use to apply tools to the LLM output response? Or another solution?
Additional Context
No response
YsK-dev
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested