OCaml client for Qdrant vector search engine
  • OCaml 99.5%
  • Shell 0.3%
  • Dune 0.2%
Find a file
2023-06-10 13:41:28 +02:00
example Add bindings for create/list/delete collections 2023-06-10 13:22:07 +02:00
lib Don't expose grpc types in the API 2023-06-10 13:41:28 +02:00
proto Initial commit 2023-06-10 12:02:12 +02:00
.gitignore Initial commit 2023-06-10 12:02:12 +02:00
.ocamlformat Initial commit 2023-06-10 12:02:12 +02:00
dune-project Fix dependencies 2023-06-10 13:41:12 +02:00
LICENSE Initial commit 2023-06-10 12:02:12 +02:00
qdrant.opam Fix dependencies 2023-06-10 13:41:12 +02:00
README.md Add disclaimer 2023-06-10 12:09:22 +02:00

ocaml-qdrant

STATUS: very experimental and incomplete, not ready for any serious usage

OCaml client for Qdrant vector search engine.

Usage

# With env variable
docker run -p 6333:6333 -p 6334:6334 \
    -e QDRANT__SERVICE__GRPC_PORT="6334" \
    qdrant/qdrant
let main () =
  let open Lwt.Syntax in
  let+ result = Qdrant.health_check Qdrant.default_client in
  match result with
  | Ok Qdrant.{ title; version } ->
      Printf.printf "Got title:%S version:%S\n" title version
  | Error _ -> Printf.eprintf "Oops, an error occured\n"

let () = Lwt_main.run (main ())

License

Yoshi is released under the ISC License. See the LICENSE file for more details.