MCPcopy Create free account

hub / github.com/SAIC-MONTREAL/SAGE / functions

Functions344 in github.com/SAIC-MONTREAL/SAGE

Method_run
(self, text: str)
sage/smartthings/smartthings_tool.py:165
Method_run
(self, text)
sage/smartthings/smartthings_tool.py:232
Method_run
(self, command)
sage/smartthings/smartthings_tool.py:406
Method_run
(self, command)
sage/smartthings/smartthings_tool.py:443
Method_run
(self, query: str)
sage/smartthings/device_disambiguation.py:218
Method_run
( self, command: str, )
sage/smartthings/tv_schedules.py:145
Method_run
(self, text: str)
sage/retrieval/tools.py:72
Method_run
Returns the username and command utterance.
sage/human_interaction/tools.py:35
Functionbuild_chroma_db
Creates or loads a chroma database
sage/retrieval/vectordb.py:16
Functionbuild_faiss_db
Creates or loads a FAISS index
sage/retrieval/vectordb.py:38
Functioncan_i_change_light_color
(device_state, config)
sage/testing/testcases.py:1533
Methodcenter_img
Insert smaller image into larger canvas
sage/utils/viz_utils.py:338
Functionchange_light_colors_conditioned_on_favourite_team
(device_state, config)
sage/testing/testcases.py:468
Functioncheck_dishwasher_state
(device_state, config)
sage/testing/testcases.py:150
Functioncheck_freezer_temp
(device_state, config)
sage/testing/testcases.py:205
Functioncompute_cost
(row)
bin/check_gpt_usage.py:9
Functioncondition_poller
Polls the registered conditions and runs the associated code. Intended to be run in subprocess. Communicates with the main process using conn
sage/utils/trigger_server.py:172
Functioncontrol_fridge_temp
(device_state, config)
sage/testing/testcases.py:1285
Functioncrank_the_tv_thats_playing
(device_state, config)
sage/testing/testcases.py:1720
Functioncreate_calendar_event
(device_state, config)
sage/testing/testcases.py:931
Methoddict2str
(data)
sage/utils/viz_utils.py:158
Functiondim_fireplace_lamp
(device_state, config)
sage/testing/testcases.py:173
Functiondishes_dirty_set_appropriate_mode
(device_state, config)
sage/testing/testcases.py:431
Functiondishwasher_notification_with_tv_in_the_mix
(device_state, config)
sage/testing/testcases.py:772
Functiondo_turn_lights_that_are_on_blue
(device_state, config)
sage/testing/testcases.py:1669
Functiondont_turn_lights_that_are_on_blue
(device_state, config)
sage/testing/testcases.py:1643
Methodexecute
Runs the baseline with the provided command
baselines/coordinators/sasha_coordinator.py:142
Methodexecute
Runs the llm with the provided command
baselines/coordinators/oneprompt_coordinator.py:50
Methodexecute
Runs the agent with the provided command
sage/coordinators/sage_coordinator.py:190
Functionextract_user
(row)
bin/check_gpt_usage.py:32
Functionfail
()
sage/testing/testcases.py:926
Functionfindall
Find indices of all occurrences of short_string in long_string.
sage/utils/common.py:81
Functionfreezer_too_cold
(device_state, config)
sage/testing/testcases.py:1546
Functionfrige_door_light
(device_state, config)
sage/testing/testcases.py:544
Functionfunction2string
convert a function handle to string and append it to code_define program string
sage/utils/common.py:98
Functionget
(url, params=None, **kwargs)
sage/testing/fake_requests.py:344
Functionget_current_channel
(device_state, config)
sage/testing/testcases.py:122
Functionget_new_format
(og_format)
externals/langchain_visualizer/prompts/few_shot.py:8
Methodget_routes
(self)
sage/utils/trigger_server.py:240
Methodget_test_logs
Retrieve all logs for a given test.
sage/testing/fake_requests.py:83
Functiongetting_call_tv_too_loud
(device_state, config)
sage/testing/testcases.py:413
Functionhead
(url, **kwargs)
sage/testing/fake_requests.py:352
Functionhow_many_lights
(device_state, config)
sage/testing/testcases.py:1521
Functionincrease_volume_with_dishwasher_on
(device_state, config)
sage/testing/testcases.py:615
Methodinstantiate
(self, **kwargs)
sage/base.py:92
Methodis_async
(self)
externals/langchain_visualizer/hijacking.py:18
Functionis_fridge_open
(device_state, config)
sage/testing/testcases.py:1246
Functionis_main_tv_on
(device_state, config)
sage/testing/testcases.py:219
Functionlong_day_unwind
(device_state, config)
sage/testing/testcases.py:699
Functionlower_tv_volume
(device_state, config)
sage/testing/testcases.py:192
Functionmake_it_cozy_in_bedroom
(device_state, config)
sage/testing/testcases.py:315
Functionmatch_the_lights_to_weather
(device_state, config)
sage/testing/testcases.py:340
Functionmemory_weather_test
(device_state, config)
sage/testing/testcases.py:911
Functionmicrowave_some_popcorn
(device_state, config)
sage/testing/testcases.py:232
Functionmother_natgeo
(device_state, config)
sage/testing/testcases.py:1111
Functionmothers_email
(device_state, config)
sage/testing/testcases.py:1195
Functionnew_format
(format_string, /, *args, **kwargs)
externals/langchain_visualizer/prompts/prompt.py:6
Functionnew_format
(self, *args, **kwargs)
externals/langchain_visualizer/prompts/few_shot.py:9
Functionnew_server_and_browser
(self)
externals/langchain_visualizer/jupyter.py:15
Functionnext_week_look_like
(device_state, config)
sage/testing/testcases.py:987
Functionnotify_when_show_on
(device_state, config)
sage/testing/testcases.py:1572
Methodon_agent_action
Run on agent action.
sage/utils/logging_utils.py:114
Methodon_agent_finish
Run on agent end.
sage/utils/logging_utils.py:120
Methodon_chain_end
Print out that we finished a chain.
sage/utils/logging_utils.py:110
Methodon_chain_start
Print out that we are entering a chain.
sage/utils/logging_utils.py:99
Functionoptions
(url, **kwargs)
sage/testing/fake_requests.py:348
Functionoverridden_call
(og_self, *args, **kwargs)
externals/langchain_visualizer/hijacking.py:62
Functionplay_something_for_kids
(device_state, config)
sage/testing/testcases.py:251
Functionplay_sports_not_hockey
(device_state, config)
sage/testing/testcases.py:1704
Functionplot_categorical_success
(results_dict: Dict)
sage/testing/plot_results.py:62
Functionplot_overall_success
(results)
sage/testing/plot_results.py:45
Functionplot_radar_chart
(results_dict: Dict)
sage/testing/plot_results.py:103
Methodpoll_triggers
Check if the polling function has found anything.
sage/utils/trigger_server.py:225
Functionpost
(url, data=None, json=None, **kwargs)
sage/testing/fake_requests.py:356
Functionprank_husband
(device_state, config)
sage/testing/testcases.py:1618
Functionput_on_something_funny
(device_state, config)
sage/testing/testcases.py:264
Functionput_something_informative
(device_state, config)
sage/testing/testcases.py:446
Functionput_the_game_on_abhisek
(device_state, config)
sage/testing/testcases.py:679
Functionput_the_game_on_amal
(device_state, config)
sage/testing/testcases.py:661
Functionput_the_game_on_dim_the_lights
(device_state, config)
sage/testing/testcases.py:882
Functionput_the_game_on_dmitriy
(device_state, config)
sage/testing/testcases.py:1389
Functionquery_fridge_temp
(device_state, config)
sage/testing/testcases.py:1319
Functionread_all_lights
(device_state, config)
sage/testing/testcases.py:1222
Functionread_config
Loads config from yaml file
sage/utils/common.py:58
Functionredonkulous_living_room
(device_state, config)
sage/testing/testcases.py:1428
Functionregister
Add the desired testcases to the test register
sage/testing/testcases.py:67
Functionroom_too_bright
(device_state, config)
sage/testing/testcases.py:733
Methodrun
(self)
sage/utils/trigger_server.py:128
Methodrun
Run the LLM on the given prompt and input.
externals/langchain_visualizer/llms/base.py:63
Methodrun
Run the LLM on the given prompt and input.
externals/langchain_visualizer/llms/base.py:88
Methodrun
Run the LLM on the given prompt and input.
externals/langchain_visualizer/llms/base.py:109
Functionrun_agent_demo
()
bin/demo.py:122
Functionrun_server
Run condition server in an asyncio loop.
sage/utils/trigger_server.py:247
Functionsame_light_as_tv
(device_state, config)
sage/testing/testcases.py:1129
Functionsave_config
Save an object to disk as a yaml file
sage/utils/common.py:66
Methodsave_response
save raw LLM response
sage/utils/loggers.py:55
Methodsave_results
save final results in a csv file
sage/utils/loggers.py:60
Functionschedule_dad
(device_state, config)
sage/testing/testcases.py:1069
Functionset_bedroom_light_fav_color
(device_state, config)
sage/testing/testcases.py:1348
Functionset_bedroom_light_for_sleeping
(device_state, config)
sage/testing/testcases.py:502
← previousnext →201–300 of 344, ranked by callers