Class OpenAIOkHttpClientAsync

  • All Implemented Interfaces:

    
    public final class OpenAIOkHttpClientAsync
    
                        

    A class that allows building an instance of OpenAIClientAsync with OkHttpClient as the underlying HttpClient.

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static OpenAIOkHttpClientAsync.Builder builder() Returns a mutable builder for constructing an instance of OpenAIClientAsync.
      final static OpenAIClientAsync fromEnv() Returns a client configured using system properties and environment variables.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • fromEnv

         final static OpenAIClientAsync fromEnv()

        Returns a client configured using system properties and environment variables.