jomin7 opened a new pull request, #9038:
URL: https://github.com/apache/camel-quarkus/pull/9038
Fixes #8865. Add langchain4j-embeddingstore-ql4j integration test module
`Description`:
Add integration-tests/langchain4j-embeddingstore-ql4j/ module to verify
that `camel-quarkus-langchain4j-embeddingstore `works correctly when `Quarkus
LangChain4j `is on the classpath.
- Uses `quarkus-langchain4j-ollama` with a `QL4J-managed` EmbeddingModel
(no self-defined bean)
- `Ollama` API mocked via WireMock test resource
- `Qdrant` via testcontainers for the embedding store
- Tests bidirectional `Camel-QL4J interop`: data written by Camel is
readable by QL4J ContentRetriever, and data ingested by QL4J is searchable by
Camel
- Covers `ADD`, `SEARCH`, `REMOVE` operations plus `EmbeddingStoreFactory`
compatibility
- Registered in test-categories.yaml group-07
## Test plan
- [ ] `mvn test -pl integration-tests/langchain4j-embeddingstore-ql4j`
passes (JVM mode)
- [ ] `mvn verify -pl integration-tests/langchain4j-embeddingstore-ql4j
-Dnative` passes (native mode)
- [ ] CI passes
--
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]