Skip to content

Commit

Permalink
fixing urls for CRAN v2
Browse files Browse the repository at this point in the history
  • Loading branch information
al2na committed Jun 27, 2024
1 parent 615f96a commit 00c06b8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: mergen
Type: Package
Title: AI-Driven Code Generation, Explanation and Execution for Data Analysis
Version: 0.2.0
Version: 0.2.1
Authors@R: c(
person("Altuna", "Akalin", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0002-0468-0117")),
Expand Down
6 changes: 3 additions & 3 deletions R/setupAgent.R
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ setupopenaiAgent<-function(model,type=c("chat","completion"),
#' For replicate models examples are:\itemize{
#' \item llama-2-70b-chat ( as '02e509c789964a7ea8736978a43525956ef40397be9033abf9fd2badfe68c9e3')
#' \item llama-2-13b-chat ( as 'f4e2de70d66816a838a89eeeb621910adffb0dd0baba3976c96980970978018d')}
#' For a full list of openAI models
#' \href{https://platform.openai.com/docs/models/overview/}{click here}. For a full list of Replicate models,
#' \href{https://replicate.com/collections/language-models/}{click here}.
#' For a full list of openAI models see
#' https://platform.openai.com/docs/models/overview/. For a full list of Replicate models,
#' see https://replicate.com/collections/language-models.
#' @param url the url for the API in case the API "generic" is selected. (Default: NULL)
#' @param ai_api_key personal API key for accessing LLM
#' @return A list holding agent information.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pak::pak("BIMSBbioinfo/mergen")
- Make an AI platform account. Choices are openai.com, neets.ai (at the time of writing free with some limits), replicate.com , perplexity.ai etc.
In addition, you can locally run an LLM in server mode and you can interact with it via API. One example is [GPT4all](https://gpt4all.io/index.html). Some of these solutions are not tested but should work with mergen.
- [Create an OpenAI API
key](https://platform.openai.com/account/api-keys) to use with the
key](https://platform.openai.com/docs/api-reference/introduction) to use with the
package
- [Create a replicate API key](https://replicate.com/pricing)
- Set up the API key in R
Expand Down
4 changes: 2 additions & 2 deletions man/setupAgent.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 00c06b8

Please sign in to comment.