Advertisement
ArjanP

Untitled

Mar 31st, 2024
681
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.86 KB | None | 0 0
  1.     def generate_prompt_step2(self, step1_summary):
  2.         """
  3.        Generate prompt step 2.
  4.  
  5.        Parameters:
  6.        - self: the instance of the class
  7.        - step2_summary: a summary for step 2
  8.  
  9.        Returns:
  10.        - step3_summary: a combined summary of step 1, step 2, and planetary analysis result
  11.        """
  12.        
  13.         step2_analyzes = [f"{step1_summary}\n"]
  14.         step2_analyzes.append(["Link the question to one of the astrological houses and the signs on the house cusp. "])
  15.         for cusp in const.LIST_HOUSES:
  16.             house, sign, ruler, score = self.chart_service.houses()
  17.             step2_analyzes.append(f"The {cusp} cusp is in {sign} and its ruler is {ruler} and dignities score: {score}")
  18.         step2_analyzes.append("Summarize these significators and continue with next step.")
  19.        
  20.         return step3_summary
  21.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement