[Python] What kind of messages are system and assistant messages

Discussão em 'Python' iniciado por Stack, Julho 10, 2025.

  1. Stack

    Stack Membro Participativo

    With Perplexity AI, when I send a batch of questions at once, I don't get an as detailed answer through the python api (import openai) than with the website. So, I tried to put each questions in individual messages, but sent all together. Then I received this error message:
    After the (optional) system message(s), user or tool message(s) should alternate with assistant message(s).

    What are system and assistant messages?

    Continue reading...

Compartilhe esta Página