Answer Server 25.3
Answer Server Help

# UserRole

The value that Answer Server uses in the conversation history `session_data` for lines that represent the user questions. 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 automated responses marked as Assistant. To use a different value for the user name, set `UserRole` 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: | User
Required: | No
Configuration Section: | MySystem
Example: | `UserRole=Customer`
See Also: | AssistantRole

Copyright 2016-2025 Open Text
Version 25.3 | Last updated July 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Answer Server 25.3

Topic Title: UserRole