Open ethicalhack3r opened 2 months ago
@ethicalhack3r Have you tried passing adapter: :em_http
in the initializer? What's your use-case, is it storing multiple vectors in parallel?
@andreibondarev Hi! Not sure if adapter: :em_http
is relevant, but perhaps I'm misunderstanding your response.
The use case is to use a web proxy see the raw HTTP requests and responses that Faraday makes, so that I can debug connection problems.
But I think it would be a good idea to be able pass arbitrary Faraday connection options within a Hash.
Hope that makes sense.
@ethicalhack3r Over the long-term I'd like to switch to using Net::HTTP
native library instead of requiring the faraday
dependency: https://github.com/patterns-ai-core/weaviate-ruby/issues/56.
Hi,
I tried to get this working myself by pulling the weaviate-ruby repo and langchainrb, but could not get it to work.
I couldn't get bundler to use the local Gem versions for some reason, I think due to Homebrew overriding the path, or something.
So thought I'd ask for a feature request, rather than bang my head against gem dependencies, as I was getting no where fast.
Here's my Git Diff:
A proxy feature would be super useful in debugging connection issues.
Perhaps a better way to do this, to ensure other connection options are also supported, would be to allow a hash of connection options passed to the Client, as seen in this example I found online:
Thanks, Ryan