Class ActionConstants
java.lang.Object
org.opensearch.ml.common.conversation.ActionConstants
Constants for conversational actions
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringname of metadata field in all requestsstatic final Stringname of AI response field in all respopnsesstatic final Stringname of conversation Id field in all responsesstatic final Stringpath for create conversationstatic final Stringpath for create interactionstatic final intdefault max results returned by get operationsstatic final Stringdefault username for reporting security errors if no or malformed usernamestatic final Stringpath for delete conversationstatic final Stringpath for get conversationstatic final Stringpath for get conversationsstatic final Stringpath for get interactionstatic final Stringpath for get interactionsstatic final Stringpath for get tracesstatic final Stringname of input field in all requestsstatic final Stringparameter for memory_id in URLsstatic final Stringparameter for message_id in URLsstatic final Stringname of nextToken field name in all messagesstatic final Stringname of metadata field in all requestsstatic final Stringname of prompt template field in all requestsstatic final Stringname of conversation name in all requestsstatic final Stringname of maxResults field name in all requestsstatic final Stringname of list of conversations in all responsesstatic final Stringname of interaction Id field in all responsesstatic final Stringname of list on interactions in all responsesstatic final Stringname of origin field in all requestsstatic final Stringname of list on traces in all responsesstatic final Stringpath for search conversationsstatic final Stringpath for search interactionsstatic final Stringname of success field in all requestsstatic final Stringname of metadata field in all requestsstatic final Stringpath for update conversationsstatic final Stringpath for update interactions -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
CONVERSATION_ID_FIELD
name of conversation Id field in all responses- See Also:
-
RESPONSE_CONVERSATION_LIST_FIELD
name of list of conversations in all responses- See Also:
-
RESPONSE_INTERACTION_LIST_FIELD
name of list on interactions in all responses- See Also:
-
RESPONSE_TRACES_LIST_FIELD
name of list on traces in all responses- See Also:
-
RESPONSE_INTERACTION_ID_FIELD
name of interaction Id field in all responses- See Also:
-
REQUEST_CONVERSATION_NAME_FIELD
name of conversation name in all requests- See Also:
-
REQUEST_MAX_RESULTS_FIELD
name of maxResults field name in all requests- See Also:
-
NEXT_TOKEN_FIELD
name of nextToken field name in all messages- See Also:
-
INPUT_FIELD
name of input field in all requests- See Also:
-
AI_RESPONSE_FIELD
name of AI response field in all respopnses- See Also:
-
RESPONSE_ORIGIN_FIELD
name of origin field in all requests- See Also:
-
PROMPT_TEMPLATE_FIELD
name of prompt template field in all requests- See Also:
-
ADDITIONAL_INFO_FIELD
name of metadata field in all requests- See Also:
-
PARENT_INTERACTION_ID_FIELD
name of metadata field in all requests- See Also:
-
TRACE_NUMBER_FIELD
name of metadata field in all requests- See Also:
-
SUCCESS_FIELD
name of success field in all requests- See Also:
-
MEMORY_ID
parameter for memory_id in URLs- See Also:
-
MESSAGE_ID
parameter for message_id in URLs- See Also:
-
CREATE_CONVERSATION_REST_PATH
path for create conversation- See Also:
-
GET_CONVERSATIONS_REST_PATH
path for get conversations- See Also:
-
UPDATE_CONVERSATIONS_REST_PATH
path for update conversations- See Also:
-
CREATE_INTERACTION_REST_PATH
path for create interaction- See Also:
-
GET_INTERACTIONS_REST_PATH
path for get interactions- See Also:
-
GET_TRACES_REST_PATH
path for get traces- See Also:
-
DELETE_CONVERSATION_REST_PATH
path for delete conversation- See Also:
-
SEARCH_CONVERSATIONS_REST_PATH
path for search conversations- See Also:
-
SEARCH_INTERACTIONS_REST_PATH
path for search interactions- See Also:
-
UPDATE_INTERACTIONS_REST_PATH
path for update interactions- See Also:
-
GET_CONVERSATION_REST_PATH
path for get conversation- See Also:
-
GET_INTERACTION_REST_PATH
path for get interaction- See Also:
-
DEFAULT_MAX_RESULTS
public static final int DEFAULT_MAX_RESULTSdefault max results returned by get operations- See Also:
-
DEFAULT_USERNAME_FOR_ERRORS
default username for reporting security errors if no or malformed username- See Also:
-
-
Constructor Details
-
ActionConstants
public ActionConstants()
-