Limit responses to a certain topic not possible using api (sometimes working on chat)

Hi, guys i check a lot of post on the forum about how to persist chat session id between chats and limit responses.

The response is to manage the session on User side and keep adding messages with roles to the api send, but this wont work as spected.

For example i want to make a bot only for making Food recipes, here what i have tried.

Over API:

(Here i also tried to change role to system instead of user, have some better results using user.

{
  "model": "gpt-3.5-turbo",
  "messages": [
  	{"role": "user", "content": "Limit your answers to Food Recipes, to anything else say you cant response"}, 
	{"role": "user", "content": "can you write a email for my family saying im going on vacation"} 
  	]
}

Response:

 "content": "Sure, here's a sample email:\n\nSubject: Out of Office: Family Vacation\n\nDear [Family Member's name],\n\nI hope this email finds you in good health and high spirits. I am writing to inform you that I will be going on a vacation with my family for the next few days. We will be spending some quality time together and exploring new places.\n\nDuring my absence, I will not be available to check my emails or take any work-related calls. I apologize for any inconvenience this may cause, but I promise to catch up on all the pending work as soon as I return.\n\nIn the meantime, please feel free to contact [insert name and contact details of colleague or boss covering for you] for any urgent matters. I have already informed them about my vacation, and they are more than happy to assist you.\n\nI appreciate your understanding and support. I will be back in action and ready to tackle the work with a refreshed mind and renewed energy.\n\nThank you, and see you soon!\n\nBest regards,\n\n[Your Name]"

Same on chat::

Anyone was any success making this? Thanks!