SciPhi-AI / R2R

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

YC Demo #1237

Closed NolanTrem closed 1 month ago

NolanTrem commented 1 month ago

[!IMPORTANT] Refactor Answer.tsx and SearchResults.tsx by removing SourceItem, adding SourceInfo, and adjusting tab defaults and order for improved UI and code clarity.

  • Components:
    • Remove SourceItem component from Answer.tsx.
    • Add SourceInfo component in Answer.tsx to display source information.
  • UI Changes:
    • Simplify Accordion logic in Answer.tsx using SourceInfo.
    • Change default tab to kgEntities in SearchResults.tsx.
    • Adjust tab order in SearchResults.tsx to kgEntities, kgCommunities, vectorSearch.
  • TypeScript:
    • Extend Source interface with VectorSearchResult in Answer.tsx.

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