OllamaConfig
OllamaConfig is a configuration class for managing the settings required to connect and interact with an Ollama-based language model server. It includes properties for setting the server's base URL, connection timeouts, and an HTTP client for underlying network communication.
Properties
A configurable HTTP client used for handling HTTP requests and responses. This client is used to interact with external APIs or services requiring network communication. It can be customized with specific timeout configurations and other properties through the containing class.
Configuration object for specifying timeout settings for network operations within the OllamaConfig class. It defines timeouts for requests, connection establishment, and socket operations in milliseconds.