ollama_factory
Module for creating an Ollama factory.
OllamaFactory
Bases: OpenAIFactory
An Ollama factory.
Source code in spark_instructor/factory/ollama_factory.py
from_config(mode=None, base_url=None, api_key=None, **kwargs)
classmethod
Create an Ollama factory from custom entries.