Interface QdrantTransport

All Known Implementing Classes:
HttpQdrantTransport

public interface QdrantTransport
HTTP seam for the Qdrant REST API.

Tests supply an in-process fake. Production uses HttpQdrantTransport only when a URL is configured, so tnsai-intelligence has no required Qdrant client dependency.

Since:
0.14.0
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
    Connection settings for a Qdrant collection.
  • Method Summary

    Modifier and Type
    Method
    Description
    exchange(String method, String path, String jsonBody)
    Sends one REST call.
  • Method Details

    • exchange

      String exchange(String method, String path, String jsonBody)
      Sends one REST call.
      Parameters:
      method - HTTP method
      path - collection-relative path beginning with /
      jsonBody - request body, or null
      Returns:
      response body