You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
library(reticulate)
sentence_transformers<- import("sentence_transformers")
model<-sentence_transformers$SentenceTransformer("all-MiniLM-L6-v2")
sentences<- c("This is an example sentence.", "Another sentence.")
embeddings<-model$encode(sentences)
rlang::env_binding_are_lazy(embeddings)
#> Error in env_binding_types(env, nms): no binding for "all"
Created on 2025-03-14 with reprex v2.1.0
Real life example with reticulate objects :
Created on 2025-03-14 with reprex v2.1.0
I think
ls(, all.names = TRUE, sorted = FALSE)
should be used instead ofenv_names()
Edit: same for
env_binding_are_locked()
The text was updated successfully, but these errors were encountered: