# LectraBrain

Intellectra enables you to add a customizable AI learning assistant (AKA LectraBrain) to your lessons, enhancing your students' learning experience by providing immediate answers to course-related questions and reducing the need for human intervention.

<div align="left"><figure><img src="/files/LdHUrweIiv0TAZ3fp8sE" alt="" width="320"><figcaption></figcaption></figure></div>

***

## 🤖 Enabling LectraBrain

1. Navigate to the lesson where you want to activate LectraBrain.
2. Edit the lesson and paste your video script or detailed content information into the **Lesson Script** field to ensure that the AI comprehends the content and can provide relevant answers in alignment with the lesson.

{% hint style="info" %}
While adding a description of the lesson's content is an option, providing the entire lesson's script enhances the AI's understanding and ability to deliver pertinent responses.
{% endhint %}

{% hint style="info" %}
Tip: If you recorded your lesson without a script, you can upload the video to a video-to-text conversion tool such as veed.io to obtain its script.
{% endhint %}

3. Click **Save**.

<div align="left"><figure><img src="/files/s7IborFojQwz34XKe4Fm" alt="" width="538"><figcaption></figcaption></figure></div>

***

## 🛠️ Customizing Your AI

1. Navigate to the **LectraBrain** page on the left sidebar.
2. Customize the AI by:
   * Uploading an Avatar.
   * Giving it a name.
   * Adding an attention grabber.
   * Crafting an initial message.
   * Setting behavior preferences.

{% hint style="info" %}
In the behavior preferences, you can choose its tone, language, and what it says or can't say. For example, you can instruct it to provide links to additional resources or not to answer questions that were not covered during the lesson.
{% endhint %}

3. Click **Save**.

<div align="left"><figure><img src="/files/Z1iKe8iEtLBB5t0Y2RHC" alt="" width="471"><figcaption></figcaption></figure></div>


---

# 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://help.intellectra.io/manual/lectrabrain.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.
