Methods:
initOrg
initOrg
initOrg
: Initializes the organization for connection.Usage:initOrg
Initializes the organization for connection.
initUser
initUser
initUser
: Initializes the user for connection. This should be called upon user login.Usage:initUser
Initializes the user for connection. This should be called upon user login.
connect
connect
connect
: Connects the user to OverhypedAI. This is used only when autoConnect
option in initOrg
is set to false
.Usage:connect
Connects the user to OverhypedAI. This is used only when
autoConnect
option in initOrg
is set to false
.updateOptions
updateOptions
updateOptions
: Updates the initial options provided in initUser
or connect
(If autoConnect: false
is provided in initOrg
).Usage:updateOptions
Updates the initial options provided in
initUser
or connect
(If autoConnect: false
is provided in initOrg
).disconnect
disconnect
disconnect
: Disconnects the user from OverhypedAI. Can be used to hide the widget upon logout.Usage:disconnect
Disconnects the user from OverhypedAI. Can be used to hide the widget upon logout.