Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def generate_prompt_step1(self):
- """
- - Determination of Question Significators:
- Generate prompt for step 1 of the process, including refined question and astrological analysis.
- """
- refined_question = self.generate_preliminary_evaluation()
- sign, ruler, score = self.chart_service.ascendant()
- prompt = f"""
- Identification of the Querent:
- Now start answering the refined Horary Question: '{refined_question}'
- The querent is symbolized by the Ascendant sign ({sign}) and its ruling planet ({ruler}).
- The essential dignity score of the ruling planet is: {score}
- Now summarize this and start with the next step."""
- return prompt
- def generate_prompt_step2(self, step1_summary):
- """
- Generate the prompt for step 2 based on the summary of step 1.
- Parameters:
- step1_summary (str): The summary generated in step 1.
- Returns:
- str: The generated prompt for step 2.
- """
- step2_analyzes = [f"{step1_summary}\n"]
- step2_analyzes.append(["Link the question to one of the astrological houses and the signs on the house cusp. "])
- for cusp in const.LIST_HOUSES:
- house, sign, ruler, score = self.chart_service.houses()
- step2_analyzes.append(f"The {cusp} cusp is in {sign} and its ruler is {ruler} and dignities score: {score}")
- step2_analyzes.append("Now link the question to the significators which aligns with the question and summarize these significators for step 3.")
- return step2_analyzes
Advertisement
Add Comment
Please, Sign In to add comment