Ms Jinks worked with the team to feed information to the AI tool so it could answer questions asked on a daily basis in her usual chatty and direct manner.

“It was so exciting to develop this chatbot,” she said.

“Staff can now ask me questions whenever they want and receive a reply straightaway.

“It’s lovely that they’ve kept my name and some staff have told me that they actually thought they were chatting with me – I guess that’s because I’ve written all the answers!”

The council said Hey Geraldine could respond to “contextual and practice-based questions” such as, “I am working with a person who is forgetting to turn the oven off. What is available to help them?”

It would then provide a range of answers and possible solutions and links to resources.

It is hoped the technology will make it easier and quicker to discharge people from hospital.