Skip to content

Commit

Permalink
Update VectorSearch.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mingxiw authored Jan 4, 2025
1 parent b2be4b3 commit 9755101
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions demos/guru_scripts/docker/tutorial/4.x/VectorSearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,10 @@ Packages "gds.vector":
|gds.vector.elements_sum |`list<double> list1` |float|Calculates the sum of all elements in a vector, represented as a list of double values.
|gds.vector.kth_element |`list<double> list1, int index` |float|Retrieves the k-th element from a vector, represented as a list of double values.
You can also see these built-in function implementations, which is GSQL code. For example, if we want to see the `distance` function implementation, we can do
```python
GSQL>show function gds.vector.distance
```
[Go back to top](#top)

# Query Examples
Expand Down

0 comments on commit 9755101

Please sign in to comment.