# create_citation_fuzzy_match_runnable

> **Function** in `langchain_classic`

📖 [View in docs](https://reference.langchain.com/python/langchain-classic/chains/openai_functions/citation_fuzzy_match/create_citation_fuzzy_match_runnable)

Create a citation fuzzy match Runnable.

Example usage:

    ```python
    from langchain_classic.chains import create_citation_fuzzy_match_runnable
    from langchain_openai import ChatOpenAI

    model = ChatOpenAI(model="gpt-4o-mini")

    context = "Alice has blue eyes. Bob has brown eyes. Charlie has green eyes."
    question = "What color are Bob's eyes?"

    chain = create_citation_fuzzy_match_runnable(model)
    chain.invoke({"question": question, "context": context})
    ```

## Signature

```python
create_citation_fuzzy_match_runnable(
    llm: BaseChatModel,
) -> Runnable
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `llm` | `BaseChatModel` | Yes | Language model to use for the chain. Must implement bind_tools. |

## Returns

`Runnable`

Runnable that can be used to answer questions with citations.

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/9f232caa7a8fe1ca042a401942d5d90d54ceb1a6/libs/langchain/langchain_classic/chains/openai_functions/citation_fuzzy_match.py#L77)