LLMClientZ

org.llm4s.zio.LLMClientZ
See theLLMClientZ companion trait
object LLMClientZ

Attributes

Companion
trait
Source
LLMClientZ.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
LLMClientZ.type

Members list

Value members

Concrete methods

def apply(underlying: LLMClient): LLMClientZ

Wraps an already-constructed LLMClient. Does not manage its lifecycle.

Wraps an already-constructed LLMClient. Does not manage its lifecycle.

Attributes

Source
LLMClientZ.scala

Concrete fields

ZLayer that acquires an LLMClient from the environment (via Llm4sConfig) on the blocking thread pool and finalises it on scope exit.

ZLayer that acquires an LLMClient from the environment (via Llm4sConfig) on the blocking thread pool and finalises it on scope exit.

Attributes

Source
LLMClientZ.scala