AnyLlmQuestion
Sends a message to the LLM. If any search results have been added to the conversation, they are added to the LLM workspace thread's context just before the latest message is added. The pending search results buffer is then cleared.
python · Anything LLM
Details
| ID | AnyLlmQuestion |
|---|---|
| Language | python |
| From Version | 6.10.0 |
| Docker Image | demisto/python3:3.12.8.3296088 |
README
Sends a message to the LLM. If any search results have been added to the conversation, they are added to the LLM workspace thread’s context just before the latest message is added. The pending search results buffer is then cleared
Script Data
| Name | Description |
|---|---|
| Script Type | python3 |
Inputs
| Argument Name | Description |
|---|---|
| question | The question or message to send to the LLM |
| mode | “chat” mode uses the LLMs full training data and “query” mode requires some results found in the embedded documents in addition to the LLM’s conversation context |
Outputs
There are no outputs for this script.
args: - description: The question or message to send to the LLM. name: question required: true - auto: PREDEFINED description: "\"chat\" mode uses the LLMs full training data and \"query\" mode requires some results found in the embedded documents in addition to the LLM's conversation context." name: mode predefined: - chat - query required: true comment: Sends a message to the LLM. If any search results have been added to the conversation, they are added to the LLM workspace thread's context just before the latest message is added. The pending search results buffer is then cleared. commonfields: id: AnyLlmQuestion version: -1 contentitemexportablefields: contentitemfields: fromServerVersion: '' dockerimage: demisto/python3:3.12.8.3296088 enabled: true engineinfo: {} name: AnyLlmQuestion runas: DBotWeakRole runonce: false script: '' scripttarget: 0 subtype: python3 tags: [] timeout: 600ns type: python fromversion: 6.10.0 tests: - No tests (auto formatted)