Spaces:
Sleeping
Sleeping
Update app.py
Browse files53 unmodified lines545556575758596053 unmodified lines
def respond(message, history):
info = get_top_chunks(message, chunk_embeddings, text_chunks) 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