# Using whisper.cpp

You can find the full whisper.cpp documentation [here](https://github.com/ggerganov/whisper.cpp/blob/master/README.md).

### Step 1 - Clone the repo

```bash
git clone https://github.com/ggerganov/whisper.cpp
cd whisper.cpp
```

### Step 2 - Download the model

```bash
./models/download-ggml-model.sh base.en
```

### Step 3 - Build the server

```bash
make server
```

### Step 4 - Run the server

```bash
./server -m models/ggml-base.en.bin
```

### Step 5 - Enable the server in the client

```md
settings -> Speech-to-text -> STT Backend -> Whisper.cpp
```


---

# 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.heyamica.com/connecting-microphone-options-stt/using-whispercpp.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.
