-
Notifications
You must be signed in to change notification settings - Fork 28
Description
It seems useful for the Translator Consortium to be able to know which KPs each ARA knows how to use.
In the past this has been handled with human interaction polling.
Does it seem useful to use the TRAPI definition to communicate which KPs an ARA is using?
For example, we could do:
x-translator:
supported_kps:
- infores:molepro
- infores:cohd
- ...
Sort of like a static poll that can be maintained by ARAs.
Another similar approach is not just to have a static statement in the definition, but rather have some active information returned in the Response. For example:
Response.kps = {
"infores:molepro": "0 results",
"infores:cohd": "skipped",
"infores:rtxkg2": "28 results"
}
If we wanted to be fancier we could even do it by edge, since which KPs an ARA consults varies by edge.
Response.kps = {
"e0": {
"infores:molepro": "0 results",
"infores:cohd": "skipped",
"infores:rtxkg2": "28 results"
}
}
None of this is necessary of course, but it may be very nice for reporting purposes.
It would allow a GUI to create a nifty graph of which KPs were consulted and how it went.