> For the complete documentation index, see [llms.txt](https://ai-assistant.sunbird.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ai-assistant.sunbird.org/get-started-with-ai-assistant/configuration.md).

# Configuration

### Configurations Configuring the Services

#### Functional configuration

#### sakhi-api-service

Sakhi Service enables configuration such as defining the indexes from where the documents are to be retrieved for a given context (parent, teacher, etc.) from Marqo, defining the bot behaviour through prompt, etc.&#x20;

A detailed set of configurations is captured here:&#x20;

{% embed url="<https://github.com/Sunbird-AIAssistant/sakhi-api-service/tree/main?tab=readme-ov-file#5-configuration-configini>" %}

**Configuration file:**

{% embed url="<https://github.com/Sunbird-AIAssistant/sakhi-api-service/blob/main/config.ini>" %}

#### **sakhi-telegram-unified-service**

Sakhi Telegram Service can be configured with the set of welcome messages to be shown to the user on Telegram, languages supported, set of bots supported (one bot for each context/persona) etc.

**Configuration file:**

{% embed url="<https://github.com/Sunbird-AIAssistant/sakhi-telegram-unified-service/blob/main/config.py>" %}

{% hint style="info" %}
**Note**: As currently these functional configuration files are inside the image that is created, the changes either need to be added when the image is built or needs to be overridden when the container is created.
{% endhint %}

### System configurations

The System configuration is specified in the respective repository as given below.

{% embed url="<https://github.com/Sunbird-AIAssistant/story-api-service?tab=readme-ov-file#5-conf>" %}

**sakhi-api-service**\
Refer to point#5 of the instructions given&#x20;

{% embed url="<https://github.com/Sunbird-AIAssistant/sakhi-api-service>" %}

**sakhi-telegram-unified-service**\
Refer to point#4 of the instructions given&#x20;

{% embed url="<https://github.com/Sunbird-AIAssistant/sakhi-telegram-unified-service>" %}

**whatsapp-bot**

{% embed url="<https://github.com/Sunbird-AIAssistant/whatsapp-bot?tab=readme-ov-file#3-configuration>" %}


---

# 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://ai-assistant.sunbird.org/get-started-with-ai-assistant/configuration.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.
