View Source LangChain.Config (LangChain v0.2.0)

Utility that handles interaction with the application's configuration.

Summary

Functions

Resolves the given key from the application's configuration returning the wrapped expanded value. If the value is a function it gets evaluated, if the value is a tuple of three elements it gets applied.

Functions

Link to this function

resolve(key, default \\ nil)

View Source
@spec resolve(atom(), any()) :: any()

Resolves the given key from the application's configuration returning the wrapped expanded value. If the value is a function it gets evaluated, if the value is a tuple of three elements it gets applied.