
    {h                         d Z ddlmZ ddlZej                  j                  d      ddlmZ ej                  j                  d      ddlm	Z	 d	e
d
efdZg dZy)z
Provider-specific batch processing implementations.

This module contains provider-specific implementations for OpenAI and Anthropic
batch processing APIs.
   )BatchProvider    Nopenai)OpenAIProvider	anthropic)AnthropicProviderprovider_namereturnc                     | dk(  rt         t        d      t               S | dk(  rt        t        d      t               S t        d|        )z9Factory function to get the appropriate provider instancer   zOpenAI is not installedr   zAnthropic is not installedzUnsupported provider: )r   
ValueErrorr   )r	   s    d/var/www/html/hubwallet-dev/venv/lib/python3.12/site-packages/instructor/batch/providers/__init__.pyget_providerr      s[     !677	+	%$9:: ""1-ABB    )r   r   r   r   )__doc__baser   	importlibutil	find_specr   r   r   r   strr   __all__ r   r   <module>r      s`      >>H%1&>>K(4,C C C Sr   