MCPcopy Create free account

hub / github.com/SAIC-MONTREAL/SAGE / types & classes

Types & classes88 in github.com/SAIC-MONTREAL/SAGE

↓ 8 callersClassFakeResponse
Mimics the requests.Response object.
sage/testing/fake_requests.py:112
↓ 5 callersClassTGIConfig
Configuration of open source llms hosted using text generation inferance API
sage/utils/llm_utils.py:58
↓ 4 callersClassGPTConfig
Configuration of Open AI llms
sage/utils/llm_utils.py:30
↓ 4 callersClassGlobalConfig
Config that is not really specific to any tool, but might be used by multiple tools. This should pretty much be meta-information about the te
sage/base.py:28
↓ 3 callersClassDeviceCapabilityDb
Store device capabilities. Useful for automating interaction with the API. In the current implementation, these details are fused with o
sage/smartthings/db.py:102
↓ 3 callersClassMemoryBank
This class handles the memory bank
sage/retrieval/memory_bank.py:18
↓ 2 callersClassAllServerRunner
Starts a new process and runs the trigger server.
sage/utils/trigger_server.py:257
↓ 2 callersClassApiDocRetrievalToolConfig
sage/smartthings/smartthings_tool.py:213
↓ 2 callersClassDeviceDisambiguationToolConfig
sage/smartthings/device_disambiguation.py:193
↓ 2 callersClassDocManager
Class to manage all the different sources of device / capability documentation, with a focus on enabling agents. Capability docs can com
sage/smartthings/docmanager.py:55
↓ 2 callersClassGoogleCalendarListEventsTool
Tool that lists Google Calendar events.
sage/misc_tools/google_suite.py:97
↓ 2 callersClassHumanInteractionToolConfig
sage/human_interaction/tools.py:9
↓ 2 callersClassSmartThingsPlannerToolConfig
sage/smartthings/smartthings_tool.py:344
↓ 2 callersClassVlmDeviceDetector
Use a VLM to find the closest match between a user query (text) and available devices (images).
sage/smartthings/device_disambiguation.py:94
↓ 1 callersClassAgentConfig
SAGE Agent configuration
sage/coordinators/base.py:25
↓ 1 callersClassBaseConfig
Config class for instantiating the class specified in the _target attribute.
sage/base.py:52
↓ 1 callersClassConditionCheckerToolConfig
sage/smartthings/persistent_command_tools.py:84
↓ 1 callersClassConditionTriggerServer
Trigger server where python code can be registered and run until a condition is met.
sage/utils/trigger_server.py:190
↓ 1 callersClassDatasetWriter
Handle outputting dataset items.
sage/retrieval/data_generator/outputs.py:12
↓ 1 callersClassDemoConfig
Config for demo setup.
bin/demo.py:33
↓ 1 callersClassExecuteCommandToolConfig
sage/smartthings/smartthings_tool.py:136
↓ 1 callersClassGetAttributeToolConfig
sage/smartthings/smartthings_tool.py:49
↓ 1 callersClassGmailGetContactsToolConfig
sage/misc_tools/google_suite.py:27
↓ 1 callersClassGoogleCalendarCreateEventTool
Tool that creates a Google Calendar event.
sage/misc_tools/google_suite.py:58
↓ 1 callersClassGoogleToolConfig
sage/misc_tools/google_suite.py:170
↓ 1 callersClassLLMConfig
Base LLM configuration
sage/utils/llm_utils.py:17
↓ 1 callersClassLogStatesActionCallbackHandler
Custom Callback Handler that writes to a file.
sage/utils/logging_utils.py:85
↓ 1 callersClassNotifyOnConditionToolConfig
sage/smartthings/persistent_command_tools.py:192
↓ 1 callersClassNullCoordinatorConfig
Config to run a demo with OnePrompt baseline.
bin/dump_results_to_latex_table.py:36
↓ 1 callersClassPythonInterpreterToolConfig
sage/smartthings/persistent_command_tools.py:33
↓ 1 callersClassQueryTvScheduleToolConfig
Config for QueryTvScheduleTool The source argument is included to allow the tool to search over multiple TV sources (e.g. cable TV and f
sage/smartthings/tv_schedules.py:54
↓ 1 callersClassSmartThingsToolConfig
sage/smartthings/smartthings_tool.py:416
↓ 1 callersClassTestDemoConfig
bin/dump_results_to_latex_table.py:44
↓ 1 callersClassTestLogsDb
Store test logs. Useful to use a DB here instead of a file because we have multiple processes simultaneously dumping stuff. We also
sage/testing/fake_requests.py:41
↓ 1 callersClassTimeliner
Nifty little utility to time how long stuff takes. Usage: from wat.utils import tl tl.timeline() do_stuff(args) tl.timeline()
sage/utils/common.py:113
↓ 1 callersClassTvScheduleDb
DB to store TV programming information. Programming can be added using the update_schedule function, and retrieved using whats_on. The n
sage/smartthings/db.py:22
↓ 1 callersClassUserProfileToolConfig
sage/retrieval/tools.py:18
↓ 1 callersClassUserProfiler
This class handles the dynamic preference understanding. It creates daily user preference insights based on daily interactions. It furthe
sage/retrieval/profiler.py:12
↓ 1 callersClassWeatherToolConfig
sage/misc_tools/weather_tool.py:11
ClassAgentVisualizer
Build and render decision tree from log experiment file
sage/utils/viz_utils.py:89
ClassApiDocRetrievalTool
sage/smartthings/smartthings_tool.py:226
ClassBaseCoordinator
Base class for coordinators. Coordinators are agents that use tools or other agents as tools to address user commands.
sage/coordinators/base.py:74
ClassBaseToolConfig
Config class for instantiating tools
sage/base.py:81
ClassBaseTriggerServer
Basic trigger server
sage/utils/trigger_server.py:20
ClassChatLlmAsyncVisualizer
Overrides the async _agenerate function for chat LLMs.
externals/langchain_visualizer/llms/base.py:106
ClassChatLlmSyncVisualizer
Overrides the sync _generate function for chat LLMs.
externals/langchain_visualizer/llms/base.py:85
ClassClarificationResponse
baselines/templates/multistage_sasha_templates.py:12
ClassClaudeConfig
Configuration of Anthropic llms
sage/utils/llm_utils.py:45
ClassConditionCheckerTool
sage/smartthings/persistent_command_tools.py:174
ClassCoordinatorConfig
Coordinator config
sage/coordinators/base.py:36
ClassCoordinatorType
Coordinator type for config
sage/testing/test_runner.py:76
ClassDeviceDisambiguationTool
Wraps the VLM-based device disambiguation pipeline as a Tool
sage/smartthings/device_disambiguation.py:207
ClassEvaluationResponse
sage/testing/testing_utils.py:98
ClassExecuteCommandTool
Tool for executing a smartthings command.
sage/smartthings/smartthings_tool.py:150
ClassFilteringResponse
baselines/templates/multistage_sasha_templates.py:21
ClassGenerationConfig
bin/generate_multiuser_memory.py:23
ClassGetAttributeTool
Tool for getting a smartthings attribute.
sage/smartthings/smartthings_tool.py:62
ClassGmailGetContactsTool
sage/misc_tools/google_suite.py:45
ClassGoogleTool
Defines a tool to perform actions with user's Google Calendar and Gmail.
sage/misc_tools/google_suite.py:182
ClassHumanInteractionTool
This tool is provided to the Coordinator to help it communicate with the user. This can be in numerous usecases like getting feedback, asking
sage/human_interaction/tools.py:19
ClassInferenceLogger
The path of the output directory
sage/utils/loggers.py:11
ClassLlmAsyncVisualizer
Overrides the async generate function for regular LLMs.
externals/langchain_visualizer/llms/base.py:60
ClassLlmSyncVisualizer
Overrides the sync generate function for regular LLMs.
externals/langchain_visualizer/llms/base.py:39
ClassLlmType
LLM type for config
sage/testing/test_runner.py:84
ClassLlmVisualizer
externals/langchain_visualizer/llms/base.py:27
ClassNotifyOnConditionTool
sage/smartthings/persistent_command_tools.py:205
ClassNullCoordinator
bin/dump_results_to_latex_table.py:27
ClassOnePromptCoordinator
Simple baseline that only uses a single prompt to execute the user command. This coordinator only works with testcase evaluations, not real d
baselines/coordinators/oneprompt_coordinator.py:32
ClassOnePromptCoordinatorConfig
Config to run a demo with OnePrompt baseline.
baselines/coordinators/oneprompt_coordinator.py:25
ClassOnePromptResponse
baselines/templates/oneprompt_templates.py:7
ClassPersistentResponse
baselines/templates/multistage_sasha_templates.py:27
ClassPlanningResponse
baselines/templates/multistage_sasha_templates.py:48
ClassPrePlanningResponse
baselines/templates/multistage_sasha_templates.py:42
ClassPythonInterpreterTool
sage/smartthings/persistent_command_tools.py:43
ClassQueryTvScheduleTool
sage/smartthings/tv_schedules.py:80
ClassReadingResponse
baselines/templates/multistage_sasha_templates.py:54
ClassSAGEBaseTool
sage/base.py:16
ClassSAGECoordinator
SAGE coordinator instantiates agents, llms and tools
sage/coordinators/sage_coordinator.py:90
ClassSAGECoordinatorConfig
SAGE coordinator config
sage/coordinators/sage_coordinator.py:30
ClassSashaCoordinator
A baseline implementation of the Sasha paper [1]. This coordinator only works with testcase evaluations, not real device demos. [1] Sash
baselines/coordinators/sasha_coordinator.py:69
ClassSashaCoordinatorConfig
Config for the Sasha baseline.
baselines/coordinators/sasha_coordinator.py:62
ClassSmartThingsPlannerTool
sage/smartthings/smartthings_tool.py:351
ClassSmartThingsTool
sage/smartthings/smartthings_tool.py:432
ClassTestDemoConfig
sage/testing/test_runner.py:93
ClassUserProfileTool
Defines a user profile tool to check user preferences.
sage/retrieval/tools.py:43
ClassVisualizationWrapper
externals/langchain_visualizer/hijacking.py:12
ClassVisualizerConfig
Base Visualizer configuration
sage/utils/viz_utils.py:68
ClassWeatherTool
sage/misc_tools/weather_tool.py:17