Website SDK - Customer data with Agent
Gleen chat sdk allows passing the custom data. This data will be passed to AI for early processing or giving more context about the users. There are cases when this data is too big and shouldn't be passed to AI e.g. if user data is behind an API. This can be done with custom agent that will accepts the token/api_call params from chat sdk.
To get started:
We need to create an API agent in Gleen helpdesk (Gleen team can help build api agent). These agents may require token specific to each user to fetch the information.This is how we can support via Gleen AI chat SDK. In this case tokens needs to be passed as a private variable. This token needs to pass from chat sdk init.
Sample code example showing how to pass the token
Last updated