https://cerebralvalley.ai logo
#06-technical-discussion
Title
# 06-technical-discussion
j

Jeevan Gyawali

06/25/2023, 5:21 PM
Hey folks, I am trying to write a front-end app with a conversational ui interface. Are there any react packages that you have used? I would basically need to manage storing chat history for the session since I am using serverless setup for the openai api calls.
c

cacoos

06/25/2023, 5:50 PM
h

Han

06/25/2023, 5:54 PM
Chainlit
❤️ 1
j

Jeevan Gyawali

06/26/2023, 4:58 PM
Awesome, my use-case is to retrieve a bunch of documents from a vector store at the first query and then make LLM calls on that text, with additional text on chat history. If you were to design the stack how would you guys do it? My current approach is to make the first backend call to a flask application get topk documents from the vector store and then use that information as context for the chatopenai LLM calls through edge service
Cc: @cacoos @Han
c

cacoos

06/26/2023, 5:15 PM
sounds geat! i think is the most common approach