RESPONSES = { 'welcome': { 'en': """Welcome to the Decision Making Helper Bot! 馃 I can help you make decisions in English or Hebrew. Just ask me a question or use /start followed by your question. For example: /start Should I go to the beach today?""", 'he': """讘专讜讻讬诐 讛讘讗讬诐 诇讘讜讟 砖注讜讝专 诇拽讘诇 讛讛讞诇讟讜转! 馃 讗谞讬 讬讻讜诇 诇注讝讜专 诇拽讘诇 讛讞诇讟讜转 讘注讘专讬转 讗讜 讘讗谞讙诇讬转. 驻砖讜讟 砖讗诇讜 讗讜转讬 砖讗诇讛 讗讜 讛砖转诪砖讜 讘- /start 讜讗讞专讬讜 讛砖讗诇讛. 诇讚讜讙诪讛: /start 讛讗诐 讻讚讗讬 诇讬 诇诇讻转 讛讬讜诐 诇讬诐?""" }, 'help': { 'en': """Here's how to use the Decision Making Helper Bot: 1. Ask a question directly 2. Use /start followed by your question 3. Wait for my response I'll analyze your question and help you make a decision!""", 'he': """讛谞讛 讻讬爪讚 诇讛砖转诪砖 讘讘讜讟 砖注讜讝专 诇拽讘诇 讛讞诇讟讜转: 1. 砖讗诇讜 砖讗诇讛 2. 讛砖转诪砖讜 讘- /start 讜讗讞专讬讜 砖讗诇讜 讗转 讛砖讗诇讛 3. 讛诪转讬谞讜 诇转砖讜讘讛 砖诇讬 讗谞讬 讗谞转讞 讗转 讛砖讗诇讛 讜讗注讝讜专 诇拽讘诇 讛讞诇讟讛!""" }, 'decide_help': { 'en': "Please provide a question after the /start command!", 'he': "讗谞讗 讛讜住讬驻讜 砖讗诇讛 讗讞专讬 讛驻拽讜讚讛 /start!" }, 'decision': { 'en': "Regarding: {question}\nMy decision is: {decision}", 'he': "诇讙讘讬 讛砖讗诇讛: {question}\n讛讛讞诇讟讛 砖诇讬 讛讬讗: {decision}" }, 'no_question': { 'en': "Please ask me a question to help you decide!", 'he': "讗谞讗 砖讗诇讜 讗讜转讬 砖讗诇讛 讻讚讬 砖讗讜讻诇 诇注讝讜专 诇讻诐 诇讛讞诇讬讟!" }, 'error': { 'en': "Sorry, an error occurred. Please try again later.", 'he': "诪爪讟注专, 讗讬专注讛 砖讙讬讗讛. 讗谞讗 谞住讜 砖讜讘 诪讗讜讞专 讬讜转专." } } def get_response(key: str, language: str) -> str: """ Get the response string for a given key and language. """ return RESPONSES.get(key, {}).get(language, RESPONSES[key]['en'])