Sha256: 26e39de6ba1f9a2e70a518657a3af2d51a77cc56eaa3c9d1b20fa0018d74ac64

Contents?: true

Size: 903 Bytes

Versions: 1

Compression:

Stored size: 903 Bytes

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: hnsw.proto

require "google/protobuf"

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("hnsw.proto", syntax: :proto3) do
    add_message "HNSWGraphNode" do
      optional :id, :string, 1
      repeated :vector, :float, 2
      optional :level, :int32, 3
      repeated :neighbors, :string, 4
    end
    add_message "HNSWGraph" do
      optional :entrypoint_id, :string, 1
      optional :max_level, :int32, 2
      optional :similarity_metric, :string, 3
      optional :dimensions, :int32, 4
      optional :m, :int32, 5
      optional :ef, :int32, 6
      repeated :nodes, :message, 7, "HNSWGraphNode"
    end
  end
end

HNSWGraphNode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("HNSWGraphNode").msgclass
HNSWGraph = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("HNSWGraph").msgclass

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
roseflow-0.1.0 lib/roseflow/vector_stores/hnsw_pb.rb