patterns-ai-core / langchainrb

Build LLM-powered applications in Ruby
https://rubydoc.info/gems/langchainrb
MIT License
1.45k stars 195 forks source link

CSV dependency warning on ruby 3.3.5 #876

Open ajsharp opened 1 week ago

ajsharp commented 1 week ago

Describe the bug CSV needs to be added as direct dependency of this project due to changes coming in ruby 3.4.0.

I'm seeing the following in logs on ruby 3.3.5

/vendor/bundle/ruby/3.3.0/gems/langchainrb-0.19.0/lib/langchain/processors/csv.rb:3: warning: /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/3.3.0/csv.rb was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.4.0.
You can add csv to your Gemfile or gemspec to silence this warning.
Also please contact the author of langchainrb-0.19.0 to request adding csv into its gemspec.

To Reproduce Running a rails server, or any rails command

Expected behavior A clear and concise description of what you expected to happen.

Desktop (please complete the following information):