This is an automated email from the ASF dual-hosted git repository.
Croway pushed a change to branch camel-4.22.x
in repository https://gitbox.apache.org/repos/asf/camel.git
from 73a18234ef07 [Documentation] Update xtokenize-language.adoc (#25977)
new f2a205129830 CAMEL-24527: camel-huggingface - apply the configured
token to every task, not only chat
new 363cb434e0ac CAMEL-24540: camel-huggingface - honour the model
revision for sentence-embeddings and text-to-image, and set the text-to-image
OUTPUT header
new 558416976d78 CAMEL-24533: camel-weaviate - store the document text in
the object properties on CREATE/UPDATE
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../huggingface/tasks/AbstractTaskPredictor.java | 24 ++++-
.../component/huggingface/tasks/ChatPredictor.java | 8 +-
.../tasks/SentenceEmbeddingsPredictor.java | 2 +-
.../huggingface/tasks/TextToImagePredictor.java | 4 +-
.../camel/component/huggingface/tasks/chat.py | 2 +-
.../huggingface/tasks/sentence_embeddings.py | 2 +-
.../component/huggingface/tasks/text_to_image.py | 1 +
.../huggingface/tasks/AuthTokenInjectionTest.java | 58 ++++++++++++
.../huggingface/tasks/ChatScriptFormatTest.java | 60 ++++++++++++
.../tasks/RevisionAndOutputHeaderTest.java | 90 ++++++++++++++++++
.../WeaviateEmbeddingsDataTypeTransformer.java | 29 ++++--
.../WeaviateEmbeddingsDataTypeTransformerTest.java | 102 +++++++++++++++++++++
12 files changed, 363 insertions(+), 19 deletions(-)
create mode 100644
components/camel-ai/camel-huggingface/src/test/java/org/apache/camel/component/huggingface/tasks/AuthTokenInjectionTest.java
create mode 100644
components/camel-ai/camel-huggingface/src/test/java/org/apache/camel/component/huggingface/tasks/ChatScriptFormatTest.java
create mode 100644
components/camel-ai/camel-huggingface/src/test/java/org/apache/camel/component/huggingface/tasks/RevisionAndOutputHeaderTest.java
create mode 100644
components/camel-ai/camel-weaviate/src/test/java/org/apache/camel/component/weaviate/transform/WeaviateEmbeddingsDataTypeTransformerTest.java