Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
    Page
Library
Module
Module type
Parameter
Class
Class type
Source
Wcs_lib.Wcs_jSourceWatson Conversation Service data structures.
Data srcutures used in Watson Conversation Service.
Based on the documentation available at: https://www.ibm.com/watson/developercloud/conversation/api/v1/
Version 2017-05-26.
Type of arbitraty JSON values.
type workspace_response = Wcs_t.workspace_response = {ws_rsp_name : string option;ws_rsp_description : string option;ws_rsp_language : string option;ws_rsp_metadata : json option;ws_rsp_created : string option;ws_rsp_updated : string option;ws_rsp_workspace_id : string;}A workspace metadata.
Goto selector.
Type of outputs of a dialog node.
type next_step = Wcs_t.next_step = {next_behavior : string;next_selector : selector;next_dialog_node : string;}Type of goto definitions.
Type of intent examples.
type intent_def = Wcs_t.intent_def = {i_def_intent : string;i_def_description : string option;i_def_examples : intent_example list;i_def_created : string option;i_def_updated : string option;}Type of intent definitions.
type entity_value = Wcs_t.entity_value = {e_value : string;e_metadata : json option;e_synonyms : string list;e_created : string option;e_updated : string option;}Type of entity values.
type entity_def = Wcs_t.entity_def = {e_def_entity : string;e_def_description : string option;e_def_metadata : json option;e_def_source : string option;e_def_open_list : bool option;e_def_values : entity_value list;e_def_created : string option;e_def_updated : string option;e_def_fuzzy_match : bool option;}Type of entity definitions.
Dialog node type.
type dialog_node = Wcs_t.dialog_node = {node_dialog_node : string;node_type_ : dialog_node_type option;node_description : string option;node_conditions : string option;node_parent : string option;node_previous_sibling : string option;node_output : output_def option;node_context : json option;node_metadata : json option;node_next_step : next_step option;node_child_input_kind : string option;node_created : string option;node_updated : string option;node_event_name : dialog_node_event_name option;node_variable : string option;}Type of dialog nodes.
type workspace = Wcs_t.workspace = {ws_name : string option;ws_description : string option;ws_language : string option;ws_metadata : json option;ws_counterexamples : intent_example list;ws_dialog_nodes : dialog_node list;ws_entities : entity_def list;ws_intents : intent_def list;ws_created : string option;ws_updated : string option;ws_modified : string option;ws_created_by : string option;ws_modified_by : string option;ws_workspace_id : string option;ws_status : workspace_status option;}Type of workspaces
Supported versions
Sorting criteria for list of workspaces.
Sorting criteria for logs.
type pagination_response = Wcs_t.pagination_response = {pag_refresh_url : string option;pag_next_url : string option;pag_total : int option;pag_matched : int option;}Pagination information
type output = Wcs_t.output = {out_log_messages : log_message list;out_text : string list;out_nodes_visited : string list;out_error : string option;}type log_entry = Wcs_t.log_entry = {log_request : message_request;log_response : message_response;log_log_id : string;log_request_timestamp : string;log_response_timestamp : string;}type logs_response = Wcs_t.logs_response = {logs_rsp_logs : log_entry list;logs_rsp_pagination : pagination_response;}type logs_request = Wcs_t.logs_request = {logs_filter : string option;logs_sort : sort_logs_criteria option;logs_page_limit : int option;logs_cursor : string option;}Request for the list the events from the log of a workspace.
type list_workspaces_response = Wcs_t.list_workspaces_response = {list_ws_rsp_workspaces : workspace_response list;list_ws_rsp_pagination : pagination_response;}Response to the list of workspaces request.
type list_workspaces_request = Wcs_t.list_workspaces_request = {list_ws_req_page_limit : int option;list_ws_req_include_count : bool option;list_ws_req_sort : sort_workspace_criteria option;list_ws_req_cursor : string option;}Request the list of workspaces.
Watson Conversation Service credentials.
type create_response = Wcs_t.create_response = {crea_rsp_name : string option;crea_rsp_description : string option;crea_rsp_language : string option;crea_rsp_metadata : json option;crea_rsp_created : string option;crea_rsp_updated : string option;crea_rsp_workspace_id : string option;}type action = Wcs_t.action = {act_name : string;act_agent : string;act_type_ : string;act_parameters : json;act_result_variable : string option;}Output a JSON value of type workspace_status.
Serialize a value of type workspace_status into a JSON string.
Input JSON data of type workspace_status.
Deserialize JSON data of type workspace_status.
Serialize a value of type json into a JSON string.
Input JSON data of type json.
Output a JSON value of type workspace_response.
Serialize a value of type workspace_response into a JSON string.
Input JSON data of type workspace_response.
Deserialize JSON data of type workspace_response.
Serialize a value of type selector into a JSON string.
Input JSON data of type selector.
Output a JSON value of type output_def.
Serialize a value of type output_def into a JSON string.
Input JSON data of type output_def.
Deserialize JSON data of type output_def.
Serialize a value of type next_step into a JSON string.
Input JSON data of type next_step.
Output a JSON value of type intent_example.
Serialize a value of type intent_example into a JSON string.
Input JSON data of type intent_example.
Deserialize JSON data of type intent_example.
Output a JSON value of type intent_def.
Serialize a value of type intent_def into a JSON string.
Input JSON data of type intent_def.
Deserialize JSON data of type intent_def.
Output a JSON value of type entity_value.
Serialize a value of type entity_value into a JSON string.
Input JSON data of type entity_value.
Deserialize JSON data of type entity_value.
Output a JSON value of type entity_def.
Serialize a value of type entity_def into a JSON string.
Input JSON data of type entity_def.
Deserialize JSON data of type entity_def.
Output a JSON value of type dialog_node_type.
Serialize a value of type dialog_node_type into a JSON string.
Input JSON data of type dialog_node_type.
Deserialize JSON data of type dialog_node_type.
Output a JSON value of type dialog_node_event_name.
Serialize a value of type dialog_node_event_name into a JSON string.
val read_dialog_node_event_name : 
  Yojson.Safe.lexer_state ->
  Lexing.lexbuf ->
  dialog_node_event_nameInput JSON data of type dialog_node_event_name.
