-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C# Bindings & broader type-system for Rust #231
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add initial C# bindings
…mantic-kernel-integration 160 feature c bindings and semantic kernel integration
…mantic-kernel-integration C# bindings updates
…mantic-kernel-integration Add support for usearch_scalar_f16_k.
… vector and add all test runs.
…mantic-kernel-integration C# bindings updates
This commit consist of 5 commits squashed into 1, as they were complitely refactored by next one. Squashed commits: * Refactor and add Linux support * Fix Linux build * Use ulong instead of int, fix usearch_get and add test * Add support for usearch_scalar_f16_k * Fix marshalling of bool as return type, fix marshalling of f16_bits_t vector and add all test runs.
This commit rewrites the 'csharp' directory. The code in the existing files was used and rewritten.
Exclude temporary folders generated by C# builds. And fix typo in comments.
Changes: * Add .yml config for Github Actions for linux, windows, macos environment * Add command to makefile to build .dll, .dylib dynamic libraries * Refactor csharp code logic for finding library path based on RID
Changes: 1) Change target framework to netstandard2.0 2) Make code compatible with C# 7 3) Remove Half type due to incompatibility with C# 7 4) setd dotnet default solution in vscode
Replaced dictionary usage with keys and distances . Thus types are more consistent with C# and C interface. Note: C# arrays cannot have an index greater than Int.Max32.
…-semantic-kernel-integration Refactor of C# Bindings
* Set namespace to Cloud.Unum.USearch * Move USearchException outside of class * Fix format of some parameters, e.g. from snake_case to camelCase * Order methods by visibility * Add EditorConfig settings * Add standard .gitignore for .NET projects
This commit introduce changes in C# binding. It contains fixes, massive code refactor, build scripts, docs. In particular these changes: - Make: .yml workflow to create artifacts usearch libs - Make: .yml workflows for build, test, pack, send to nuget - Make: Build scripts - Refactor: Change names of dirs, project, code - Docs: README files with quickstart and for nuget
Change method declarations, add new functions, add tests.
Now Get() return jagged array instead of multidimensional. Tests added.
…-semantic-kernel-integration 160 feature c bindings and semantic kernel integration
…mantic-kernel-integration C# Language Bindings
🎉 This PR is included in version 2.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.