Class DefaultQueryTransformer

java.lang.Object
dev.langchain4j.rag.query.transformer.DefaultQueryTransformer
All Implemented Interfaces:
QueryTransformer

public class DefaultQueryTransformer extends Object implements QueryTransformer
Default implementation of QueryTransformer intended to be suitable for the majority of use cases.

It's important to note that while efforts will be made to avoid breaking changes, the default behavior of this class may be updated in the future if it's found that the current behavior does not adequately serve the majority of use cases. Such changes would be made to benefit both current and future users.

This implementation simply returns the provided Query without any transformation.
See Also:
  • Constructor Details

    • DefaultQueryTransformer

      public DefaultQueryTransformer()
  • Method Details