Gen ai nnode very slow

we are trying to use Gen Ai Node but its response is very slow as it is taking 10-15 seconds for each response.

do you have any suggestions to make this node process faster.

also we are resetting the entities using script node (delete entity) but this seems to be not working with the gen ai node entities
please suggest how to reset those