hunk.code_window: from langchain.prompts import HumanMessagePromptTemplate
   from langchain.schema import format_document
   from langchain_community.chat_models import ChatLiteLLM
   from langchain_core.messages import SystemMessage, get_buffer_string
   from langchain_core.output_parsers import StrOutputParser
  
hunk.labels: keep keep keep replace keep
hunk.after_edit: from langchain_core.messages import SystemMessage
  
hunk.file_path: backend/modules/brain/rags/quivr_rag.py
hunk.type: replace
file: ---
  openapi: put /brains/{brain_id}/
  ---