fi.evolver.ai.vaadin.EmbeddingsRepository Maven / Gradle / Ivy
package fi.evolver.ai.vaadin;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;
import fi.evolver.ai.spring.embedding.entity.Embedding;
@Repository
@Transactional
public interface EmbeddingsRepository extends JpaRepository {
@Query("SELECT DISTINCT e.type FROM Embedding e")
List findDistinctTypes();
}