Answer Server 25.3
Answer Server Help

# MaxQuestionSize

The maximum number of tokens that the question to Answer Server can contain. If a user question contains more than this number of tokens, Answer Server rejects the question and returns an error.

The token count for a question depends on the model that you use. To obtain an accurate token count for your model, you must provide a `get_token_count` function in the script that you use to call the LLM. See Create a RAG Script.

Type: | Integer
Default: | 50
Required: | No
Configuration Section: | MySystem
Example: | `MaxQuestionSize=70`
See Also: |

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: MaxQuestionSize