Skip to content

javascript: improve typings#653

Merged
ashvardanian merged 1 commit intounum-cloud:mainfrom
rockwotj:patch-1
Aug 31, 2025
Merged

javascript: improve typings#653
ashvardanian merged 1 commit intounum-cloud:mainfrom
rockwotj:patch-1

Conversation

@rockwotj
Copy link
Copy Markdown
Contributor

Add can take a matric due to normalizeVectors being called.

Additionally, support more strict typing in search: if you only search with a single vector input, you get a Matches object back. This simplifies the API instead of having to assert on the return type as a user of the library.

Add can take a matric due to normalizeVectors being called.

Additionally, support more strict typing in `search`: if you only search with a single vector input, you get a Matches object back. This simplifies the API instead of having to assert on the return type as a user of the library.
@ashvardanian ashvardanian merged commit 97ff4b2 into unum-cloud:main Aug 31, 2025
ashvardanian pushed a commit that referenced this pull request Aug 31, 2025
### Patch

- Improve: Support more input types in JS (#653) (97ff4b2)
@ashvardanian
Copy link
Copy Markdown
Contributor

Thank you, @rockwotj!

@rockwotj rockwotj deleted the patch-1 branch August 31, 2025 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants