SciPhi-AI / R2R

The most advanced Retrieval-Augmented Generation (RAG) system, containerized and RESTful
https://r2r-docs.sciphi.ai/
MIT License
3.65k stars 270 forks source link

up #1603

Closed emrgnt-cmplxty closed 6 hours ago

emrgnt-cmplxty commented 6 hours ago

[!IMPORTANT] Enhance conversation handling by including metadata in retrieval and update processes across service, provider, and SDK layers.

  • Behavior:
    • get_conversation in management_service.py now returns a tuple including metadata.
    • get_conversation in r2r_logger.py updated to include metadata in the returned data.
    • add_message in management.py now sends JSON data if only one field is present.
  • Models:
    • WrappedConversationResponse in responses.py updated to include metadata in the tuple.
  • Misc:
    • SQL query in r2r_logger.py updated to select metadata from branch_messages.
    • update_message_metadata in management.py now sends metadata as JSON.

This description was created by Ellipsis for 107530b067be3295dcc4316f90e35cc6ce0e073d. It will automatically update as commits are pushed.