I want to do two things under one api call. The prompt I am using is
prompts:
- role: system
text: For each name separated by comma, give firstName and lastName in JSON array (make sure to trim output)
- role: user
text: Joe Rogan, Elon Musk, Sam Altman
- role: system
text: For the following description, give me top 3 industries
- role: user
text: |
A highly skilled professional in the tech, development, and SaaS industries, adept at crafting cutting-edge solutions that drive business growth and innovation. With a passion for problem-solving and a keen eye for detail, this individual possesses a deep understanding of software architecture, coding languages, and cloud-based technologies. They excel in collaborating with cross-functional teams, ensuring seamless product development and delivery. With a continuous thirst for learning and staying ahead of industry trends, this tech enthusiast is an invaluable asset, delivering exceptional results in the ever-evolving world of technology.
Suppose I have these prompts, it should give me following output
choices:
- message:
content: '[{"firstName":"Joe","lastName":"Rogan"},{"firstName":"Elon","lastName":"Musk"},{"firstName":"Sam","lastName":"Altman"}]'
- message:
content: ["Technology", "SaaS", "Web Development"]
Currently I am getting only one message in the choices field.