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