Skip to content
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 95 commits into from
Feb 12, 2024
Merged

merge #10

merged 95 commits into from
Feb 12, 2024

Conversation

t0mpl
Copy link
Owner

@t0mpl t0mpl commented Feb 12, 2024

PR Checklist

  • Read the Contributing documentation.
  • Read the Code of conduct documentation.
  • Name your Pull Request title clearly, concisely, and prefixed with the name of the primarily affected package you changed according to Good commit messages (such as memory: add interfaces for X, Y or util: add whizzbang helpers).
  • Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. Fixes #123).
  • Describes the source of new concepts.
  • References existing implementations as appropriate.
  • Contains test coverage for new functions.
  • Passes all golangci-lint checks.

haochunchang and others added 30 commits January 21, 2024 15:50
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.
eliben and others added 29 commits January 29, 2024 17:11
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>
vectorstores: Removed the custom ID option for embeddings when using PGVector
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
@t0mpl t0mpl merged commit d58f5ce into t0mpl:main Feb 12, 2024
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.