Welcome to Portkey Forum

Updated yesterday

How to make the chat completion from perplexity or other ai models 100% returns a structured format?

How to make the chat completion from perplexity or other AI models 100% returns a structured format? I am using beta.chat.completions.parse(), still it only works for OpenAI's models
s
1 comment
if the model supports response_format, you can try passing that key, there's never a 100% guarentee with any model
Add a reply
Sign up and join the conversation on Discord