Skip to content

Commit

Permalink
chore(): adjust openai realtime model
Browse files Browse the repository at this point in the history
  • Loading branch information
sunshinexcode committed Dec 18, 2024
1 parent 7df4403 commit b1b795d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion agents/examples/default/property.json
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@
"property": {
"api_key": "${env:OPENAI_REALTIME_API_KEY}",
"temperature": 0.9,
"model": "gpt-4o-realtime-preview",
"model": "gpt-4o-realtime-preview-2024-12-17",
"max_tokens": 2048,
"voice": "alloy",
"language": "en-US",
Expand Down
4 changes: 2 additions & 2 deletions agents/examples/demo/property.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@
"property": {
"api_key": "${env:OPENAI_REALTIME_API_KEY}",
"temperature": 0.9,
"model": "gpt-4o-realtime-preview",
"model": "gpt-4o-realtime-preview-2024-12-17",
"max_tokens": 2048,
"voice": "alloy",
"language": "en-US",
Expand Down Expand Up @@ -559,7 +559,7 @@
"property": {
"api_key": "${env:OPENAI_REALTIME_API_KEY}",
"temperature": 0.9,
"model": "gpt-4o-realtime-preview",
"model": "gpt-4o-realtime-preview-2024-12-17",
"max_tokens": 2048,
"audio_out": false,
"input_transcript": false,
Expand Down
6 changes: 3 additions & 3 deletions agents/examples/experimental/property.json
Original file line number Diff line number Diff line change
Expand Up @@ -2417,7 +2417,7 @@
"property": {
"api_key": "${env:OPENAI_REALTIME_API_KEY}",
"temperature": 0.9,
"model": "gpt-4o-realtime-preview",
"model": "gpt-4o-realtime-preview-2024-12-17",
"max_tokens": 2048,
"voice": "alloy",
"language": "en-US",
Expand Down Expand Up @@ -2538,7 +2538,7 @@
"property": {
"api_key": "${env:OPENAI_REALTIME_API_KEY}",
"temperature": 0.9,
"model": "gpt-4o-realtime-preview",
"model": "gpt-4o-realtime-preview-2024-12-17",
"max_tokens": 2048,
"audio_out": false,
"input_transcript": false,
Expand Down Expand Up @@ -2697,7 +2697,7 @@
"property": {
"api_key": "${env:OPENAI_REALTIME_API_KEY}",
"temperature": 0.9,
"model": "gpt-4o-realtime-preview",
"model": "gpt-4o-realtime-preview-2024-12-17",
"max_tokens": 2048,
"voice": "alloy",
"language": "en-US",
Expand Down
4 changes: 2 additions & 2 deletions demo/src/app/api/agents/start/graph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export const getGraphProperties = (
} else if (graphName == "va_openai_v2v") {
return {
"v2v": {
"model": "gpt-4o-realtime-preview",
"model": "gpt-4o-realtime-preview-2024-12-17",
"voice": voiceNameMap[language]["openai"][voiceType],
"language": language,
"prompt": prompt,
Expand All @@ -150,7 +150,7 @@ export const getGraphProperties = (
} else if (graphName == "va_openai_v2v_fish") {
return {
"v2v": {
"model": "gpt-4o-realtime-preview",
"model": "gpt-4o-realtime-preview-2024-12-17",
"voice": voiceNameMap[language]["openai"][voiceType],
"language": language,
"prompt": prompt,
Expand Down

0 comments on commit b1b795d

Please sign in to comment.