Skip to content

Commit

Permalink
added clarifying comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-w-nick committed Dec 19, 2024
1 parent 56ee535 commit af87e11
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions langchain-core/src/structured_query/tests/functional.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ describe("FunctionalTranslator", () => {
booleanValue: true,
};

// documents that will match against the comparison
const validDocumentsByComparator: { [key in string]: Document<Record<string, unknown>>[] } = {
[Comparators.eq]: [
new Document({
Expand Down Expand Up @@ -137,6 +138,7 @@ describe("FunctionalTranslator", () => {
],
};

// documents that will not match against the comparison
const invalidDocumentsByComparator: { [key in string]: Document<Record<string, unknown>>[] } = {
[Comparators.eq]: [
new Document({
Expand Down

0 comments on commit af87e11

Please sign in to comment.