[
https://issues.apache.org/jira/browse/CAMEL-24719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on CAMEL-24719 started by Andrea Cosentino.
------------------------------------------------
> camel-weaviate: VECTOR_FIELD_NAME header value has inconsistent casing
> (CamelweaviateVectorFieldName)
> -----------------------------------------------------------------------------------------------------
>
> Key: CAMEL-24719
> URL: https://issues.apache.org/jira/browse/CAMEL-24719
> Project: Camel
> Issue Type: Bug
> Reporter: Andrea Cosentino
> Assignee: Andrea Cosentino
> Priority: Major
>
> The WeaviateVectorDbHeaders.VECTOR_FIELD_NAME constant is declared as
> "CamelweaviateVectorFieldName" (lowercase w), while every other
> camel-weaviate header uses the CamelWeaviate prefix (capital W):
> CamelWeaviateAction, CamelWeaviateTextFieldName, CamelWeaviateCollectionName,
> etc. Since CAMEL-24533 wired the vector field name into
> WeaviateEmbeddingsDataTypeTransformer (it now reads this header), a user who
> sets the header by its convention-expected name CamelWeaviateVectorFieldName
> is silently ignored and the transformer falls back to the default field name
> "vector". Correct the header value to CamelWeaviateVectorFieldName for
> consistency with the other headers, update the deprecated WeaviateVectorDb
> duplicate, regenerate metadata, and note the header rename in the 4.23
> upgrade guide.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)