Enumeration: ContextualElementType
Defined in: packages/agentos/src/core/llm/IPromptEngine.ts:43
Represents different types of contextual prompt elements that can be dynamically selected and integrated into prompts based on execution context. These elements allow for fine-grained adaptation of prompts.
Enumeration Members
ASSISTANT_PROMPT_AUGMENTATION
ASSISTANT_PROMPT_AUGMENTATION:
"assistant_prompt_augmentation"
Defined in: packages/agentos/src/core/llm/IPromptEngine.ts:67
Content to be injected into the assistant part for few-shot or role-play setup.
BEHAVIORAL_GUIDANCE
BEHAVIORAL_GUIDANCE:
"behavioral_guidance"
Defined in: packages/agentos/src/core/llm/IPromptEngine.ts:49
Behavioral guidance or tone adjustments for the persona.
DOMAIN_CONTEXT
DOMAIN_CONTEXT:
"domain_context"
Defined in: packages/agentos/src/core/llm/IPromptEngine.ts:57
Domain-specific knowledge, facts, or context relevant to the current query.
ERROR_HANDLING_GUIDANCE
ERROR_HANDLING_GUIDANCE:
"error_handling_guidance"
Defined in: packages/agentos/src/core/llm/IPromptEngine.ts:53
Instructions for handling errors or recovering from unexpected situations.
ETHICAL_GUIDELINE
ETHICAL_GUIDELINE:
"ethical_guideline"
Defined in: packages/agentos/src/core/llm/IPromptEngine.ts:59
Ethical guidelines or safety instructions to ensure responsible AI behavior.
FEW_SHOT_EXAMPLE
FEW_SHOT_EXAMPLE:
"few_shot_example"
Defined in: packages/agentos/src/core/llm/IPromptEngine.ts:47
Dynamic few-shot examples selected based on context to guide the LLM.
INTERACTION_STYLE_MODIFIER
INTERACTION_STYLE_MODIFIER:
"interaction_style_modifier"
Defined in: packages/agentos/src/core/llm/IPromptEngine.ts:55
Adjustments to the GMI's interaction style with the user.
OUTPUT_FORMAT_SPEC
OUTPUT_FORMAT_SPEC:
"output_format_spec"
Defined in: packages/agentos/src/core/llm/IPromptEngine.ts:61
Specifications for the desired output format (e.g., JSON, Markdown).
REASONING_PROTOCOL
REASONING_PROTOCOL:
"reasoning_protocol"
Defined in: packages/agentos/src/core/llm/IPromptEngine.ts:63
Instructions for specific reasoning protocols (e.g., chain-of-thought, tree-of-thought).
SYSTEM_INSTRUCTION_ADDON
SYSTEM_INSTRUCTION_ADDON:
"system_instruction_addon"
Defined in: packages/agentos/src/core/llm/IPromptEngine.ts:45
Additional system-level instructions appended to base system prompt.
TASK_SPECIFIC_INSTRUCTION
TASK_SPECIFIC_INSTRUCTION:
"task_specific_instruction"
Defined in: packages/agentos/src/core/llm/IPromptEngine.ts:51
Specific instructions or constraints related to the current task.
USER_PROMPT_AUGMENTATION
USER_PROMPT_AUGMENTATION:
"user_prompt_augmentation"
Defined in: packages/agentos/src/core/llm/IPromptEngine.ts:65
Dynamic content to be injected directly into the user part of the prompt.