The π£πΌππ²πΏπ³ππΉ Conversational AI JavaScript Library π¬ βΒ UI for any LLM, supporting LangChain / HuggingFace / Vercel AI, and more 𧑠React, Next.js, and plain JavaScript βοΈ
Originally posted by **dragosmc** February 9, 2024
Hi, I'm trying to setup nlux w/ OpenAI to mimic the ChatGPT flow where gpt knows the previous conversation. As I could see there is no way to add previous messages to the current one to be sent, or I didn't find this functionality.
I guess the idea would be to maintain a list of questions/answers and send the last `n` back to openai.
Discussed in https://github.com/nluxai/nlux/discussions/28