diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index b36aa7e80e..6f4062502b 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -42,7 +42,7 @@ jobs: if: matrix.minimal run: pip install -r requirements.min.txt - name: Prepare examples dependencies - run: pip install catboost sentence-transformers + run: pip install catboost sentence-transformers openai - name: Export examples run: jupyter nbconvert --to python examples/*/*.ipynb --output-dir example_scripts - name: Run examples diff --git a/docs/book/reference/all-metrics.md b/docs/book/reference/all-metrics.md index 484440cd06..29d5762a5b 100644 --- a/docs/book/reference/all-metrics.md +++ b/docs/book/reference/all-metrics.md @@ -274,7 +274,14 @@ Check for regular expression matches. | **ExcludesWords()** Example use:
`ExcludesWords(words_list=['buy', 'sell', 'bet']`| **Required:**
`words_list: List[str]`

**Optional:** | | **ItemMatch()** Example use:
`ItemMatch(with_column="expected")`| **Required:**
`with_column: str`

**Optional:** | | **ItemNoMatch()** Example use:
`ItemMatch(with_column="forbidden")`| **Required:**
`with_column: str`

**Optional:** | +| **WordMatch()** Example use:
`WordMatch(with_column="expected"` | **Required:**
`with_column: str`

**Optional:** | +| **WordNoMatch()** Example use:
`WordMatch(with_column="forbidden"` | **Required:**
`with_column: str`

**Optional:** | +| **ExactMatch()** Example use:
`ExactMatch(column_name='column_1')`| **Required:**
`with_column`

**Optional:** | +| **IsValidJSON()** Example use:
`IsValidJSON(column_name='column_1')`| **Required:**
`column_name`

**Optional:** | | **JSONSchemaMatch()** Example use:
`JSONSchemaMatch(expected_schema={"name": str, "age": int}, exact_match=False, validate_types=True)`| **Required:**
`expected_schema: Dict[str, type]`

**Optional:** | +| **JSONMatch()** Example use:
`JSONMatch(with_column="column_2")`| **Required:**
`with_column : str`

**Optional:**