Man pages for ollamar
'Ollama' Language Models

append_messageAppend message to a list
chatGenerate a chat completion with message history
check_optionsCheck if a vector of options are valid
check_option_validCheck if an option is valid
copyCopy a model
createCreate a model from a Modelfile
create_messageCreate a message
create_messagesCreate a list of messages
create_requestCreate a httr2 request object
deleteDelete a model and its data
delete_messageDelete a message in a specified position from a list
embedGenerate embedding for inputs
embeddingsGenerate embeddings for a single prompt - deprecated in favor...
encode_images_in_messagesEncode images in messages to base64 format
generateGenerate a response for a given prompt
get_tool_callsGet tool calls helper function
image_encode_base64Read image file and encode it to base64
insert_messageInsert message into a list at a specified position
list_modelsList models that are available locally
model_availCheck if model is available locally
model_optionsModel options
ohelpChat with a model in real-time in R console
package_configPackage configuration
prepend_messagePrepend message to a list
psList models that are currently loaded into memory
pullPull/download a model from the Ollama library
pushPush or upload a model to a model library
resp_processProcess httr2 response object
resp_process_streamProcess httr2 response object for streaming
search_optionsSearch for options based on a query
showShow model information
stream_handlerStream handler helper function
test_connectionTest connection to Ollama server
validate_messageValidate a message
validate_messagesValidate a list of messages
validate_optionsValidate additional options or parameters provided to the API...
ollamar documentation built on April 3, 2025, 8:31 p.m.