Unified Interface for Large Language Model Interactions
Build a templated prompt for LLM interaction using glue
Internal helper to create provider
Comprehensive LLM connection diagnostics
Extract only the schema part from generated result
Interactive JSON Schema Generator using tidyprompt
Get LLM Response with Text or JSON Output
Get user feedback interactively
Null coalescing operator
Create Ollama LLM provider with enhanced availability check and auto-d...
Create OpenAI-compatible LLM provider with enhanced error handling
llmhelper: Unified Interface for Large Language Model Interactions
Delete a model from Ollama API
Download a model from Ollama API
List available models from Ollama API
Parse max_tokens from error message
Pipe operator
Set system and user prompts for LLM interaction
Test full compatibility with tidyprompt and max_tokens fallback
Test HTTP connection with max_tokens fallback
Provides a unified interface for interacting with Large Language Models (LLMs) through various providers including OpenAI <https://platform.openai.com/docs/api-reference>, Ollama <https://ollama.com/>, and other OpenAI-compatible APIs. Features include automatic connection testing, max_tokens limit auto-adjustment, structured JSON responses with schema validation, interactive JSON schema generation, prompt templating, and comprehensive diagnostics.