Skip to content

Commit

Permalink
Merge pull request #34 from mlverse/updates
Browse files Browse the repository at this point in the history
Adds text simulation
  • Loading branch information
edgararuiz authored Dec 9, 2024
2 parents 96ae471 + f5c8b43 commit 9997c10
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion r/DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: mall
Title: Run Multiple Large Language Model Predictions Against a Table, or
Vectors
Version: 0.1.0
Version: 0.1.9000
Authors@R: c(
person("Edgar", "Ruiz", , "[email protected]", role = c("aut", "cre")),
person(given = "Posit Software, PBC", role = c("cph", "fnd"))
Expand Down
5 changes: 5 additions & 0 deletions r/NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# mall (dev)

* Adds new LLM Simulate mode for testing. With "text", you can pass a custom
return message by using the `text` argument.

# mall 0.1.0

* Initial CRAN submission.
2 changes: 2 additions & 0 deletions r/R/m-backend-submit.R
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ m_backend_submit.mall_simulate_llm <- function(backend,
out <- x
} else if (args$model == "prompt") {
out <- prompt
} else if (args$model == "text") {
out <- args$text
}
res <- NULL
if (m_cache_use()) {
Expand Down

0 comments on commit 9997c10

Please sign in to comment.