AssistantRole

The value that Answer Server uses in the conversation history session_data for lines that represent the generated responses. This parameter applies only when Type is set to RAG.

By default, when you access session data in your RAG script, Answer Server returns the conversation history with the user input tagged as User and the generated responses marked as Assistant. To use a different value for the generated responses, set AssistantRole to the name to use.

Answer Server uses these values in the call to the LLM with the topic template, when you set TopicTemplatePath. It does not use them in the final question answering call to the LLM.

Type: String
Default: Assistant
Required: No
Configuration Section: MySystem
Example: AssistantRole=ChatBot
See Also: UserRole