You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.3 KiB
52 lines
1.3 KiB
---
|
|
title: "Custom Hardware"
|
|
description: "Control 01 from your own device"
|
|
---
|
|
|
|
You can create custom hardware that integrates with the O1 server software running on your computer.
|
|
|
|
To use 01 with your custom hardware, run the livekit server and connect to the "Livekit is running at..." URL that is displayed:
|
|
|
|
```bash
|
|
poetry run 01 --server livekit
|
|
```
|
|
|
|
Or, run the light server and connect to the URL that is displayed:
|
|
|
|
```bash
|
|
poetry run 01 --server light
|
|
```
|
|
|
|
You may need to set additional parameters via [flags](/software/flags) depending on your setup.
|
|
|
|
---
|
|
|
|
# Usage
|
|
|
|
## Light Server
|
|
|
|
When using the light server, to transmit audio commands to 01, send LMC audio chunks to the websocket defined by your server.
|
|
|
|
### LMC Messages
|
|
|
|
To support the incoming `L`anguage `M`odel `C`omputer architecture, we extend OpenAI's messages format to include additional information, and a new role called `computer`:
|
|
|
|
<Card
|
|
title="LMC"
|
|
icon="link"
|
|
href="https://docs.openinterpreter.com/protocols/lmc-messages"
|
|
>
|
|
Read about LMC messages protocol here.
|
|
</Card>
|
|
|
|
## Livekit Server
|
|
|
|
When using the Livekit server, any of Livekit's SDKs will connect.
|
|
|
|
<Card
|
|
title="Explore Livekit SDKs"
|
|
icon="code"
|
|
href="https://docs.livekit.io/client-sdk-js/"
|
|
>
|
|
Find documentation and integration guides for all Livekit SDKs.
|
|
</Card> |