You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there are many searches in the `$LOAD_PATH` in the user environment,
require will perform unnecessary searches that are not needed.
In contrast, `require_relative` is efficient because it uses a relative path.
Langchain.rb requires Ruby 3.1+, it is possible to use `require_relative`,
which was introduced in Ruby 1.9:
https://github.com/patterns-ai-core/langchainrb/blob/0.19.4/langchain.gemspec#L15
0 commit comments