Nothing
test_that("embedding", {
skip_if_not(ping_ollama(silent = TRUE))
expect_equal(nrow(embed_text(c("Test 1", "Test 2"))), 2)
})
test_that("missing model", {
skip_if_not(ping_ollama(silent = TRUE))
expect_error(embed_text("test", model = "missing"),
"not.installed")
})
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.