GetLLMContextType

const GetLLMContextType: object;

Type declaration

PlainText

readonly PlainText: 2 = 2;

Get context containing only plain text displayed on the given items, more suitable for embeddings

Relational

readonly Relational: 1 = 1;

Get context in a format for LLMs where relationships among connected and
contained items are preserved. Expand the scope of the selection to
include blocks contained by the selection as well as lines connecting
items in the selection.

RelationalWithoutExpansion

readonly RelationalWithoutExpansion: 3 = 3;

Get context in a format for LLMs where relationships among connected and
contained items are preserved. Do not expand the scope of the selection,
other than to ensure relationships are represented. Text on selected
items will be included, but text on automatically added items will not.