gnodet opened a new pull request, #22207: URL: https://github.com/apache/camel/pull/22207
## Summary Implements CAMEL-21540: Vector Database capabilities for PostgreSQL. - New `camel-pgvector` component under `components/camel-ai/` that provides vector similarity search capabilities using the PostgreSQL [pgvector](https://github.com/pgvector/pgvector) extension - Supports actions: `CREATE_TABLE`, `DROP_TABLE`, `UPSERT`, `DELETE`, `SIMILARITY_SEARCH` - Uses JDBC with the `com.pgvector:pgvector` library for pgvector type support - Configurable distance types: cosine (default), euclidean, inner product - LangChain4j data type transformers (`pgvector:embeddings` and `pgvector:rag`) for RAG pipeline integration - Integration tests using testcontainers pgvector image - LangChain4j embeddings integration test with AllMiniLmL6V2 embedding model ## Test plan - [x] `PgVectorComponentIT` (7 tests) - CRUD operations and similarity search - [x] `LangChain4jEmbeddingsComponentPgVectorTargetIT` (4 tests) - end-to-end LangChain4j embedding + pgvector integration - [x] Code formatted and imports sorted - [x] Generated files committed -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
