forked from tmc/langchaingo
-
Notifications
You must be signed in to change notification settings - Fork 0
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
merge #10
Merged
Merged
merge #10
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
1. Updated the .gitignore file to ignore the models generated in the new example directory 'examples/cybertron-embedding-example/models/*'. 2. Added a new example 'cybertron-embedding.go' in 'examples/cybertron-embedding-example' directory. This example demonstrates the usage of embeddings in the context of the 'cybertron' package. 3. Added the necessary go.mod and go.sum files for the new example. The changes provide a practical example of how to use embeddings with the 'cybertron' package. The update to .gitignore prevents the version control system from tracking the unnecessary model files generated by the new example. Resolves #494
Added a new package 'cybertron' under 'embeddings' to run embedding models locally. This includes the main 'cybertron.go' file, a test file 'cybertron_test.go', and an 'options.go' file for providing various options for the client. Resolves #494
huggingface: allows to set custom inference endpoint
cybertron: add example for cybertron embeddings
llms: Add convenience helper for text parts
There was no way to set the collection metadata even though the struct had a field for it. Therefor, I added an option so you can specify the metadata. If the collection already exists, the metadata gets updated.
vectorstores: Added the missing comment on the exported WithCollectionMetadata function
vectorstores: Added an option to specify the vector dimensions for the embeddings
…ctor with different dimensions Signed-off-by: Abirdcfly <fp544037857@gmail.com>
…out/langchaingo into pgvector-hnsw-index
vectorstores: Removed the custom ID option for embeddings when using PGVector
docs: Fix vertex example refs
agents: [OneShotZeroAgent] Change regex to allow multi-line inputs
vectorstores: Added the option to specify a HNSW index for improving performance
Callbacks Log: Implement logging for text types, fixes #596
vectorstores: fix pgvector return nothing when embedding table has ve…
agents: improve TestConversationalWithMemory testing
README: add link to new blog post about langchaingo
fix: stackoverflow caused by textspliter
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.
PR Checklist
memory: add interfaces for X, Y
orutil: add whizzbang helpers
).Fixes #123
).golangci-lint
checks.