- Python
- Javascript
- cURL
Python example:Response format:
Accepts 2 parameters:
-
word:str*RequiredThe input value that is provided in the “Query Word” Textbox component.
-
top_k:floatDefault: 10The input value that is provided in the “Number of Results” Slider component.
Returns 1 element
str | float | bool | list | dict
The output value that appears in the “Similar Words” Json component.