Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-20634

Create a centralized variable for the header name CamelLangChain4jEmbeddingsVector

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.5.0
    • 4.7.0
    • camel-langchain4j
    • None
    • Unknown

    Description

      While renaming the component (cf. https://issues.apache.org/jira/browse/CAMEL-20611), I had to change the header 'CamelLangChainEmbeddingsVector' to 'CamelLangChain4jEmbeddingsVector' three times: in 'langchain4j-embeddings', 'qdrant', and 'Milvus'.

      If we don't extract this string into a common dependency and need to rename it again, we will have to revisit multiple dependencies.

      Perhaps it would be better to move it to the 'camel-api' module.

       

      Attachments

        Issue Links

          Activity

            People

              zbendhiba Zineb Bendhiba
              zbendhiba Zineb Bendhiba
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: