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

fix: Add missing Embed::batch_size implementation #378

Merged
merged 4 commits into from
Oct 11, 2024

Conversation

rcjmurillo
Copy link
Contributor

transformers::Embed was missing the Embed::batch_size implementation for BatchableTransformer, causing the pipeline to always use the default batch size when using this transformer.

@rcjmurillo rcjmurillo changed the title Add missing Embed::batch_size implementation fix: Add missing Embed::batch_size implementation Oct 11, 2024
@timonv
Copy link
Member

timonv commented Oct 11, 2024

Indeed, nice find! Thank you for your contribution

@timonv timonv merged commit d74d85b into bosun-ai:master Oct 11, 2024
8 checks passed
timonv added a commit that referenced this pull request Oct 11, 2024
## 🤖 New release
* `swiftide`: 0.13.2 -> 0.13.3 (✓ API compatible changes)
* `swiftide-core`: 0.13.2 -> 0.13.3
* `swiftide-indexing`: 0.13.2 -> 0.13.3 (✓ API compatible changes)
* `swiftide-macros`: 0.13.2 -> 0.13.3
* `swiftide-integrations`: 0.13.2 -> 0.13.3 (✓ API compatible changes)
* `swiftide-query`: 0.13.2 -> 0.13.3

<details><summary><i><b>Changelog</b></i></summary><p>

## `swiftide`
<blockquote>

##
[0.13.3](v0.13.2...v0.13.3)
- 2024-10-11

### Bug fixes

-
[2647f16](2647f16)
*(deps)* Update rust crate text-splitter to 0.17
([#366](#366))

-
[d74d85b](d74d85b)
*(indexing)* Add missing `Embed::batch_size` implementation
([#378](#378))

-
[95f78d3](95f78d3)
*(tree-sitter)* Compile regex only once
([#371](#371))

````text
Regex compilation is not cheap, use a static with a oncelock instead.
````

### Miscellaneous

- [0000000](0000000) Update
Cargo.toml dependencies


**Full Changelog**:
0.13.2...0.13.3
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/MarcoIeni/release-plz/).

---------

Co-authored-by: Timon Vonk <timonv@gmail.com>
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