sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Wcs_lib.Wcs_builderSourceWcs data structure constructors.
val list_workspaces_request :
?page_limit:int ->
?include_count:bool ->
?sort:Wcs_t.sort_workspace_criteria ->
?cursor:string ->
unit ->
Wcs_t.list_workspaces_requestval intent :
string ->
?description:string ->
?examples:string list ->
?created:string ->
?updated:string ->
unit ->
Wcs_t.intent_defval value :
string ->
?metadata:Wcs_t.json ->
?synonyms:string list ->
?created:string ->
?updated:string ->
unit ->
Wcs_t.entity_valueval entity :
string ->
?description:string ->
?metadata:Wcs_t.json ->
?source:string ->
?open_list:bool ->
?values:(string * string list) list ->
?created:string ->
?updated:string ->
?fuzzy_match:bool ->
unit ->
Wcs_t.entity_defval dialog_node :
string ->
?description:string ->
?type_:Wcs_t.dialog_node_type ->
?conditions:string ->
?parent:Wcs_t.dialog_node ->
?previous_sibling:Wcs_t.dialog_node ->
?text:string ->
?output:Wcs_t.output_def ->
?context:Wcs_t.json ->
?metadata:Wcs_t.json ->
?next_step:(Wcs_t.dialog_node * Wcs_t.selector) ->
?next_step_id:(string * Wcs_t.selector) ->
?created:string ->
?updated:string ->
?event_name:Wcs_t.dialog_node_event_name ->
?variable:string ->
unit ->
Wcs_t.dialog_nodeval response_condition :
parent:Wcs_t.dialog_node ->
?description:string ->
?conditions:string ->
?previous_sibling:Wcs_t.dialog_node ->
?text:string ->
?output:Wcs_t.output_def ->
?context:Wcs_t.json ->
?metadata:Wcs_t.json ->
?created:string ->
?updated:string ->
unit ->
Wcs_t.dialog_nodeval workspace :
string ->
?description:string ->
?language:string ->
?metadata:Wcs_t.json ->
?counterexamples:string list ->
?dialog_nodes:Wcs_t.dialog_node list ->
?entities:Wcs_t.entity_def list ->
?intents:Wcs_t.intent_def list ->
?created:string ->
?updated:string ->
?modified:string ->
?created_by:string ->
?modified_by:string ->
?workspace_id:string ->
?status:Wcs_t.workspace_status ->
unit ->
Wcs_t.workspaceval logs_request :
?filter:string ->
?sort:Wcs_t.sort_logs_criteria ->
?page_limit:int ->
?cursor:string ->
unit ->
Wcs_t.logs_requestval add_tree :
Wcs_t.dialog_node list ->
Wcs_t.dialog_node list ->
Wcs_t.dialog_node option ->
Wcs_t.dialog_node option ->
Wcs_t.dialog_node listadd_tree tree subtree parent previous_sibling add the tree subtree in the dialog tree. The root of subtree is attached at the position defined with parent and previous_sibling. If there was already a node at this postion, it becomes the last sibling of the root of subtree.
Tree access
get_root tree return the root of the dialog tree tree. It returns None if the tree is empty.