Coverage for src/refinire/agents/pipeline/__init__.py: 100%

2 statements  

« prev     ^ index     » next       coverage.py v7.9.1, created at 2025-06-16 15:27 +0900

1""" 

2Refinire Agent - AI agent framework with evaluation and tool support 

3 

4This module provides AI agent functionality for the Refinire platform: 

5- RefinireAgent with built-in evaluation and tool support 

6- InteractiveAgent for multi-turn conversations 

7- Factory functions for common configurations 

8""" 

9 

10# Refinire Agent (recommended) 

11from .llm_pipeline import ( 

12 RefinireAgent, 

13 LLMResult, 

14 EvaluationResult as LLMEvaluationResult, 

15 InteractiveAgent, 

16 InteractionResult, 

17 InteractionQuestion, 

18 create_simple_agent, 

19 create_evaluated_agent, 

20 create_tool_enabled_agent, 

21 create_web_search_agent, 

22 create_calculator_agent, 

23 create_simple_interactive_agent, 

24 create_evaluated_interactive_agent, 

25 # Backward compatibility aliases 

26 LLMPipeline, 

27 InteractivePipeline, 

28 create_simple_llm_pipeline, 

29 create_evaluated_llm_pipeline, 

30 create_tool_enabled_llm_pipeline, 

31 create_web_search_pipeline, 

32 create_calculator_pipeline, 

33 create_simple_interactive_pipeline, 

34 create_evaluated_interactive_pipeline 

35) 

36 

37# Legacy AgentPipeline (deprecated - removed) 

38# from .pipeline import AgentPipeline, EvaluationResult, Comment, CommentImportance 

39 

40__all__ = [ 

41 # Refinire Agent (recommended) 

42 "RefinireAgent", 

43 "LLMResult", 

44 "LLMEvaluationResult", 

45 "InteractiveAgent", 

46 "InteractionResult", 

47 "InteractionQuestion", 

48 "create_simple_agent", 

49 "create_evaluated_agent", 

50 "create_tool_enabled_agent", 

51 "create_web_search_agent", 

52 "create_calculator_agent", 

53 "create_simple_interactive_agent", 

54 "create_evaluated_interactive_agent", 

55 

56 # Backward compatibility aliases 

57 "LLMPipeline", 

58 "InteractivePipeline", 

59 "create_simple_llm_pipeline", 

60 "create_evaluated_llm_pipeline", 

61 "create_tool_enabled_llm_pipeline", 

62 "create_web_search_pipeline", 

63 "create_calculator_pipeline", 

64 "create_simple_interactive_pipeline", 

65 "create_evaluated_interactive_pipeline" 

66]