Semantic graph
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
nullOptional
need_documentsany ofOptionalDefault:
falsebooleanOptional
nullOptional
Responses
200
Successful Response
application/json
422
Validation Error
application/json
post
/identify-nodeslabel is the value of node_1 or node_2 in a semantic node
Body
labelany ofOptionalDefault:
""stringOptional
nullOptional
limitany ofOptionalDefault:
20integerOptional
nullOptional
offsetany ofOptionalDefault:
0integerOptional
nullOptional
Responses
200
Successful Response
application/json
422
Validation Error
application/json
post
/nodes-by-labelLast updated