ConfiguredPromptManagerOptions interface

The configured PromptManager options.

Properties

max_conversation_history_tokens

Maximum number of tokens of conversation history to include in prompts.

max_history_messages

Maximum number of messages to use when rendering conversation_history.

max_input_tokens

Maximum number of tokens of user input to include in prompts.

promptsFolder

Path to the filesystem folder containing all the applications prompts.

role

Message role to use for loaded prompts.

Property Details

max_conversation_history_tokens

Maximum number of tokens of conversation history to include in prompts.

max_conversation_history_tokens: number

Property Value

number

max_history_messages

Maximum number of messages to use when rendering conversation_history.

max_history_messages: number

Property Value

number

max_input_tokens

Maximum number of tokens of user input to include in prompts.

max_input_tokens: number

Property Value

number

promptsFolder

Path to the filesystem folder containing all the applications prompts.

promptsFolder: string

Property Value

string

role

Message role to use for loaded prompts.

role: string

Property Value

string