█

AI/TLDR

मुझे पिलाएं कॉफ़ी
मुझे एक कॉफ़ी पिलाएँ

Vald

Kubernetes-native वितरित इंजन, जो अरब-स्तर के approximate nearest neighbor search के लिए बना है

Vector Databasesओपन सोर्स
भाषा
Go
लाइसेंस
Apache-2.0
संक्षेप में

Vald क्या है?

Vald Kubernetes-native वितरित इंजन, जो अरब-स्तर के approximate nearest neighbor search के लिए बना है. यह Retrieval & Knowledge (RAG) टूल्स की Vector Databases श्रेणी में आता है; ओपन सोर्स है, Go में लिखा गया है और Apache-2.0 लाइसेंस के तहत है। शुरू करने के लिए: आवश्यकताएँ जाँचें.

सारांश

Vald एक वितरित ANN (approximate nearest neighbor) सर्च इंजन है, जो dense vectors पर काम करता है। यह cloud-native आर्किटेक्चर पर बना है और Kubernetes पर चलता है, इसलिए यह बहुत बड़े डेटासेट में सर्च करने के लिए डिज़ाइन किया गया है, जिनमें अरबों तक feature vectors हो सकते हैं।

यह अपने-आप vector indexing, index backup और horizontal scaling संभालता है, और पड़ोसी (neighbors) खोजने के लिए NGT algorithm इस्तेमाल करता है। कोई भी डेटा जिसे vector में बदला जा सके, जैसे images, audio, video या text, इंडेक्स करके सर्च किया जा सकता है।

जो टीमें पहले से Kubernetes चला रही हैं, उनके लिए Vald vector-database श्रेणी में एक self-hosted विकल्प है। recommendation, recognition और similar-search workloads के लिए यह अच्छा है, जहाँ आपको एक ही node के बजाय पूरे cluster में index को scale करना हो।

यह क्या करता है

  • Nearest-neighbor lookups के लिए NGT algorithm पर बनी Distributed ANN सर्च
  • Cloud-native डिज़ाइन, जो Kubernetes (1.19+) पर चलता है और horizontally scale होता है
  • अपने-आप vector indexing और index backup
  • Component-based आर्किटेक्चर: Agent NGT, Discoverer, Gateways और Index Manager
  • Helm या Vald Helm operator से इंस्टॉल किया जा सकता है
  • Go, Java, Python और Node.js के लिए आधिकारिक client SDKs

शुरू करें

Vald Kubernetes cluster पर components के एक सेट के रूप में चलता है। इसे Helm से इंस्टॉल करें, फिर vectors insert और search करने के लिए आधिकारिक client SDKs में से किसी एक से कनेक्ट करें।

आवश्यकताएँ जाँचें

आपको Kubernetes 1.19 या उसके बाद का संस्करण चाहिए, और Vald Agent NGT को AVX2 instructions वाले CPUs चाहिए।

Helm से इंस्टॉल करें

Vald chart repository जोड़ें और cluster इंस्टॉल करें। default values.yaml इस्तेमाल करने पर nightly images इंस्टॉल होती हैं।

bashbash
helm repo add vald https://vald.vdaas.org/charts
helm install vald-cluster vald/vald

Client SDK इंस्टॉल करें

Vald Go, Java, Python और Node.js के लिए आधिकारिक clients देता है। इस उदाहरण में Python client इस्तेमाल हो रहा है।

bashbash
pip install vald-client-python

Vectors insert और search करें

gRPC के ज़रिए Vald gateway से कनेक्ट करें, एक vector insert करें, फिर nearest-neighbor search चलाएँ।

pythonpython
import grpc
from vald.v1.vald import insert_pb2_grpc, search_pb2_grpc
from vald.v1.payload import payload_pb2

channel = grpc.insecure_channel("gateway.vald.vdaas.org:80")
istub = insert_pb2_grpc.InsertStub(channel)
sstub = search_pb2_grpc.SearchStub(channel)

vec = payload_pb2.Object.Vector(id='vector_id_1', vector=[0.1, 0.2, 0.3])
icfg = payload_pb2.Insert.Config(skip_strict_exist_check=True)
istub.Insert(payload_pb2.Insert.Request(vector=vec, config=icfg))

scfg = payload_pb2.Search.Config(num=10, radius=-1.0, epsilon=0.01, timeout=3000000000)
res = sstub.Search(payload_pb2.Search.Request(vector=[0.1, 0.2, 0.3], config=scfg))

channel.close()

कमांड और कोड प्रोजेक्ट के अपने दस्तावेज़ों से लिए गए हैं — हमेशा जांचें आधिकारिक repo ताज़ा जानकारी के लिए।

कब इस्तेमाल करें

  • अरबों embeddings में से मिलते-जुलते items खोजने वाला recommendation system चलाएँ
  • Model embeddings इंडेक्स करके image, audio या video similarity search बनाएँ
  • बड़े document collections पर semantic text search और retrieval चलाएँ
  • मौजूदा Kubernetes cluster पर scalable vector index को self-host करें

How Vald compares

Vald alongside other open-source vector databases tools AI/TLDR tracks, ranked by GitHub stars.

टूलस्टारयह क्या करता है
Supabase★ 116kManaged Postgres backend whose Vector toolkit (pgvector) stores, indexes, and queries embeddings next to transactional data.
Redis Cloud★ 77.9kFully-managed Redis with built-in vector search, offering low-latency similarity and hybrid queries over any embeddings.
Milvus★ 46.8kअरबों embeddings में बड़े पैमाने पर खोज के लिए एक ओपन सोर्स वेक्टर डेटाबेस
FAISS★ 42kdense vectors पर कुशल similarity search और clustering के लिए लाइब्रेरी
Qdrant★ 35.9kRust में लिखा, समृद्ध payload फ़िल्टरिंग वाला सिमेंटिक सर्च के लिए वेक्टर सर्च इंजन
Chroma★ 29.8kओपन सोर्स एम्बेडिंग डेटाबेस, जो रिट्रीवल और RAG फ़ीचर बनाने में मदद करता है
pgvector★ 23.9kPostgres के लिए ओपन सोर्स वेक्टर similarity search
Vald★ 1.7kKubernetes-native वितरित इंजन, जो अरब-स्तर के approximate nearest neighbor search के लिए बना है