qdrant-ruby icon indicating copy to clipboard operation
qdrant-ruby copied to clipboard

Remove the api_key parameter

Open Jhonnyr97 opened this issue 1 year ago • 1 comments
trafficstars

api_key must not be required in localhost

require 'qdrant'

client = Qdrant::Client.new(
  url: "your-qdrant-url"
)```

Jhonnyr97 avatar Jan 12 '24 11:01 Jhonnyr97

@Jhonnyr97 I think we can just add a comment to the README with:

client = Qdrant::Client.new(
  url: "your-qdrant-url",
  api_key: "your-qdrant-api-key" # Optional for localhost
)

Thoughts?

andreibondarev avatar Jan 12 '24 14:01 andreibondarev

The api_key: is actually not required: https://github.com/patterns-ai-core/qdrant-ruby/blob/main/lib/qdrant/client.rb#L16

andreibondarev avatar Aug 20 '24 19:08 andreibondarev