ollama_list_models: Retrieve and return model information from the Ollama API

View source: R/ollama.R

ollama_list_modelsR Documentation

Retrieve and return model information from the Ollama API

Description

This function connects to the Ollama API and retrieves information about available models, returning it as a data frame.

Usage

ollama_list_models(.ollama_server = "http://localhost:11434")

Arguments

.ollama_server

The URL of the ollama server to be used

Value

A tibble containing model information, or NULL if no models are found.


tidyllm documentation built on Oct. 10, 2024, 5:07 p.m.