Skip to content

Commit

Permalink
fix: TextEmbedder::embed visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
cvauclair committed Nov 29, 2024
1 parent c21f549 commit 1637c8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rig-core/src/embeddings/embed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ pub struct TextEmbedder {

impl TextEmbedder {
/// Adds input `text` string to the list of texts in the [TextEmbedder] that need to be embedded.
pub(crate) fn embed(&mut self, text: String) {
pub fn embed(&mut self, text: String) {
self.texts.push(text);
}
}
Expand Down

0 comments on commit 1637c8a

Please sign in to comment.