Deserialize JSON data of type dialog_node_event_name.
Output a JSON value of type dialog_node.
Serialize a value of type dialog_node into a JSON string.
Input JSON data of type dialog_node.
Deserialize JSON data of type dialog_node.
Serialize a value of type workspace into a JSON string.
Input JSON data of type workspace.
Serialize a value of type version into a JSON string.
Input JSON data of type version.
Output a JSON value of type sort_workspace_criteria.
Serialize a value of type sort_workspace_criteria into a JSON string.
val read_sort_workspace_criteria : 
  Yojson.Safe.lexer_state ->
  Lexing.lexbuf ->
  sort_workspace_criteriaInput JSON data of type sort_workspace_criteria.
Deserialize JSON data of type sort_workspace_criteria.
Output a JSON value of type sort_logs_criteria.
Serialize a value of type sort_logs_criteria into a JSON string.
Input JSON data of type sort_logs_criteria.
Deserialize JSON data of type sort_logs_criteria.
Output a JSON value of type pagination_response.
Serialize a value of type pagination_response into a JSON string.
val read_pagination_response : 
  Yojson.Safe.lexer_state ->
  Lexing.lexbuf ->
  pagination_responseInput JSON data of type pagination_response.
Deserialize JSON data of type pagination_response.
Output a JSON value of type log_message.
Serialize a value of type log_message into a JSON string.
Input JSON data of type log_message.
Deserialize JSON data of type log_message.
Serialize a value of type output into a JSON string.
Input JSON data of type output.
Serialize a value of type intent into a JSON string.
Input JSON data of type intent.
Serialize a value of type input into a JSON string.
Input JSON data of type input.
Serialize a value of type entity into a JSON string.
Input JSON data of type entity.
Output a JSON value of type message_response.
Serialize a value of type message_response into a JSON string.
Input JSON data of type message_response.
Deserialize JSON data of type message_response.
Output a JSON value of type message_request.
Serialize a value of type message_request into a JSON string.
Input JSON data of type message_request.
Deserialize JSON data of type message_request.
Serialize a value of type log_entry into a JSON string.
Input JSON data of type log_entry.
Output a JSON value of type logs_response.
Serialize a value of type logs_response into a JSON string.
Input JSON data of type logs_response.
Deserialize JSON data of type logs_response.
Output a JSON value of type logs_request.
Serialize a value of type logs_request into a JSON string.
Input JSON data of type logs_request.
Deserialize JSON data of type logs_request.
Output a JSON value of type list_workspaces_response.
Serialize a value of type list_workspaces_response into a JSON string.
val read_list_workspaces_response : 
  Yojson.Safe.lexer_state ->
  Lexing.lexbuf ->
  list_workspaces_responseInput JSON data of type list_workspaces_response.
Deserialize JSON data of type list_workspaces_response.
Output a JSON value of type list_workspaces_request.
Serialize a value of type list_workspaces_request into a JSON string.
val read_list_workspaces_request : 
  Yojson.Safe.lexer_state ->
  Lexing.lexbuf ->
  list_workspaces_requestInput JSON data of type list_workspaces_request.
Deserialize JSON data of type list_workspaces_request.
Output a JSON value of type get_workspace_request.
Serialize a value of type get_workspace_request into a JSON string.
val read_get_workspace_request : 
  Yojson.Safe.lexer_state ->
  Lexing.lexbuf ->
  get_workspace_requestInput JSON data of type get_workspace_request.
Deserialize JSON data of type get_workspace_request.
Output a JSON value of type credential.
Serialize a value of type credential into a JSON string.
Input JSON data of type credential.
Deserialize JSON data of type credential.
Output a JSON value of type create_response.
Serialize a value of type create_response into a JSON string.
Input JSON data of type create_response.
Deserialize JSON data of type create_response.
Serialize a value of type context into a JSON string.
Input JSON data of type context.
Serialize a value of type action into a JSON string.
Input JSON data of type action.