Interface EssMdxGeneration
The generated query is the point of the call, but it is a suggestion and not a promise: it is
written by a language model against the cube's outline, so it can name a member that doesn't
exist or read the question the wrong way. Run it like any other MDX - through
EssCube.executeMdx(String) - and let the server be the judge.
getConversationId() is how a follow-up question keeps its context. The first call in
a conversation passes isConvStart; every later one quotes the id from the answer before
it, which is what lets "and the same for Qtr2" mean anything.
-
Method Summary
Modifier and TypeMethodDescriptionThe id tying this answer to the ones before and after it, for a multi-turn conversation.getMdx()The generated query, or null if the model answered without one.Whatever else came back, unmodified.
-
Method Details
-
getMdx
String getMdx()The generated query, or null if the model answered without one. -
getConversationId
String getConversationId()The id tying this answer to the ones before and after it, for a multi-turn conversation. -
getRawResponse
Whatever else came back, unmodified.Present because this end of the API is young and undocumented: the response is modeled on what a server was observed to send, and anything that model doesn't name yet is still reachable here rather than dropped on the floor.
-