Skip to content

Commit

Permalink
docs: update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
WqyJh committed Nov 4, 2024
1 parent 94de5a4 commit 51c9807
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/WqyJh/go-openai-realtime/examples
go 1.19

require (
github.com/WqyJh/go-openai-realtime v0.2.0-beta.2
github.com/WqyJh/go-openai-realtime v0.3.0-alpha
github.com/faiface/beep v1.1.0
github.com/gordonklaus/portaudio v0.0.0-20230709114228-aafa478834f5
github.com/sashabaranov/go-openai v1.32.0
Expand Down
4 changes: 2 additions & 2 deletions examples/go.sum
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
github.com/DATA-DOG/go-sqlmock v1.3.3/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM=
github.com/WqyJh/go-openai-realtime v0.2.0-beta.2 h1:4xD7O/IN5dQD2gKsiPzP1Prdu5HtCy25CChXep9kaIs=
github.com/WqyJh/go-openai-realtime v0.2.0-beta.2/go.mod h1:nmUYODacQuObuh0DFSEIDfJM9L4ZFDRU/OEGYMryt60=
github.com/WqyJh/go-openai-realtime v0.3.0-alpha h1:2IDh9xm3VLAXnmOtbOhv2/ytMceJYgj7Cw0e1TbqBpY=
github.com/WqyJh/go-openai-realtime v0.3.0-alpha/go.mod h1:nmUYODacQuObuh0DFSEIDfJM9L4ZFDRU/OEGYMryt60=
github.com/coder/websocket v1.8.12 h1:5bUXkEPPIbewrnkU8LTCLVaxi4N4J8ahufH2vlo4NAo=
github.com/coder/websocket v1.8.12/go.mod h1:LNVeNrXQZfe5qhS9ALED3uA+l5pPqvwXg3CKoDBB2gs=
github.com/d4l3k/messagediff v1.2.2-0.20190829033028-7e0a312ae40b/go.mod h1:Oozbb1TVXFac9FtSIxHBMnBCq2qeH/2KkEQxENCrlLo=
Expand Down
2 changes: 1 addition & 1 deletion examples/text-only/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This is a simple example that demonstrates how to use the go-openai-realtime lib

```bash
export OPENAI_API_KEY=<your openai api key>
export HTTP_PROXY=<your socks proxy> # this optional
export HTTPS_PROXY=<your socks proxy like: socks5://127.0.0.1:1080> # this optional
go run .
```

Expand Down
2 changes: 1 addition & 1 deletion examples/voice/text-voice/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ apt-get install portaudio19-dev

```bash
export OPENAI_API_KEY=<your openai api key>
export HTTP_PROXY=<your socks proxy> # this optional
export HTTPS_PROXY=<your socks proxy like: socks5://127.0.0.1:1080> # this optional
go run .
```

Expand Down
2 changes: 1 addition & 1 deletion examples/voice/voice-voice/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ apt-get install portaudio19-dev

```bash
export OPENAI_API_KEY=<your openai api key>
export HTTP_PROXY=<your socks proxy> # this optional
export HTTPS_PROXY=<your socks proxy like: socks5://127.0.0.1:1080> # this optional
go run .
```

Expand Down

0 comments on commit 51c9807

Please sign in to comment.