jomin7 opened a new pull request, #9029:
URL: https://github.com/apache/camel-quarkus/pull/9029

     Fixes #8864. Add langchain4j-embeddings-ql4j integration test module
    ## Summary
     - Add `integration-tests/langchain4j-embeddings-ql4j/` module to verify 
that `camel-quarkus-langchain4j-embeddings` works correctly when Quarkus
     LangChain4j is on the classpath
     - Uses `quarkus-langchain4j-core` (lightweight, no model provider 
overhead) with in-process `AllMiniLmL6V2EmbeddingModel`
     - Registered in `test-categories.yaml` group-07 alongside the existing 
`langchain4j-embeddings` tests
     
     ## Test scenarios
     | Test | Input | Asserts |
     |------|-------|---------|
     | `createTextEmbeddings` | "Hello World" | vectorLength == 384, 
inputTokenLength == 2 |
     | `createTextEmbeddingsMultiWord` | "The quick brown fox..." | 
vectorLength == 384, inputTokenLength > 2 |
     | `createTextEmbeddingsEmptyString` | "" | 400 with error |
     | `createTextEmbeddingsNoBody` | no body | 400 with error |
   


-- 
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]

Reply via email to