Make filter expression builder Op public

This commit is contained in:
KathrynBrusewitz
2023-11-15 10:23:41 -05:00
committed by Christian Tzolov
parent 3ea938c4e1
commit 837c4080aa
2 changed files with 2 additions and 2 deletions

View File

@@ -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) {

View File

@@ -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]