| chat_session_ollama | R Documentation |
Convenience wrapper for chat_session with Ollama provider.
chat_session_ollama(model = "llama3.2", system_prompt = NULL, ...)
model |
Character. Model name (default: "llama3.2"). |
system_prompt |
Character or NULL. System prompt. |
... |
Additional parameters passed to chat_session(). |
A chat session list.
# Construct a session (no network call yet)
session <- chat_session_ollama(system_prompt = "You are helpful.")
## Not run:
session$chat("Hello")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.