Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add step to refine the site description before proceeding further #37

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

amartya-dev
Copy link
Contributor

Proposed changes

Adds a step to call an API to refine the site description before using it further, saves the refined site description for re-use.

Example, the following prompt:
Welcome to Massage Haven - Your Oasis of Relaxation and Renewal. Bienvenido a Massage Haven, tu refugio de tranquilidad y bienestar. We offer a diverse range of therapeutic massages designed to help you disconnect from daily stress and reconnect with your inner peace. Our mission is to not only provide physical relief but to offer a space for mental and spiritual rejuvenation. At Massage Haven, we believe in the power of touch as a pathway to health and balance. Our experienced therapists are trained in various massage techniques to meet individual needs and wellness goals. Whether you seek relaxation, pain relief, or emotional harmony, we ensure a personalized, deeply restorative experience. Nuestro Enfoque: Nos especializamos en terapias personalizadas que combinan técnicas tradicionales y modernas, atendiendo cada área de tensión y promoviendo una profunda sensación de calma. Nuestro objetivo es que cada sesión sea una experiencia curativa completa. Our services include Swedish massage, which uses gentle to moderate pressure to relieve muscle tension and improve circulation, ideal for those new to massage therapy or looking for relaxation. The Swedish massage offers benefits such as muscle tension relief, deep relaxation, and improved circulation. We also offer Deep Tissue Massage, perfect for addressing chronic muscle pain with slow, firm strokes targeting problem areas. Additionally, our Hot Stone Massage combines the warmth of heated stones with massage techniques to promote deep relaxation and muscle relief. Massage offers countless benefits beyond relaxation. By improving circulation, easing muscle tension, and reducing cortisol levels, it’s a holistic approach to mental and physical health. Massage can also relieve stress, enhance mental clarity, and promote better sleep. Los beneficios del masaje no solo son físicos; también ayudan a mejorar el bienestar emocional, promoviendo una sensación de paz y equilibrio en el día a día. Esta terapia holística es ideal para quienes desean mejorar su calidad de vida. Our commitment to excellence sets Massage Haven apart. We use only premium, organic oils and maintain a calm, clean environment. Our therapists take time to understand your specific needs, creating a treatment that’s uniquely yours. En cada sesión, nuestros terapeutas escuchan tus objetivos y áreas de tensión, adaptando la técnica para maximizar los beneficios. From the moment you enter, you’ll experience a serene atmosphere with soothing music, calming scents, and gentle lighting, all designed to enhance relaxation and healing. Ready to begin your journey toward wellness? Book an appointment today on our website or by phone. Our flexible hours make it easy to fit a session into even the busiest schedules. Para reservar, visita nuestra página de citas y selecciona el horario que mejor se adapte a tus necesidades, o llámanos para asistencia adicional. Join our wellness community to learn more about self-care and receive exclusive offers. At Massage Haven, we’re dedicated to being more than a place for massages—we’re your sanctuary for health, healing, and renewal.

Gets transformed to:
Welcome to Massage Haven - Your Oasis of Relaxation and Renewal. We offer a diverse range of therapeutic massages designed to help you disconnect from daily stress and reconnect with your inner peace. Our mission is to provide physical relief and offer a space for mental and spiritual rejuvenation. Our experienced therapists are trained in various massage techniques to meet individual needs and wellness goals. Whether you seek relaxation, pain relief, or emotional harmony, we ensure a personalized, deeply restorative experience. Our services include Swedish massage, Deep Tissue Massage, and Hot Stone Massage. Massage offers countless benefits beyond relaxation, improving circulation, easing muscle tension, reducing stress, enhancing mental clarity, and promoting better sleep. Our commitment to excellence sets Massage Haven apart. We use premium, organic oils and maintain a calm, clean environment. Book an appointment today to begin your journey toward wellness. Join our wellness community to learn more about self-care and receive exclusive offers

Type of Change

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

Video

Checklist

  • I have read the CONTRIBUTING doc
  • I have viewed my change in a web-browser
  • Linting and tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Further comments

@0aveRyan 0aveRyan requested a review from wpalani November 14, 2024 14:19
@0aveRyan
Copy link
Member

@wpalani hey chatted with @amartya-dev this should be ready for review and release and will resolve multilingual prompt processing, lets aim for next plugin release if possible.

This PR needs to merge and go from beta workers to prod first before this lands:
https://github.com/newfold-labs/cf-worker-ai-sitegen/pull/63

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants