# step by step reasoning for correlation prediction

instruction_reasoning_parameters = """
You are given two variables. Your task is to predict the Pearson's correlation coefficient between the two attributes and estimate your confidence in the predicted correlation by providing the standard deviation as a measure of uncertainty. Note that the standard deviation cannot be zero

Follow these steps to complete the task:

Step 1: Determine the Direction of the Relationship (postive or negative)

Step 2: Estimate the Pearson's Correlation Coefficient

Step 3: Quantify Uncertainty in the Estimate: Assign a standard deviation (std) to represent uncertainty in your prediction.
"""

# instruction_reasoning_parameters = """
# You are given two attributes from a tabular dataset. Your task is to predict the Pearson's correlation coefficient between the two attributes and estimate your confidence in the predicted correlation by providing the standard deviation as a measure of uncertainty. Note that the standard deviation cannot be zero.

# First detrmine the direction of the relationship between the two attributes. Then, estimate the Pearson's correlation coefficient and uncertainty.

# If you are not sure about the direction or the strength of the relationship, you should set a larger standard deviation to reflect the uncertainty in your prediction.

# """


# prompt = """

# {task_desc}

# The two attributes are 

# - X: "{attr1}"
# - Y: "{attr2}"

# They are from the table: "{table}". The description for the table and the attributes are as follows:

# {tbl_desc}

# Respond with your predictions in the following format:

# ```json
# {{
#   "direction": "<predicted direction>",
#   "coefficient": "<predicted correlation coefficient>",
#   "standard deviation": "<predicted uncertainty>",
# }}
# ```

# """

prompt = """

<Task>:
{task_desc}

<Attributes>
- "{attr1}"
- "{attr2}"

<Source Table>: "{table}"

<Descriptions>:
- Dataset Description: {tbl_desc}
- Attribute Descriptions:
    - "{attr1}": {var1_desc}
    - "{attr2}": {var2_desc}

Respond with your predictions in the following format:

```json
{{
  "direction": "<predicted direction>",
  "coefficient": "<predicted correlation coefficient>",
  "standard deviation": "<predicted uncertainty>",
}}
```
"""