Semantic graph

identify nodes by a query

post

identify all nodes who is concerned by a query as context. Take care, if you select need_content=False, documents will retrieve you a List[str] who is a list of document ids. Else it will retrieve you a list of {id: str, content: List[str]} who represent the partial document involved by the node

Body
queryany ofOptional
stringOptional
or
nullOptional
need_documentsany ofOptionalDefault: false
booleanOptional
or
nullOptional
Responses
200

Successful Response

application/json
post
/identify-nodes

list nodes

post

List all nodes

Body
offsetany ofOptionalDefault: 0
integerOptional
or
nullOptional
limitany ofOptionalDefault: 50
integerOptional
or
nullOptional
Responses
200

Successful Response

application/json
post
/nodes

list nodes by label

post

label is the value of node_1 or node_2 in a semantic node

Body
labelany ofOptionalDefault: ""
stringOptional
or
nullOptional
limitany ofOptionalDefault: 20
integerOptional
or
nullOptional
offsetany ofOptionalDefault: 0
integerOptional
or
nullOptional
Responses
200

Successful Response

application/json
post
/nodes-by-label

list linked nodes by a given id

post

to find nodes similar to node_1 or node_2 of a semantic node

Body
idstringRequired
Responses
200

Successful Response

application/json
post
/linked-nodes-by-id

Last updated