AnyLlmDocumentsUpdate

When an action is requested in the documents grid field, executes the requested action (Embed or Delete) on a document in the LLM. "Delete" removes the document from the LLM's document catalog, and "Embed" adds the vector embedding of the document to the current workspace.

python · Anything LLM

Details

IDAnyLlmDocumentsUpdate
Languagepython
From Version6.10.0
Docker Imagedemisto/python3:3.12.8.3296088
Tagsfield-change-triggered

README

When an action is requested in the documents grid field, executes the requested action (Embed or Delete) on a document in the LLM. “Delete” removes the document from the LLM’s document catalog, and “Embed” adds the vector embedding of the document to the current workspace

Script Data


Name Description
Script Type python3
Tags field-change-triggered

Inputs


Argument Name Description
new  
old  

Outputs


There are no outputs for this script.

args:
- name: new
  description: field new value.
- name: old
  description: field old value.
comment: When an action is requested in the documents grid field, executes the requested action (Embed or Delete) on a document in the LLM. "Delete" removes the document from the LLM's document catalog, and "Embed" adds the vector embedding of the document to the current workspace.
commonfields:
  id: AnyLlmDocumentsUpdate
  version: -1
contentitemexportablefields:
  contentitemfields:
    fromServerVersion: ''
dockerimage: demisto/python3:3.12.8.3296088
enabled: true
engineinfo: {}
name: AnyLlmDocumentsUpdate
runas: DBotWeakRole
runonce: false
script: ''
scripttarget: 0
subtype: python3
tags:
- field-change-triggered
timeout: 600ns
type: python
fromversion: 6.10.0
tests:
- No tests (auto formatted)