# Text Generation

## Features

1. **Model Selection**: **Yotta Labs AI Explorer** offers several model choices to suit different text generation requirements, such as:
   * **Llama 3.1 8B Instruct**: A robust model designed for detailed text generation, perfect for complex creative tasks.
   * **Llama 3.2 3B Instruct**: A lighter model that balances speed and performance.
   * **Mistral 7B Instruct**: A more advanced model tailored for specialized text generation, providing greater processing power.
2. **Adjustable Parameters**: Once a model is selected, you can fine-tune the generated output with the following parameters:
   * **Temperature**: Controls the randomness of the response. Lower values generate more deterministic outputs, while higher values encourage creativity and unpredictability.
   * **Top P**: Adjusts the diversity of the output. A higher value promotes more creative and diverse content.
   * **Max Tokens**: Limits the number of tokens (words/characters) the model generates in a single response.
   * **Frequency Penalty**: Reduces the likelihood of repeating words or phrases within the generated text.
   * **Presence Penalty**: Encourages the model to introduce new concepts, preventing monotony.
   * **Repetition Penalty**: Further discourages repetition of phrases, ensuring that the generated content remains varied and fresh.
3. **Text Generation**: Users can input a **system prompt** to guide the model’s text generation. This can range from simple instructions to complex creative tasks, enabling the generation of tailored content like stories, articles, or professional text.
4. **Flexible Usage**: Whether you're working on content creation, idea exploration, or integrating AI into your project, **Yotta Labs AI Explorer** provides unlimited possibilities. Customize the output settings and generate text that fits your specific needs, from structured responses to highly creative outputs.

<figure><img src="/files/0oGSxwcMaJ4Xen5RIA9e" alt=""><figcaption><p>AI Explorer / Text</p></figcaption></figure>

<figure><img src="/files/WwleYv7gdQfU2xKmlkda" alt=""><figcaption><p>choose a AI text model</p></figcaption></figure>

<figure><img src="/files/v5pxb9MB9ImGs7bPZ5yb" alt=""><figcaption><p>Input text to text</p></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://docs.yottalabs.ai/products/ai-explorer/text-generation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
