Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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(["Overview of the house cusp and its signs and rulers and debilities."])
- for cusp in const.LIST_HOUSES:
- house, sign, ruler, aspects, score, mutual_reception, essentials = self.chart_service.houses()
- step2_analyzes.append(f"The {cusp} cusp is in {sign} is {essentials} and its ruler is {ruler} and dignities score:")
- if aspects:
- step2_analyzes.append(f"The ruler makes aspects with {aspects}")
- if mutual_reception:
- step2_analyzes.append(f"IHas mutual reception")
- step2_analyzes.append(f"{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