Spaces:
Sleeping
Sleeping
Update app.py
Browse files53 unmodified lines5455565758596053 unmodified linesdef respond(message, history):info = get_top_chunks(message, chunk_embeddings, text_chunks)messages = [{"role": "system", "content": f"You are a friendly chatbot using {info} to answer questions."}]if history:53 unmodified lines5455565758596053 unmodified linesdef respond(message, history):info = get_top_chunks(message, chunk_embeddings, cleaned_chunks)messages = [{"role": "system", "content": f"You are a friendly chatbot using {info} to answer questions."}]if history:
app.py+1-1