append_message | Append message to a list |
chat | Generate a chat completion with message history |
check_options | Check if a vector of options are valid |
check_option_valid | Check if an option is valid |
copy | Copy a model |
create | Create a model from a Modelfile |
create_message | Create a message |
create_messages | Create a list of messages |
create_request | Create a httr2 request object |
delete | Delete a model and its data |
delete_message | Delete a message in a specified position from a list |
embed | Generate embedding for inputs |
embeddings | Generate embeddings for a single prompt - deprecated in favor... |
encode_images_in_messages | Encode images in messages to base64 format |
generate | Generate a response for a given prompt |
get_tool_calls | Get tool calls helper function |
image_encode_base64 | Read image file and encode it to base64 |
insert_message | Insert message into a list at a specified position |
list_models | List models that are available locally |
model_avail | Check if model is available locally |
model_options | Model options |
ohelp | Chat with a model in real-time in R console |
package_config | Package configuration |
prepend_message | Prepend message to a list |
ps | List models that are currently loaded into memory |
pull | Pull/download a model from the Ollama library |
push | Push or upload a model to a model library |
resp_process | Process httr2 response object |
resp_process_stream | Process httr2 response object for streaming |
search_options | Search for options based on a query |
show | Show model information |
stream_handler | Stream handler helper function |
test_connection | Test connection to Ollama server |
validate_message | Validate a message |
validate_messages | Validate a list of messages |
validate_options | Validate additional options or parameters provided to the API... |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.