You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "smongiar (via GitHub)" <gi...@apache.org> on 2026/02/23 15:46:34 UTC
[PR] Adding qdrant example [camel-spring-boot-examples]
smongiar opened a new pull request, #172:
URL: https://github.com/apache/camel-spring-boot-examples/pull/172
(no comment)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Adding qdrant example [camel-spring-boot-examples]
Posted by "Croway (via GitHub)" <gi...@apache.org>.
Croway merged PR #172:
URL: https://github.com/apache/camel-spring-boot-examples/pull/172
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Adding qdrant example [camel-spring-boot-examples]
Posted by "Croway (via GitHub)" <gi...@apache.org>.
Croway commented on code in PR #172:
URL: https://github.com/apache/camel-spring-boot-examples/pull/172#discussion_r2995031145
##########
qdrant/pom.xml:
##########
@@ -0,0 +1,125 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.camel.springboot.example</groupId>
+ <artifactId>examples</artifactId>
+ <version>4.19.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>camel-example-spring-boot-qdrant</artifactId>
+ <name>Camel SB Examples :: Qdrant</name>
+ <description>An example showing a full RAG pipeline using Camel OpenAI and Qdrant as vector store</description>
+
+ <properties>
+ <category>AI</category>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+ </properties>
+
+ <dependencyManagement>
+ <dependencies>
+ <!-- Spring Boot BOM -->
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-dependencies</artifactId>
+ <version>${spring-boot-version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ <!-- Camel BOM -->
+ <dependency>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-spring-boot-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <dependencies>
+ <!-- Spring Boot -->
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter</artifactId>
+ </dependency>
+
+ <!-- Camel -->
+ <dependency>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-spring-boot-starter</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-qdrant-starter</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-openai-starter</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-file-starter</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-yaml-dsl-starter</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-jackson-starter</artifactId>
+ </dependency>
+
+ <!-- test -->
Review Comment:
tests dependencies can be removed since there are no tests
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Adding qdrant example [camel-spring-boot-examples]
Posted by "Croway (via GitHub)" <gi...@apache.org>.
Croway commented on PR #172:
URL: https://github.com/apache/camel-spring-boot-examples/pull/172#issuecomment-3946060876
No, actually spring ai hides the complexity of working with the vector store.. which is good and bad.
For this use case, try to use camel openai ala https://camel.apache.org/components/next/openai-component.html#_postgresql_pgvector_recommended
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Adding qdrant example [camel-spring-boot-examples]
Posted by "smongiar (via GitHub)" <gi...@apache.org>.
smongiar commented on PR #172:
URL: https://github.com/apache/camel-spring-boot-examples/pull/172#issuecomment-3946019632
> instead of having a basic example for qdrant, it would be nice to have a full RAG e2e flow using camel openai that uses qdrant as vector store
It can be done replacing the generic Spring AI [endpoint](https://github.com/apache/camel-spring-boot-examples/blob/main/ai-agent/src/main/java/sample/camel/VectorStoreRoute.java#L44) in `ai-agent` example. We can work on that, if you want.
Obviously it introduces more complexity.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Adding qdrant example [camel-spring-boot-examples]
Posted by "Croway (via GitHub)" <gi...@apache.org>.
Croway commented on code in PR #172:
URL: https://github.com/apache/camel-spring-boot-examples/pull/172#discussion_r2995028701
##########
qdrant/src/main/java/org/apache/camel/example/springboot/qdrant/Application.java:
##########
@@ -0,0 +1,12 @@
+package org.apache.camel.example.springboot.qdrant;
Review Comment:
missing license header
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Adding qdrant example [camel-spring-boot-examples]
Posted by "Croway (via GitHub)" <gi...@apache.org>.
Croway commented on code in PR #172:
URL: https://github.com/apache/camel-spring-boot-examples/pull/172#discussion_r2871755909
##########
qdrant/readme.adoc:
##########
@@ -0,0 +1,68 @@
+== Camel Example Spring Boot RAG with Qdrant
+
+This example shows a full end-to-end RAG (Retrieval-Augmented Generation) pipeline
+using the Camel OpenAI component for embeddings and chat, with Qdrant as vector store.
+
+=== Prerequisites
+
+1. A running Qdrant instance:
+
+----
+docker run -p 6333:6333 -p 6334:6334 \
Review Comment:
can `camel infra run quadrant` be used instead?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Adding qdrant example [camel-spring-boot-examples]
Posted by "smongiar (via GitHub)" <gi...@apache.org>.
smongiar commented on PR #172:
URL: https://github.com/apache/camel-spring-boot-examples/pull/172#issuecomment-4142981181
Test failure not related to this issue, but to [this](https://github.com/apache/camel-spring-boot-examples/actions/runs/23601125099/job/68889975666#step:5:5663)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Adding qdrant example [camel-spring-boot-examples]
Posted by "Croway (via GitHub)" <gi...@apache.org>.
Croway commented on PR #172:
URL: https://github.com/apache/camel-spring-boot-examples/pull/172#issuecomment-3945795874
instead of having a basic example for qdrant, it would be nice to have a full RAG e2e flow using camel openai that uses qdrant as vector store
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org