Optional systemSystem-level prompts with optional priority ordering. Higher priority usually means placed earlier or given more weight.
Optional priority?: numberOptional source?: stringOptional conversationConversation history messages, typically an array of Message objects.
Optional userCurrent user input text.
Optional visionVisual inputs (images) if the target model supports vision.
Optional audioAudio input data references if the model or a pre-processing step handles audio.
Optional toolsAvailable tools and their schemas, for models that support function/tool calling.
Optional toolPre-formatted tool/function schemas that should be forwarded to the model as-is. Useful when upstream logic has already normalized the schema definitions.
Optional retrievedRetrieved context from a RAG system, to be incorporated into the prompt.
Optional taskTask-specific data or parameters that need to be included in the prompt.
Optional customAdditional custom components that templates might use.
Core components that form the foundation of any prompt construction. These are gathered from various sources (GMI state, user input, RAG) and then augmented with dynamically selected contextual elements. PromptComponents