Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SAIC-MONTREAL/SAGE
/ functions
Functions
344 in github.com/SAIC-MONTREAL/SAGE
⨍
Functions
344
◇
Types & classes
88
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
Function
build_chroma_db
Creates or loads a chroma database
sage/retrieval/vectordb.py:16
Function
build_faiss_db
Creates or loads a FAISS index
sage/retrieval/vectordb.py:38
Function
can_i_change_light_color
(device_state, config)
sage/testing/testcases.py:1533
Method
center_img
Insert smaller image into larger canvas
sage/utils/viz_utils.py:338
Function
change_light_colors_conditioned_on_favourite_team
(device_state, config)
sage/testing/testcases.py:468
Function
check_dishwasher_state
(device_state, config)
sage/testing/testcases.py:150
Function
check_freezer_temp
(device_state, config)
sage/testing/testcases.py:205
Function
compute_cost
(row)
bin/check_gpt_usage.py:9
Function
condition_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
Function
control_fridge_temp
(device_state, config)
sage/testing/testcases.py:1285
Function
crank_the_tv_thats_playing
(device_state, config)
sage/testing/testcases.py:1720
Function
create_calendar_event
(device_state, config)
sage/testing/testcases.py:931
Method
dict2str
(data)
sage/utils/viz_utils.py:158
Function
dim_fireplace_lamp
(device_state, config)
sage/testing/testcases.py:173
Function
dishes_dirty_set_appropriate_mode
(device_state, config)
sage/testing/testcases.py:431
Function
dishwasher_notification_with_tv_in_the_mix
(device_state, config)
sage/testing/testcases.py:772
Function
do_turn_lights_that_are_on_blue
(device_state, config)
sage/testing/testcases.py:1669
Function
dont_turn_lights_that_are_on_blue
(device_state, config)
sage/testing/testcases.py:1643
Method
execute
Runs the baseline with the provided command
baselines/coordinators/sasha_coordinator.py:142
Method
execute
Runs the llm with the provided command
baselines/coordinators/oneprompt_coordinator.py:50
Method
execute
Runs the agent with the provided command
sage/coordinators/sage_coordinator.py:190
Function
extract_user
(row)
bin/check_gpt_usage.py:32
Function
fail
()
sage/testing/testcases.py:926
Function
findall
Find indices of all occurrences of short_string in long_string.
sage/utils/common.py:81
Function
freezer_too_cold
(device_state, config)
sage/testing/testcases.py:1546
Function
frige_door_light
(device_state, config)
sage/testing/testcases.py:544
Function
function2string
convert a function handle to string and append it to code_define program string
sage/utils/common.py:98
Function
get
(url, params=None, **kwargs)
sage/testing/fake_requests.py:344
Function
get_current_channel
(device_state, config)
sage/testing/testcases.py:122
Function
get_new_format
(og_format)
externals/langchain_visualizer/prompts/few_shot.py:8
Method
get_routes
(self)
sage/utils/trigger_server.py:240
Method
get_test_logs
Retrieve all logs for a given test.
sage/testing/fake_requests.py:83
Function
getting_call_tv_too_loud
(device_state, config)
sage/testing/testcases.py:413
Function
head
(url, **kwargs)
sage/testing/fake_requests.py:352
Function
how_many_lights
(device_state, config)
sage/testing/testcases.py:1521
Function
increase_volume_with_dishwasher_on
(device_state, config)
sage/testing/testcases.py:615
Method
instantiate
(self, **kwargs)
sage/base.py:92
Method
is_async
(self)
externals/langchain_visualizer/hijacking.py:18
Function
is_fridge_open
(device_state, config)
sage/testing/testcases.py:1246
Function
is_main_tv_on
(device_state, config)
sage/testing/testcases.py:219
Function
long_day_unwind
(device_state, config)
sage/testing/testcases.py:699
Function
lower_tv_volume
(device_state, config)
sage/testing/testcases.py:192
Function
make_it_cozy_in_bedroom
(device_state, config)
sage/testing/testcases.py:315
Function
match_the_lights_to_weather
(device_state, config)
sage/testing/testcases.py:340
Function
memory_weather_test
(device_state, config)
sage/testing/testcases.py:911
Function
microwave_some_popcorn
(device_state, config)
sage/testing/testcases.py:232
Function
mother_natgeo
(device_state, config)
sage/testing/testcases.py:1111
Function
mothers_email
(device_state, config)
sage/testing/testcases.py:1195
Function
new_format
(format_string, /, *args, **kwargs)
externals/langchain_visualizer/prompts/prompt.py:6
Function
new_format
(self, *args, **kwargs)
externals/langchain_visualizer/prompts/few_shot.py:9
Function
new_server_and_browser
(self)
externals/langchain_visualizer/jupyter.py:15
Function
next_week_look_like
(device_state, config)
sage/testing/testcases.py:987
Function
notify_when_show_on
(device_state, config)
sage/testing/testcases.py:1572
Method
on_agent_action
Run on agent action.
sage/utils/logging_utils.py:114
Method
on_agent_finish
Run on agent end.
sage/utils/logging_utils.py:120
Method
on_chain_end
Print out that we finished a chain.
sage/utils/logging_utils.py:110
Method
on_chain_start
Print out that we are entering a chain.
sage/utils/logging_utils.py:99
Function
options
(url, **kwargs)
sage/testing/fake_requests.py:348
Function
overridden_call
(og_self, *args, **kwargs)
externals/langchain_visualizer/hijacking.py:62
Function
play_something_for_kids
(device_state, config)
sage/testing/testcases.py:251
Function
play_sports_not_hockey
(device_state, config)
sage/testing/testcases.py:1704
Function
plot_categorical_success
(results_dict: Dict)
sage/testing/plot_results.py:62
Function
plot_overall_success
(results)
sage/testing/plot_results.py:45
Function
plot_radar_chart
(results_dict: Dict)
sage/testing/plot_results.py:103
Method
poll_triggers
Check if the polling function has found anything.
sage/utils/trigger_server.py:225
Function
post
(url, data=None, json=None, **kwargs)
sage/testing/fake_requests.py:356
Function
prank_husband
(device_state, config)
sage/testing/testcases.py:1618
Function
put_on_something_funny
(device_state, config)
sage/testing/testcases.py:264
Function
put_something_informative
(device_state, config)
sage/testing/testcases.py:446
Function
put_the_game_on_abhisek
(device_state, config)
sage/testing/testcases.py:679
Function
put_the_game_on_amal
(device_state, config)
sage/testing/testcases.py:661
Function
put_the_game_on_dim_the_lights
(device_state, config)
sage/testing/testcases.py:882
Function
put_the_game_on_dmitriy
(device_state, config)
sage/testing/testcases.py:1389
Function
query_fridge_temp
(device_state, config)
sage/testing/testcases.py:1319
Function
read_all_lights
(device_state, config)
sage/testing/testcases.py:1222
Function
read_config
Loads config from yaml file
sage/utils/common.py:58
Function
redonkulous_living_room
(device_state, config)
sage/testing/testcases.py:1428
Function
register
Add the desired testcases to the test register
sage/testing/testcases.py:67
Function
room_too_bright
(device_state, config)
sage/testing/testcases.py:733
Method
run
(self)
sage/utils/trigger_server.py:128
Method
run
Run the LLM on the given prompt and input.
externals/langchain_visualizer/llms/base.py:63
Method
run
Run the LLM on the given prompt and input.
externals/langchain_visualizer/llms/base.py:88
Method
run
Run the LLM on the given prompt and input.
externals/langchain_visualizer/llms/base.py:109
Function
run_agent_demo
()
bin/demo.py:122
Function
run_server
Run condition server in an asyncio loop.
sage/utils/trigger_server.py:247
Function
same_light_as_tv
(device_state, config)
sage/testing/testcases.py:1129
Function
save_config
Save an object to disk as a yaml file
sage/utils/common.py:66
Method
save_response
save raw LLM response
sage/utils/loggers.py:55
Method
save_results
save final results in a csv file
sage/utils/loggers.py:60
Function
schedule_dad
(device_state, config)
sage/testing/testcases.py:1069
Function
set_bedroom_light_fav_color
(device_state, config)
sage/testing/testcases.py:1348
Function
set_bedroom_light_for_sleeping
(device_state, config)
sage/testing/testcases.py:502
← previous
next →
201–300 of 344, ranked by callers