skit_pipelines.pipelines.invalidate_llm_situations_in_db package¶
Module contents¶
- invalidate_llm_situations_in_db(situation_id_list: str = '', notify: str = '', channel: str = '', slack_thread: str = '')[source]¶
A pipeline to discard situations by setting flag is_valid to False for situations that are no longer needed
Example payload to invoke via slack integrations:
@charon run invalidate_llm_situations_in_db
{ "situation_id_list": "1, 3, 5" }
- Parameters
situation_id_list (str) – A comma separated list of situation ids from the situation_scenario_mapper table: “1, 2” etc, defaults to “”
notify (str, optional) – A comma separated list of slack ids: “@apples, @orange.fruit” etc, defaults to “”
channel (str, optional) – The slack channel to send the notification, defaults to “”
slack_thread (str, optional) – The slack thread to send the notification, defaults to “”