Make filter expression builder Op public
This commit is contained in:
committed by
Christian Tzolov
parent
3ea938c4e1
commit
837c4080aa
@@ -56,7 +56,7 @@ import org.springframework.ai.vectorstore.filter.Filter.Value;
|
||||
*/
|
||||
public class FilterExpressionBuilder {
|
||||
|
||||
record Op(Filter.Operand expression) {
|
||||
public record Op(Filter.Operand expression) {
|
||||
|
||||
public Filter.Expression build() {
|
||||
if (expression instanceof Filter.Group group) {
|
||||
|
||||
@@ -147,7 +147,7 @@ Consider the following examples:
|
||||
|
||||
=== Filter.Expression
|
||||
|
||||
You can create an instance of `Filter.Expression` with a `FilterExpressionbuilder` that exposes a fluent API.
|
||||
You can create an instance of `Filter.Expression` with a `FilterExpressionBuilder` that exposes a fluent API.
|
||||
A simple example is as follows:
|
||||
|
||||
[source, java]
|
||||
|
||||
Reference in New Issue
Block a user