# SST/TTS 활용하기

* STT(Speech-to-Text)는 사용자의 음성 입력을 텍스트 데이터로 변환하며, TTS(Text-to-Speech)는 텍스트 정보를 음성으로 변환해주는 기능입니다.
* 해당 기능은 채팅 내에서 사용할 수 있습니다. 애플리케이션 > 채팅 > 상세 > 플러그인 탭에서 제공됩니다.
* 재배포 없이 배포된 상태에서 설정 후 저장 시, 해당 채팅에 바로 적용됩니다. 채팅 진행 중에 설정 변경 시, 새로고침이 필요합니다.

##

## STT 활성화

* 플러그인 탭 내에서 **'STT 활성화' 토글 버튼**을 ON으로 설정한 뒤, 저장해줍니다.

<figure><img src="/files/KjcruphGhemtDm1uNHGP" alt=""><figcaption></figcaption></figure>

* 설정 후 사용자 페이지 > 채팅에서 해당 채팅 진입 시, 입력란 내에 **마이크 버튼**이 생기게 됩니다.

<figure><img src="/files/wzYYNcWcD2IzdJk70Apy" alt=""><figcaption></figcaption></figure>

* 마이크 버튼 클릭 시, 음성 인식을 시작합니다. 음성으로 말한 뒤에 **v 체크 버튼** 클릭 시, 음성 인식이 완료 됩니다.
* **X 버튼** 클릭 시, 음성 인식이 취소됩니다.

<figure><img src="/files/knzHjMk5cDuqWQC59sD0" alt=""><figcaption></figcaption></figure>

##

## TTS 활성화

* 플러그인 탭 내에서 **'TTS 활성화' 토글 버튼**을 ON으로 설정한 뒤, 저장해줍니다.

<figure><img src="/files/OnxJAMoOaCS5NBD5X3no" alt=""><figcaption></figcaption></figure>

* 설정 후 사용자 페이지 > 채팅에서 해당 채팅 진행 시에 답변 하단에 **스피커 버튼**이 생성됩니다.

<figure><img src="/files/g028xYjddl05DLcsWy6g" alt=""><figcaption></figcaption></figure>

* 스피커 버튼 클릭 시, 답변을 음성으로 읽어줍니다. **중지 버튼** 클릭 시, 음성이 멈추게 됩니다.

  <figure><img src="/files/orv0CtrFoBA0XfewfjDZ" alt=""><figcaption></figcaption></figure>

##

## TTS 스트리밍 활성화

* 플러그인 탭 내에서 **'TTS 스트리밍 활성화' 토글 버튼**을 ON으로 설정한 뒤, 저장해줍니다.

<figure><img src="/files/wVDMT5VBSPBd0AuNmlHy" alt=""><figcaption></figcaption></figure>

* 설정 후 사용자 페이지 > 채팅 화면 진입 시, 입력창 내에 **스피커 버튼(실시간 답변읽기) 버튼**이 생성됩니다.

<figure><img src="/files/AGtJb9vWFeWYgpYfXVMI" alt=""><figcaption></figcaption></figure>

* **스피커 버튼**을 활성화 한 상태로 채팅 진행 시, 답변이 생성되면 해당 답변을 실시간 음성으로 읽어줍니다.

<figure><img src="/files/JAYbnJA7cixShonESaF5" alt=""><figcaption></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://genos-docs.gitbook.io/default/v1.7.5/basic-tutorials/guides/application/dev-chat/sst-tts.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.
