diff --git a/pkgdown.yml b/pkgdown.yml
index 07820d5..9fc7015 100644
--- a/pkgdown.yml
+++ b/pkgdown.yml
@@ -2,7 +2,7 @@ pandoc: 3.1.11
pkgdown: 2.0.7
pkgdown_sha: ~
articles: {}
-last_built: 2024-03-30T18:29Z
+last_built: 2024-04-06T18:03Z
urls:
reference: http://mistral.tada.science/reference
article: http://mistral.tada.science/articles
diff --git a/reference/as_messages.html b/reference/as_messages.html
index 518c5e1..73ee77e 100644
--- a/reference/as_messages.html
+++ b/reference/as_messages.html
@@ -48,7 +48,7 @@
Usage
-
as_messages(messages, ..., error_call = current_env())
+
as_messages(messages, ...)
@@ -58,14 +58,7 @@
Argumentsabort() for more information.
+These dots are for future extensions and must be empty.
diff --git a/search.json b/search.json
index 75bbe43..d7689b8 100644
--- a/search.json
+++ b/search.json
@@ -1 +1 @@
-[{"path":"http://mistral.tada.science/LICENSE.html","id":null,"dir":"","previous_headings":"","what":"MIT License","title":"MIT License","text":"Copyright (c) 2024 mistral.ai authors Permission hereby granted, free charge, person obtaining copy software associated documentation files (“Software”), deal Software without restriction, including without limitation rights use, copy, modify, merge, publish, distribute, sublicense, /sell copies Software, permit persons Software furnished , subject following conditions: copyright notice permission notice shall included copies substantial portions Software. SOFTWARE PROVIDED “”, WITHOUT WARRANTY KIND, EXPRESS IMPLIED, INCLUDING LIMITED WARRANTIES MERCHANTABILITY, FITNESS PARTICULAR PURPOSE NONINFRINGEMENT. EVENT SHALL AUTHORS COPYRIGHT HOLDERS LIABLE CLAIM, DAMAGES LIABILITY, WHETHER ACTION CONTRACT, TORT OTHERWISE, ARISING , CONNECTION SOFTWARE USE DEALINGS SOFTWARE.","code":""},{"path":"http://mistral.tada.science/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Romain François. Author, maintainer. Felix Mil. Author. James Wade. Author.","code":""},{"path":"http://mistral.tada.science/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"François R, Mil F, Wade J (2024). mistral.ai: Interact 'Mistral.AI' Api. R package version 0.0.0.9000, https://github.com/tadascience/mistral.ai, http://mistral.tada.science/.","code":"@Manual{, title = {mistral.ai: Interact with the 'Mistral.AI' Api}, author = {Romain François and Felix Mil and James Wade}, year = {2024}, note = {R package version 0.0.0.9000, https://github.com/tadascience/mistral.ai}, url = {http://mistral.tada.science/}, }"},{"path":"http://mistral.tada.science/index.html","id":"mistralai","dir":"","previous_headings":"","what":"Interact with the Mistral.AI Api","title":"Interact with the Mistral.AI Api","text":"goal mistral.ai …","code":""},{"path":"http://mistral.tada.science/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"Interact with the Mistral.AI Api","text":"can install development version mistral.ai GitHub :","code":"pak::pak(\"tadascience/mistral.ai\")"},{"path":"http://mistral.tada.science/index.html","id":"example","dir":"","previous_headings":"","what":"Example","title":"Interact with the Mistral.AI Api","text":"","code":"# available models mistral.ai::models() #> [1] \"open-mistral-7b\" \"mistral-tiny-2312\" \"mistral-tiny\" #> [4] \"open-mixtral-8x7b\" \"mistral-small-2312\" \"mistral-small\" #> [7] \"mistral-small-2402\" \"mistral-small-latest\" \"mistral-medium-latest\" #> [10] \"mistral-medium-2312\" \"mistral-medium\" \"mistral-large-latest\" #> [13] \"mistral-large-2402\" \"mistral-embed\" mistral.ai::chat(\"what is mistral ?\") #> ── assistant ─────────────────────────────────────────────────────────────────── #> Mistral is a French painter, born on December 30, 1887, in Maussane-Vésigneau, near Arles, in the south of France. His real name was Marcel Theodore Aurel Gustave Clément, but he adopted the pseudonym \"Mistral\" as a homage to the famous Provencal poet Frédéric Mistral. #> #> Mistral is best known for his vivid, colorful, and expressive paintings of the landscapes, people, and traditions of Provence. He was a key figure in the revival of interest in the art and culture of the region in the early 20th century. #> #> Mistral's style was influenced by the Fauves, a group of artists who sought to break away from traditional representational art and explore the expressive use of color and form. He also drew inspiration from the Impressionist and Post-Impressionist movements, as well as from the folk art and traditions of Provence. #> #> Mistral's work has been exhibited in major museums and galleries around the world, and he is considered one of the most important painters of the 20th century. He died in Paris on October 31, 1964. mistral.ai::stream(\"fun facts mistral.ai\") #> Mistral AI is a cutting-edge company based in Paris, France, developing large language models. Here are some fun facts about Mistral AI: #> #> 1. Founded in 2020: Mistral AI was founded in 2020 by Thomas Gotojevic, François-Xavier Carrier, and Adrien Duval, three researchers from the French National Institute for Computer Science and Applied Mathematics (INRIA). #> 2. Focus on large language models: Mistral AI is known for its focus on developing large language models, which are artificial intelligence models capable of understanding and generating human-like text. #> 3. Funding: The company has received significant funding, including a €100 million ($113 million) Series A round in March 2023, making it one of the largest AI funding rounds in Europe. #> 4. Collaborations: Mistral AI has collaborated with various organizations, including the French National Center for Scientific Research (CNRS), the École des Ponts ParisTech, and the École Normale Supérieure (ENS). #> 5. Open-source contributions: Mistral AI is committed to contributing to the open-source community. They have released various open-source projects, including the Mistral Model, a large language model that achieved state-of-the-art results on several benchmarks. #> 6. Multilingual capabilities: Mistral AI's language models can generate text in multiple languages, including English, French, German, Italian, Spanish, and more. #> 7. Interdisciplinary approach: Mistral AI's team comes from various backgrounds, including computer science, mathematics, physics, and linguistics, allowing for an interdisciplinary approach to AI research. #> 8. Ethical considerations: Mistral AI is committed to addressing ethical considerations in AI research, including bias, fairness, and transparency. They have published papers on these topics and are actively engaging in discussions with stakeholders. #> 9. Diverse applications: Mistral AI's language models have various applications, including language translation, text summarization, and text generation for creative writing and storytelling. #> 10. Future plans: Mistral AI plans to continue developing large language models and exploring their applications in various fields, including education, healthcare, and creativity. They also aim to contribute to the development of a more ethical and transparent AI industry."},{"path":"http://mistral.tada.science/reference/as_messages.html","id":null,"dir":"Reference","previous_headings":"","what":"Convert object into a messages list — as_messages","title":"Convert object into a messages list — as_messages","text":"Convert object messages list","code":""},{"path":"http://mistral.tada.science/reference/as_messages.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Convert object into a messages list — as_messages","text":"","code":"as_messages(messages, ..., error_call = current_env())"},{"path":"http://mistral.tada.science/reference/as_messages.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Convert object into a messages list — as_messages","text":"messages object convert messages ... ignored error_call execution environment currently running function, e.g. caller_env(). function mentioned error messages source error. See call argument abort() information.","code":""},{"path":"http://mistral.tada.science/reference/as_messages.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Convert object into a messages list — as_messages","text":"","code":"as_messages(\"hello\") #> [[1]] #> [[1]]$role #> [1] \"user\" #> #> [[1]]$content #> [1] \"hello\" #> #> as_messages(list(\"hello\")) #> [[1]] #> [[1]]$role #> [1] \"user\" #> #> [[1]]$content #> [1] \"hello\" #> #> as_messages(list(assistant = \"hello\", user = \"hello\")) #> [[1]] #> [[1]]$role #> [1] \"assistant\" #> #> [[1]]$content #> [1] \"hello\" #> #> #> [[2]] #> [[2]]$role #> [1] \"user\" #> #> [[2]]$content #> [1] \"hello\" #> #>"},{"path":"http://mistral.tada.science/reference/chat.html","id":null,"dir":"Reference","previous_headings":"","what":"Chat with the Mistral api — chat","title":"Chat with the Mistral api — chat","text":"Chat Mistral api stream","code":""},{"path":"http://mistral.tada.science/reference/chat.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Chat with the Mistral api — chat","text":"","code":"chat(messages, model = \"mistral-tiny\", ..., error_call = current_env()) stream(messages, model = \"mistral-tiny\", ..., error_call = current_env())"},{"path":"http://mistral.tada.science/reference/chat.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Chat with the Mistral api — chat","text":"messages Messages model model use. See models() information models available ... dots future extensions must empty. error_call execution environment currently running function, e.g. caller_env(). function mentioned error messages source error. See call argument abort() information.","code":""},{"path":"http://mistral.tada.science/reference/chat.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Chat with the Mistral api — chat","text":"tibble columns role content class chat_tibble request dry_run","code":""},{"path":"http://mistral.tada.science/reference/chat.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Chat with the Mistral api — chat","text":"","code":"if (FALSE) { chat(\"Top 5 R packages\") }"},{"path":"http://mistral.tada.science/reference/models.html","id":null,"dir":"Reference","previous_headings":"","what":"Retrieve all models available in the Mistral API — models","title":"Retrieve all models available in the Mistral API — models","text":"Retrieve models available Mistral API","code":""},{"path":"http://mistral.tada.science/reference/models.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Retrieve all models available in the Mistral API — models","text":"","code":"models(error_call = caller_env())"},{"path":"http://mistral.tada.science/reference/models.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Retrieve all models available in the Mistral API — models","text":"error_call execution environment currently running function, e.g. caller_env(). function mentioned error messages source error. See call argument abort() information.","code":""},{"path":"http://mistral.tada.science/reference/models.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Retrieve all models available in the Mistral API — models","text":"character vector models available Mistral API","code":""},{"path":"http://mistral.tada.science/reference/models.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Retrieve all models available in the Mistral API — models","text":"","code":"if (FALSE) { models() }"}]
+[{"path":"http://mistral.tada.science/LICENSE.html","id":null,"dir":"","previous_headings":"","what":"MIT License","title":"MIT License","text":"Copyright (c) 2024 mistral.ai authors Permission hereby granted, free charge, person obtaining copy software associated documentation files (“Software”), deal Software without restriction, including without limitation rights use, copy, modify, merge, publish, distribute, sublicense, /sell copies Software, permit persons Software furnished , subject following conditions: copyright notice permission notice shall included copies substantial portions Software. SOFTWARE PROVIDED “”, WITHOUT WARRANTY KIND, EXPRESS IMPLIED, INCLUDING LIMITED WARRANTIES MERCHANTABILITY, FITNESS PARTICULAR PURPOSE NONINFRINGEMENT. EVENT SHALL AUTHORS COPYRIGHT HOLDERS LIABLE CLAIM, DAMAGES LIABILITY, WHETHER ACTION CONTRACT, TORT OTHERWISE, ARISING , CONNECTION SOFTWARE USE DEALINGS SOFTWARE.","code":""},{"path":"http://mistral.tada.science/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Romain François. Author, maintainer. Felix Mil. Author. James Wade. Author.","code":""},{"path":"http://mistral.tada.science/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"François R, Mil F, Wade J (2024). mistral.ai: Interact 'Mistral.AI' Api. R package version 0.0.0.9000, https://github.com/tadascience/mistral.ai, http://mistral.tada.science/.","code":"@Manual{, title = {mistral.ai: Interact with the 'Mistral.AI' Api}, author = {Romain François and Felix Mil and James Wade}, year = {2024}, note = {R package version 0.0.0.9000, https://github.com/tadascience/mistral.ai}, url = {http://mistral.tada.science/}, }"},{"path":"http://mistral.tada.science/index.html","id":"mistralai","dir":"","previous_headings":"","what":"Interact with the Mistral.AI Api","title":"Interact with the Mistral.AI Api","text":"goal mistral.ai …","code":""},{"path":"http://mistral.tada.science/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"Interact with the Mistral.AI Api","text":"can install development version mistral.ai GitHub :","code":"pak::pak(\"tadascience/mistral.ai\")"},{"path":"http://mistral.tada.science/index.html","id":"example","dir":"","previous_headings":"","what":"Example","title":"Interact with the Mistral.AI Api","text":"","code":"# available models mistral.ai::models() #> [1] \"open-mistral-7b\" \"mistral-tiny-2312\" \"mistral-tiny\" #> [4] \"open-mixtral-8x7b\" \"mistral-small-2312\" \"mistral-small\" #> [7] \"mistral-small-2402\" \"mistral-small-latest\" \"mistral-medium-latest\" #> [10] \"mistral-medium-2312\" \"mistral-medium\" \"mistral-large-latest\" #> [13] \"mistral-large-2402\" \"mistral-embed\" mistral.ai::chat(\"what is mistral ?\") #> ── assistant ─────────────────────────────────────────────────────────────────── #> Mistral is a French painter, born on December 30, 1887, in Maussane-Vésigneau, near Arles, in the south of France. His real name was Marcel Theodore Aurel Gustave Clément, but he adopted the pseudonym \"Mistral\" as a homage to the famous Provencal poet Frédéric Mistral. #> #> Mistral is best known for his vivid, colorful, and expressive paintings of the landscapes, people, and traditions of Provence. He was a key figure in the revival of interest in the art and culture of the region in the early 20th century. #> #> Mistral's style was influenced by the Fauves, a group of artists who sought to break away from traditional representational art and explore the expressive use of color and form. He also drew inspiration from the Impressionist and Post-Impressionist movements, as well as from the folk art and traditions of Provence. #> #> Mistral's work has been exhibited in major museums and galleries around the world, and he is considered one of the most important painters of the 20th century. He died in Paris on October 31, 1964. mistral.ai::stream(\"fun facts mistral.ai\") #> Mistral AI is a cutting-edge company based in Paris, France, developing large language models. Here are some fun facts about Mistral AI: #> #> 1. Founded in 2020: Mistral AI was founded in 2020 by Thomas Gotojevic, François-Xavier Carrier, and Adrien Duval, three researchers from the French National Institute for Computer Science and Applied Mathematics (INRIA). #> 2. Focus on large language models: Mistral AI is known for its focus on developing large language models, which are artificial intelligence models capable of understanding and generating human-like text. #> 3. Funding: The company has received significant funding, including a €100 million ($113 million) Series A round in March 2023, making it one of the largest AI funding rounds in Europe. #> 4. Collaborations: Mistral AI has collaborated with various organizations, including the French National Center for Scientific Research (CNRS), the École des Ponts ParisTech, and the École Normale Supérieure (ENS). #> 5. Open-source contributions: Mistral AI is committed to contributing to the open-source community. They have released various open-source projects, including the Mistral Model, a large language model that achieved state-of-the-art results on several benchmarks. #> 6. Multilingual capabilities: Mistral AI's language models can generate text in multiple languages, including English, French, German, Italian, Spanish, and more. #> 7. Interdisciplinary approach: Mistral AI's team comes from various backgrounds, including computer science, mathematics, physics, and linguistics, allowing for an interdisciplinary approach to AI research. #> 8. Ethical considerations: Mistral AI is committed to addressing ethical considerations in AI research, including bias, fairness, and transparency. They have published papers on these topics and are actively engaging in discussions with stakeholders. #> 9. Diverse applications: Mistral AI's language models have various applications, including language translation, text summarization, and text generation for creative writing and storytelling. #> 10. Future plans: Mistral AI plans to continue developing large language models and exploring their applications in various fields, including education, healthcare, and creativity. They also aim to contribute to the development of a more ethical and transparent AI industry."},{"path":"http://mistral.tada.science/reference/as_messages.html","id":null,"dir":"Reference","previous_headings":"","what":"Convert object into a messages list — as_messages","title":"Convert object into a messages list — as_messages","text":"Convert object messages list","code":""},{"path":"http://mistral.tada.science/reference/as_messages.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Convert object into a messages list — as_messages","text":"","code":"as_messages(messages, ...)"},{"path":"http://mistral.tada.science/reference/as_messages.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Convert object into a messages list — as_messages","text":"messages object convert messages ... dots future extensions must empty.","code":""},{"path":"http://mistral.tada.science/reference/as_messages.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Convert object into a messages list — as_messages","text":"","code":"as_messages(\"hello\") #> [[1]] #> [[1]]$role #> [1] \"user\" #> #> [[1]]$content #> [1] \"hello\" #> #> as_messages(list(\"hello\")) #> [[1]] #> [[1]]$role #> [1] \"user\" #> #> [[1]]$content #> [1] \"hello\" #> #> as_messages(list(assistant = \"hello\", user = \"hello\")) #> [[1]] #> [[1]]$role #> [1] \"assistant\" #> #> [[1]]$content #> [1] \"hello\" #> #> #> [[2]] #> [[2]]$role #> [1] \"user\" #> #> [[2]]$content #> [1] \"hello\" #> #>"},{"path":"http://mistral.tada.science/reference/chat.html","id":null,"dir":"Reference","previous_headings":"","what":"Chat with the Mistral api — chat","title":"Chat with the Mistral api — chat","text":"Chat Mistral api stream","code":""},{"path":"http://mistral.tada.science/reference/chat.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Chat with the Mistral api — chat","text":"","code":"chat(messages, model = \"mistral-tiny\", ..., error_call = current_env()) stream(messages, model = \"mistral-tiny\", ..., error_call = current_env())"},{"path":"http://mistral.tada.science/reference/chat.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Chat with the Mistral api — chat","text":"messages Messages model model use. See models() information models available ... dots future extensions must empty. error_call execution environment currently running function, e.g. caller_env(). function mentioned error messages source error. See call argument abort() information.","code":""},{"path":"http://mistral.tada.science/reference/chat.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Chat with the Mistral api — chat","text":"tibble columns role content class chat_tibble request dry_run","code":""},{"path":"http://mistral.tada.science/reference/chat.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Chat with the Mistral api — chat","text":"","code":"if (FALSE) { chat(\"Top 5 R packages\") }"},{"path":"http://mistral.tada.science/reference/models.html","id":null,"dir":"Reference","previous_headings":"","what":"Retrieve all models available in the Mistral API — models","title":"Retrieve all models available in the Mistral API — models","text":"Retrieve models available Mistral API","code":""},{"path":"http://mistral.tada.science/reference/models.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Retrieve all models available in the Mistral API — models","text":"","code":"models(error_call = caller_env())"},{"path":"http://mistral.tada.science/reference/models.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Retrieve all models available in the Mistral API — models","text":"error_call execution environment currently running function, e.g. caller_env(). function mentioned error messages source error. See call argument abort() information.","code":""},{"path":"http://mistral.tada.science/reference/models.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Retrieve all models available in the Mistral API — models","text":"character vector models available Mistral API","code":""},{"path":"http://mistral.tada.science/reference/models.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Retrieve all models available in the Mistral API — models","text":"","code":"if (FALSE) { models() }"}]