This repository was archived by the owner on Jul 22, 2025. It is now read-only.
Follow-up questions using Perplexity API #188
Unanswered
payal-github
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How can I ask follow-up questions using the Rest API callout? For example:
messages = [
{
content: "Do you know Abc person? Answer as yes/no/unknown in JSON format only."
role: "user"
},
{
content: "Answer as yes/no/unknown in JSON format only."
role: "assistant"
},
{
content: "If yes, provide more details about that person."
role: "user"
}
]
Please suggest a better way to do this.
Beta Was this translation helpful? Give feedback.
All reactions