AnyLlmSaveConvo
Saves the current conversation as a war room entry.
- Type
- python
- Pack
- AnythingLLM
Source
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()
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.