Skip to contents

Send message to Ollama API and get response

Usage

send_ollama_message(message, model)

Arguments

message

Character string containing the user message

model

Character string specifying the model name

Value

A list with elements `success` (logical) and either `response` (character) or `error` (character)