Class: LlmConductor::Clients::ZaiClient

Inherits:
BaseClient
  • Object
show all
Includes:
Concerns::VisionSupport
Defined in:
lib/llm_conductor/clients/zai_client.rb

Overview

Z.ai client implementation for accessing GLM models including GLM-4.5V Supports both text-only and multimodal (vision) requests

Note: Z.ai uses OpenAI-compatible API format but with /v4/ path instead of /v1/ We use Faraday directly instead of the ruby-openai gem to properly handle the API path

Instance Attribute Summary

Attributes inherited from BaseClient

#model, #type

Method Summary

Methods inherited from BaseClient

#generate, #generate_simple, #initialize

Methods included from Prompts

#prompt_analyze_content, #prompt_classify_content, #prompt_custom, #prompt_extract_links, #prompt_summarize_text

Constructor Details

This class inherits a constructor from LlmConductor::Clients::BaseClient