DOORS Next Requirements Intelligence Assistant produces error on any question
Hello together
I have installed DNG Requirements Intelligence Assistant following the instructions from GitHub: https://github.com/IBM/doors-next-ri
I managed to add the extension to an ELM 7.1.0 SR1 instance, but even with an opened RM project, asking anything results in "Getting answer from documents..." and no answer at all.
The output from Requirements Intelligence server says the following on each request:
[2025-10-04 10:43:49,085] ERROR in app: Exception on /queryrequirement [POST]
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1511, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 919, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.10/site-packages/flask_cors/extension.py", line 176, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 917, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 902, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
File "/app/src/app.py", line 26, in post_query_requirement
requirements = request.json['requirements']
KeyError: 'requirements'
10.11.12.13 - - [04/Oct/2025 10:43:49] "POST /queryrequirement HTTP/1.1" 500 -
[2025-10-04 10:43:49,085] ERROR in app: Exception on /queryrequirement [POST]
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1511, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 919, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.10/site-packages/flask_cors/extension.py", line 176, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 917, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 902, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
File "/app/src/app.py", line 26, in post_query_requirement
requirements = request.json['requirements']
KeyError: 'requirements'
10.11.12.13 - - [04/Oct/2025 10:43:49] "POST /queryrequirement HTTP/1.1" 500 -
I tried the models ibm/granite-13b-instruct-v2 and ibm/granite-3-3-8b-instruct but both result in the same error.
Another difference I have observed that my extension looks a bit different missing the model selector and prompt editor.
Is there anybody having the same experience or can help on debugging this?
Best regards
Tristan
Tristan