# DALMFilter

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/utilities/arcee/DALMFilter)

Filters available for a DALM retrieval and generation.

## Signature

```python
DALMFilter()
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `field_name` | `unknown` | Yes | The field to filter on. Can be 'document' or 'name' to filter on your document's raw text or title. Any other field will be presumed to be a metadata field you included when uploading your context data |
| `filter_type` | `unknown` | Yes | Currently 'fuzzy_search' and 'strict_search' are supported. 'fuzzy_search' means a fuzzy search on the provided field is performed. The exact strict doesn't need to exist in the document for this to find a match. Very useful for scanning a document for some keyword terms. 'strict_search' means that the exact string must appear in the provided field. This is NOT an exact eq filter. ie a document with content "the happy dog crossed the street" will match on a strict_search of "dog" but won't match on "the dog". Python equivalent of `return search_string in full_string`. |
| `value` | `unknown` | Yes | The actual value to search for in the context data/metadata |

## Extends

- `BaseModel`

## Properties

- `field_name`
- `filter_type`
- `value`

## Methods

- [`set_meta()`](https://reference.langchain.com/python/langchain-community/utilities/arcee/DALMFilter/set_meta)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/a6a6079511ac8a5c1293337f88096b8641562e77/libs/community/langchain_community/utilities/arcee.py#L28)