> ## Documentation Index
> Fetch the complete documentation index at: https://docs.camel-ai.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Camel.datagen.source2synth.models

<a id="camel.datagen.source2synth.models" />

<a id="camel.datagen.source2synth.models.ReasoningStep" />

## ReasoningStep

```python theme={"system"}
class ReasoningStep(BaseModel):
```

A single step in a multi-hop reasoning process.

**Parameters:**

* **step** (str): The textual description of the reasoning step.

<a id="camel.datagen.source2synth.models.MultiHopQA" />

## MultiHopQA

```python theme={"system"}
class MultiHopQA(BaseModel):
```

A multi-hop question-answer pair with reasoning steps and supporting
facts.

**Parameters:**

* **question** (str): The question requiring multi-hop reasoning.
* **reasoning\_steps** (List\[ReasoningStep]): List of reasoning steps to answer.
* **answer** (str): The final answer to the question.
* **supporting\_facts** (List\[str]): List of facts supporting the reasoning.
* **type** (str): The type of question-answer pair.

<a id="camel.datagen.source2synth.models.ContextPrompt" />

## ContextPrompt

```python theme={"system"}
class ContextPrompt(BaseModel):
```

A context prompt for generating multi-hop question-answer pairs.

**Parameters:**

* **main\_context** (str): The primary context for generating QA pairs.
* **related\_contexts** (Optional\[List\[str]]): Additional related contexts.
