Interface ChromaCollectionsRestApi


@Path("/api/v1/collections") @Consumes("application/json") @Produces("application/json") public interface ChromaCollectionsRestApi
  • Method Details

    • collection

      @Path("/{collectionName}") @GET Collection collection(String collectionName)
    • createCollection

      @POST Collection createCollection(CreateCollectionRequest createCollectionRequest)
    • addEmbeddings

      @Path("/{collectionId}/add") @POST Boolean addEmbeddings(String collectionId, AddEmbeddingsRequest embedding)
    • queryCollection

      @Path("{collectionId}/query") @POST QueryResponse queryCollection(String collectionId, QueryRequest queryRequest)
    • objectMapper

      static com.fasterxml.jackson.databind.ObjectMapper objectMapper(com.fasterxml.jackson.databind.ObjectMapper defaultObjectMapper)