Customize the Adapter to be able to send conversation history in api call for openai #31
Answered
by
salmenus
whisper-ai-team
asked this question in
Q&A
-
Hi @salmenus, I have a requirement to send the conversation history in open-ai chat completion request. Is it possible to achieve this with custom adapter settings? |
Beta Was this translation helpful? Give feedback.
Answered by
salmenus
Feb 17, 2024
Replies: 1 comment 4 replies
-
hi @whisper-ai-team - Yes, it is possible. If you look at the |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
salmenus
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi @whisper-ai-team - Yes, it is possible.
If you look at the
extras
parameter passed to custom adapters. It has the conversation history.Doc here: https://nlux.dev/api/adapters/custom-adapters