nicholas-gcc / querybot-for-auth0

Auth0 queries with natural human language
0 stars 0 forks source link

Tech debt: Detected params will always be part of payload #24

Open nicholas-gcc opened 1 week ago

nicholas-gcc commented 1 week ago

Response to the user consists of fulfilment_text (from Dialogflow) + payload (from Auth0). The payload will either have multiline code applied or come as a file upload.

Payload is determined by intent handlers, but intent handlers are also responsible for processing some params. What if we wanted to process these params with a different formatting (e.g. single backtick for inline code) separate from the payload?