# AnswerWithSources

> **Class** in `langchain_classic`

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

An answer to the question, with sources.

## Signature

```python
AnswerWithSources()
```

## Extends

- `BaseModel`

## Properties

- `answer`
- `sources`

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/6fb37dba71da807af60aa7b909f71f0625a666bf/libs/langchain/langchain_classic/chains/openai_functions/qa_with_structure.py#L20)