The open ai documentation only allow system, user and assistant role. But in Langchain I can see human, AI roles. How can Langchain work with these additional roles while open AI has allowed only three
LangChain is a wrapper around a bunch of different technologies/scripts, including OpenAI. Since they support alternate LLM’s, they use their own role
terminology, then map it to whichever API you end up using.
1 Like