mckaywrigley / chatbot-ui-lite

A simple chatbot starter kit for OpenAI's chat model using Next.js, TypeScript, and Tailwind CSS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

data retain again and again

nihalgurjar47 opened this issue · comments

#Data retain again
When i am ask the question Chatbot UI , question pass in payload and when i am ask again new question, question again pas in payload and i saw the payload question and answer all are storing in payload. Its too heavy for chatbot ui.

Note: payload retain data again and again.

#Check this
{"model":"gpt-3.5-turbo","messages":[{"role":"system","content":"You are a helpful, friendly, assistant."},{"role":"assistant","content":"Hi there! I'm Chatbot UI, an AI assistant. I can help you with things like answering questions, providing information, and helping with tasks. How can I help you?"},{"role":"user","content":"what is a machine learning"},{"role":"assistant","content":"Machine learning is a type of artificial intelligence (AI) that allows computer systems to automatically learn and improve from experience without being explicitly programmed. It involves the use of algorithms and statistical models to enable computers to learn from data, identify patterns, and make predictions or decisions based on that data. Machine learning is used in a wide range of applications, including image recognition, natural language processing, fraud detection, and recommendation systems."},{"role":"user","content":"what is a mlflow"}],"max_tokens":800,"temperature":0,"stream":true}