Details
| ID | AnyLlmSaveConvo |
|---|---|
| Language | python |
| From Version | 6.10.0 |
| Docker Image | demisto/python3:3.12.8.3296088 |
README
Saves the current conversation as a war room entry
Script Data
| Name | Description |
|---|---|
| Script Type | python3 |
Inputs
There are no inputs for this script.
Outputs
There are no outputs for this script.
import demistomock as demisto # noqa: F401 from CommonServerPython import * # noqa: F401 def main(): try: inci = demisto.incident()["CustomFields"] convo = inci.get("anythingllmconversation", "") if convo != "": return_results({"ContentsFormat": EntryFormat.MARKDOWN, "Type": EntryType.NOTE, "Contents": convo}) except Exception as ex: demisto.error(traceback.format_exc()) return_error(f"AnyLlmSaveConvo: error is - {ex}") if __name__ in ("__main__", "__builtin__", "builtins"): main()