Recent Releases of ollamar
ollamar - ollamar 1.2.2
generate()andchat()support structured output viaformatparameter.test_connection()returnshttr2::responseobject by default, but also support returning a logical value. #29chat()supports tool calling viatoolsparameter. Addedget_tool_calls()helper function to process tools. #30- Simplify README and add Get started vignette with more examples.
Scientific Software - Peer-reviewed
- R
Published by hauselin about 1 year ago
ollamar - ollamar 1.2.1
generate()andchat()accept multiple images as prompts/messages.- Add functions to validate messages for
chat()function:validate_message(),validate_messages(). - Add
encode_images_in_messages()to encode images in messages forchat()function. - Add
create_messages()to create messages easily. - Helper functions for managing messages accept
...parameter to pass additional options. - Update README and docs to reflect changes.
Scientific Software - Peer-reviewed
- R
Published by hauselin over 1 year ago
ollamar - ollamar 1.2.0
- All functions calling API endpoints have
endpointparameter. - All functions calling API endpoints have
...parameter to pass additional model options to the API. - All functions calling API endpoints have
hostparameter to specify the host URL. Default isNULL, which uses the default Ollama URL. - Add
reqas an output format forgenerate()andchat(). - Add new functions for calling APIs:
create(),show(),copy(),delete(),push(),embed()(supercedesembeddings()),ps(). - Add helper functions to manipulate chat/conversation history for
chat()function (or other APIs like OpenAI):create_message(),append_message(),prepend_message(),delete_message(),insert_message(). - Add
ohelp()function to chat with models in real-time. - Add helper functions:
model_avail(),image_encode_base64(),check_option_valid(),check_options(),search_options(),validate_options()
Scientific Software - Peer-reviewed
- R
Published by hauselin over 1 year ago