__init__.py 864 B

123456789101112131415161718192021222324252627282930313233343536
  1. # FIXME: Once the agent is properly type annotated, remove the type: ignore comments
  2. from .base import ( # type: ignore
  3. R2RAgent,
  4. R2RStreamingAgent,
  5. R2RXMLStreamingAgent,
  6. )
  7. from .rag import ( # type: ignore
  8. R2RRAGAgent,
  9. R2RStreamingRAGAgent,
  10. R2RXMLToolsRAGAgent,
  11. R2RXMLToolsStreamingRAGAgent,
  12. )
  13. # Import the concrete implementations
  14. from .research import (
  15. R2RResearchAgent,
  16. R2RStreamingResearchAgent,
  17. R2RXMLToolsResearchAgent,
  18. R2RXMLToolsStreamingResearchAgent,
  19. )
  20. __all__ = [
  21. # Base
  22. "R2RAgent",
  23. "R2RStreamingAgent",
  24. "R2RXMLStreamingAgent",
  25. # RAG Agents
  26. "R2RRAGAgent",
  27. "R2RXMLToolsRAGAgent",
  28. "R2RStreamingRAGAgent",
  29. "R2RXMLToolsStreamingRAGAgent",
  30. "R2RResearchAgent",
  31. "R2RStreamingResearchAgent",
  32. "R2RXMLToolsResearchAgent",
  33. "R2RXMLToolsStreamingResearchAgent",
  34. ]