Nothing
test_that("Ollama code is covered", {
local_mocked_bindings(
chat = function(...) "positive"
)
llm_use("ollama", "llama3.2", .silent = TRUE, .force = TRUE)
expect_equal(
llm_vec_sentiment("I am happy"),
"positive"
)
})
test_that("No cache is saved if turned off", {
llm_use("simulate_llm", "echo", .silent = TRUE, .force = TRUE, .cache = "")
expect_equal(
llm_vec_custom("test text", "nothing new: "),
"test text"
)
})
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.