// Enqueue the JavaScript file for Brazilian Portuguese Tarot Reading function tarot_reading_portugeseb_enqueue_scripts() { if (is_front_page() && strpos($_SERVER['REQUEST_URI'], '/pt-br/') !== false) { // Check if it's the homepage and has /pt-br wp_enqueue_script('tarot-reading-portugeseb-js', get_template_directory_uri() . '/assets/js/tarot-reading-portugeseb.js', array('jquery'), '1.0.1', true); wp_localize_script('tarot-reading-portugeseb-js', 'ajax_object_portugeseb', array('ajax_url' => admin_url('admin-ajax.php', 'https'))); } } add_action('wp_enqueue_scripts', 'tarot_reading_portugeseb_enqueue_scripts'); // Function to classify cards as Major or Minor Arcana in Brazilian Portuguese function classify_tarot_cards_portugeseb($cards) { // List of all Major Arcana cards in Brazilian Portuguese $major_arcana = array( "O Louco", "O Mago", "A Sacerdotisa", "A Imperatriz", "O Imperador", "O Hierofante", "Os Enamorados", "O Carro", "A Força", "O Eremita", "A Roda da Fortuna", "A Justiça", "O Enforcado", "A Morte", "A Temperança", "O Diabo", "A Torre", "A Estrela", "A Lua", "O Sol", "O Julgamento", "O Mundo" ); $classified_cards = array(); foreach ($cards as $card) { if (in_array($card, $major_arcana)) { // Use Brazilian Portuguese terminology: "Arcanos Maiores" $classified_cards[] = "$card - Arcanos Maiores"; } else { // Use Brazilian Portuguese terminology: "Arcanos Menores" $classified_cards[] = "$card - Arcanos Menores"; } } return $classified_cards; } // AJAX handler for fetching Brazilian Portuguese tarot reading function get_tarot_reading_portugeseb() { if (empty($_POST['card_names'])) { wp_send_json_error('Parâmetros ausentes'); exit; } $user_question = sanitize_text_field($_POST['user_question']); $card_names = json_decode(stripslashes($_POST['card_names']), true); // Classify cards as Major or Minor Arcana in Brazilian Portuguese $classified_cards = classify_tarot_cards_portugeseb($card_names); // Prepare the prompt $prompt = "As cartas de tarô selecionadas são: " . implode(", ", $classified_cards) . "."; if (!empty($user_question)) { $prompt .= " O usuário perguntou: " . $user_question . ". Faça uma leitura de tarô focada na resposta para essa pergunta."; } else { $prompt .= " Faça uma leitura de tarô interpretando as cartas selecionadas."; } // Make request to ChatGPT API $response = wp_remote_post('https://api.openai.com/v1/chat/completions', array( 'method' => 'POST', 'timeout' => 60, 'headers' => array( 'Authorization' => 'Bearer ' . CHATGPT_API_KEY, 'Content-Type' => 'application/json', ), 'body' => json_encode(array( 'model' => 'gpt-4o-mini', 'messages' => array( array('role' => 'system', 'content' => 'Você é um leitor de tarô. Forneça uma leitura reflexiva e concisa do tarô, focando na interação entre as combinações de cartas. Se cartas dos Arcanos Maiores forem escolhidas, inicie a leitura com 1-2 frases destacando a quantidade de cartas dos Arcanos Maiores e Menores, sua raridade e significado. Use uma linguagem encorajadora e inspiradora, evite negrito e utilize emojis. A estrutura da resposta deve ser dividida em vários parágrafos, cada um com no máximo três frases. O último parágrafo deve resumir os pontos principais e oferecer sugestões práticas. Sempre responda em português brasileiro.'), array('role' => 'user', 'content' => $prompt) ), 'temperature' => 0.7, 'max_tokens' => 700, )), )); if (is_wp_error($response)) { wp_send_json_error('Erro na solicitação: ' . $response->get_error_message()); exit; } $body = json_decode(wp_remote_retrieve_body($response), true); if (isset($body['choices'][0]['message']['content'])) { $reading = trim($body['choices'][0]['message']['content']); wp_send_json_success(array('message' => $reading)); } else { $error_message = isset($body['error']['message']) ? $body['error']['message'] : 'Erro desconhecido'; wp_send_json_error('Erro na resposta da API: ' . $error_message); } } add_action('wp_ajax_get_tarot_reading_portugeseb', 'get_tarot_reading_portugeseb'); add_action('wp_ajax_nopriv_get_tarot_reading_portugeseb', 'get_tarot_reading_portugeseb'); Free Tarot Card Reading│Expertly trained AI Tarologist│3 Clicks away
t
t
t
t

