> For the complete documentation index, see [llms.txt](https://docs.sprinthub.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sprinthub.com/en/topics/artificial-intelligence/ai-agents/legacy-ai-agents-notice/strategies/how-temperature-and-contextualization-level-work-in-chatgpt.md).

# How temperature and contextualization level work in ChatGPT

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2Fl4Wlz4gHQAWRu91EHtjo%2Fundraw_visionary-technology_6ouq.png?alt=media&amp;token=32c90729-effb-4249-9c1f-03d3a559bb9e" alt=""><figcaption></figcaption></figure>

SprintHub offers advanced settings for ChatGPT, allowing you to customize the model’s interaction with customers through adjustments to "Temperature" and "Contextualization Level." Understanding how these settings work is essential to optimizing the quality of the generated responses.

***

### What Is Temperature?

Temperature defines the degree of creativity and randomness in the responses provided by ChatGPT. This setting is adjusted by a value ranging from **0 to 1**, where:

* **Low temperature (close to 0):** The model will be more conservative, giving more direct, objective, and consistent answers. Ideal for cases where accuracy is more important than creativity.
* **High temperature (close to 1):** The model will be more creative and provide more varied responses. It is useful for cases where you want to explore ideas or offer more relaxed interactions.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2Fcxf5U8UHqqNHP2vGQGGV%2Fimage.png?alt=media&amp;token=45684b06-93b1-4aca-b8bd-a450b5a19801" alt=""><figcaption></figcaption></figure>

**Practical example:**

* Question: "What can I do with the rice left over from lunch?"
  * Temperature 0: "You can make fried rice."
  * Temperature 1: "How about making rice fritters or even a creative vegetable risotto?"

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FADcvrYG3tr3BV5JHgo3J%2Fimage.png?alt=media&amp;token=3850b8bf-db58-4bbe-999e-4e2a10db5d22" alt=""><figcaption></figcaption></figure>

***

### What Is the Contextualization Level?

The contextualization level determines the amount of information about the company and the customer that ChatGPT uses to generate responses during conversations. In SprintHub, you can select between **low, medium, and high**.

* **Low Level:** ChatGPT will use less contextual information. Responses will be more generic, with lower token costs.
* **Medium Level:** Offers a balance between contextual information and token cost.
* **High Level:** ChatGPT will have access to more details about the company and the customer, providing more personalized and relevant responses. However, this increases token usage and may impact response time.

**Advantage of the high level:** Allows ChatGPT to understand information such as company policies, products offered, and customer preferences, resulting in more satisfying interactions.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FtKc8r44NuroMUKSC7UrO%2Fimage.png?alt=media&amp;token=0b3ff348-683f-4f79-8a2d-88f87455ea7f" alt=""><figcaption></figcaption></figure>

**Note:** A "token" is a unit of text used by the model to process input and generate responses. For example, the word "chatbot" is equivalent to one token.

***

### How to Choose the Best Setting?

The choice of temperature and contextualization level depends on the goal of the interaction. Here are some recommendations:

* **High Temperature + Medium/High Contextualization Level:** Ideal for creative campaigns or more human interactions, such as marketing or general support.
* **Low Temperature + Low/Medium Contextualization Level:** Recommended for FAQs or processes where accuracy and consistency are essential, such as technical support.
* **High Temperature + Low Contextualization Level:** Useful for brainstorming or exploring ideas without many contextual restrictions.
* **Low Temperature + High Contextualization Level:** Excellent for personalized interactions that require accuracy based on specific customer data.

***

### Final Considerations

Temperature and contextualization level are powerful tools for shaping the interaction between ChatGPT and users. Try different settings and analyze the results to find the ideal balance for your use case.

At SprintHub, these options are available in the model settings, allowing you to adapt the artificial intelligence to your business’s specific needs.

If you have any questions or would like more practical examples, contact our support team.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.sprinthub.com/en/topics/artificial-intelligence/ai-agents/legacy-ai-agents-notice/strategies/how-temperature-and-contextualization-level-work-in-chatgpt.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
