prompt = "Here is the latest message and response:\nMessage: {message}\nResponse: {response}\n\nWrite 3 possible follow-up questions, numbered on each line." questions = llm.complete(prompt.format(message=message, response=str(response)) # process the text questions = str(questions).split("\n"