Meet Sam, who brings a no-nonsense, tough love approach. He is a straightforward and confident interpreter, cutting through ambiguity to deliver direct insights.

Feel free to leave it blank if you’re just exploring

t
t
t
t
t

Pick Your Tarot Deck

Sit still for a moment and connect to your intuition. Which deck are you drawn to? Click to pick and let your tarot card reading begin.

t

You’ve Drawn These Cards - They Hold The Answers You Seek

These three cards have come to you with purpose, reflecting your current intuitive energy and offering insight meant for this moment. Click 'Interpret My Cards' to uncover your personalized reading.

Get Your Free, Personalized AI Tarot Reading Now.

t

Your reading is being prepared

Your Reading is Ready...

And will be ready in just a few seconds.

The expertly trained AI tarologist is now personalizing your tarot card reading to interpret your spread, offering fresh insights based on your question and the cards’ symbolism.

Seeking More Guidance?

Get a Free Weekly Reading Delivered To Your Inbox Or Start a New Reading Now.

t
t
t
t
t

How Does a Tarot Reading with Sam Work?

Ask a Question

Think about the challenge or decision you’re facing. Sam’s straightforward and confident approach ensures you’ll receive direct and actionable guidance tailored to your needs.

Choose a Deck

Let your intuition guide you as you pick a deck. Sam’s ability to cut through ambiguity ensures that the cards drawn reflect the clarity and focus of your intent.

Get Your Reading

Sit back as three cards are drawn. Sam’s tough love approach combines practicality with compassion, delivering insights designed to empower and move you forward with confidence.

Enjoy More Readings

With Sam, every reading is a step toward making bold decisions and gaining clarity. You can enjoy two free readings daily, or subscribe to access unlimited readings and deeper guidance.

t

Meet Our Sunrise Tarologists

Every Sunrise tarologist brings their own distinctive approach, offering personalized tarot readings tailored to your individual journey.

Whether you’re seeking clarity, emotional insight, or a deeper spiritual connection, we have the right guide for you.

Tarologist Ollie

Ollie

Ollie blends ethical principles with intuitive insights, offering balanced and clear guidance. She’s ideal for beginners and anyone seeking steady, thoughtful advice.

Christine

Christine integrates psychology with tarot, helping you uncover emotional clarity and tackle life’s challenges. Her reflective readings inspire growth and understanding.

Julien

Julien connects with the mystical and spiritual aspects of tarot. His readings guide those exploring life’s deeper meanings and seeking profound spiritual insights.

Sam

Sam delivers no-nonsense, practical guidance with a touch of humor. His empowering readings help you cut through ambiguity and make bold, confident decisions.

t

What Makes Sam’s Tarot Readings Unique?

Here's a quick overview of Sam’s approach and how his readings stand out:

Tarot card reading is a powerful tool for clarity and decision-making. Each card in the deck holds deep symbolic meanings, offering insights into your life’s challenges and opportunities. Sam’s readings take this timeless practice to a new level with his no-nonsense, straightforward style.
With a focus on practicality and confidence, Sam cuts through ambiguity to deliver clear, actionable advice. His tough love approach is perfect for those who want honest guidance without sugarcoating, while his touch of humor and empathy ensures every session feels supportive and empowering.
If you’re looking for direct answers and the confidence to take your next step, Sam’s readings will leave you feeling prepared and motivated to face any situation.

t
t
t
t
t

Ready to Start Your Journey?

Whether you're seeking answers or simply exploring, our Al Tarot Readings are here to guide you.

Scroll to Top