// 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 Reading with Julien | Spirituality & AI Tarot | Try Now
t
t
t
t

Meet Julien, a skilled tarologist passionate about exploring tarot's mysteries and connecting with higher energies through insightful readings.

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 Can You Get the Most Out of a Tarot Reading with Julien?

Focus on Your Intentions

Take a moment to reflect on your deeper questions. Julien’s readings are designed to explore life’s mysteries and provide insights into your inner journey.

Choose a Deck That Resonates

Trust your intuition when selecting a tarot deck. Julien’s connection to the spiritual and mystical ensures that the cards drawn reflect the energy you bring to the session.

Embrace the Experience

Relax and let Julien’s expertise guide the interpretation. His ability to uncover the deeper spiritual and symbolic meanings within the cards creates a unique and transformative experience.

Reflect and Connect

Use Julien’s insights to explore your spiritual path further, strengthen your connection with higher energies, and gain a deeper understanding of the mysteries surrounding you.

t

Meet All Sunrise Tarologists

Our Sunrise Tarologists each bring their distinct style and expertise to the art of tarot, offering uniquely tailored readings to meet your personal needs. Let their different approaches inspire and guide you on your journey.

Our free standard readings are delivered by our expert tarologist, Ollie. Get to know Ollie and explore the unique styles of our other tarot readers: Christine and Sam.

Tarologist Ollie

Ollie

Ollie combines ethical principles with intuitive insights to provide balanced guidance. Her readings are ideal for beginners or anyone seeking steady, clear advice.

Christine

Christine blends psychology with tarot to offer reflective insights. Her readings help uncover emotional clarity, foster growth, and guide you through challenges.

Julien

Julien delves into the mystical aspects of tarot and spirituality with passion. His readings focus on uncovering deeper meanings and higher energies.

Sam

Sam mixes practical advice with sassy humor and compassion. His readings empower you to make confident decisions while providing a positive outlook.

t

What Makes Julien's Tarot Online Readings Unique?

Julien’s readings delve into the mystical and spiritual aspects of tarot, connecting you with higher energies to uncover profound insights and deeper meanings.

Tarot is an ancient tool for self-reflection and guidance, using symbolic cards to explore life’s mysteries. Each card carries its own story, offering perspectives on challenges, opportunities, and personal growth.
Julien’s readings are perfect for those seeking clarity on spiritual questions, exploring their inner journey, or uncovering the hidden truths of life. Whether you’re drawn to the mystical or curious about the unknown, Julien’s passion for tarot’s mysteries makes his readings a transformative experience tailored to your unique energy and intentions.

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