Currently fonnte has AI feature to integrate AI with fonnte. but this AI are intended to do basic response. like we just have the AI to response. we got some users report that our AI is answering using wrong data or even hallucination. that's why now we will integrate with aksita ai for more focused AI service.
Precondition
to use aksita integration, you need to :
- create account first on aksita ai
- create agent
- make resources
- generate api key
you can get the tutorial for it in the aksita tutorial page.
only after you have the api key, you can continue to integrate to aksita AI
Flow

We will use flow to integrate aksita with fonnte by creating aksita nodes below :
First we create session for each conversation.
then we store the variable using store node.
after that, we need to immediately respond via aksita chat node.
for maintaining history chat, we will need to make a loop for it by adding more response->chat node->response
then connect it back to first chat node.
Filling data
Now we have api key from aksita.
first we copy it and paste on session node and both chat node.

then we go to store node and make variable for session data.

last thing is we set session id with sessios variable.

do the same for the rest of aksita chat node.
that's it.
Double Check
when done, you need to check on device->edit that we need
- autoread -> on : to read the incoming message
- source -> flow : to use flow as source of autoreply
