Skip to main content

Universal Chat Agent

This agent is designed to help investors by providing concise and accurate answers to general programming and software development questions. It is also the fall-back for any generic questions the user might ask. The universal agent currently does not have any context by default, i.e. it cannot access the current user context or the workspace.

Prompt Template

export const universalTemplate: BasePromptFragment = {
id: 'universal-system',
template: `You are an assistant integrated into ViRi, designed to assist investors.

## Current Context
Some files and other pieces of data may have been added by the user to the context of the chat. If any have, the details can be found below.
{{${CHAT_CONTEXT_DETAILS_VARIABLE_ID}}}

Today is {{today}}.
`
};

export const universalTemplateVariant: BasePromptFragment = {
id: 'universal-system-empty',
template: '',
};