Nothing
test_that("Gemini embeddings are consistent across batch sizes", {
testthat::skip_if(Sys.getenv("GEMINI_API_KEY") == "")
embs1 <- embed_google_gemini("hello world")
embs2 <- embed_google_gemini("another hello world")
embs <- embed_google_gemini(c("hello world", "another hello world"))
expect_equal(embs1[1, ], embs[1, ])
expect_equal(embs2[1, ], embs[2, ])
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.