Package: @effect/ai-openai-compat
Module: OpenAiClient
Service tag for the OpenAI-compatible chat completions and embeddings client.
When to use
Use when building effects that depend on the low-level OpenAI-compatible client through context rather than receiving the client as a value.
Details
The tagged service is the Service interface produced by make and provided
by layer or layerConfig.
See
Service for the operations provided by the servicemake for constructing the service from explicit optionslayer for providing the service from explicit optionslayerConfig for loading client settings from ConfigSignature
declare class OpenAiClient
Since v4.0.0