Skip to content

Commit

Permalink
feat: added config files for audio and moderations
Browse files Browse the repository at this point in the history
  • Loading branch information
csgulati09 committed May 18, 2024
1 parent ed3cf01 commit 1a3fbf6
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/configs/audio/single_provider/single_provider.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"virtual_key": "openai-virtual-key"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"virtual_key": "openai-virtual-key",
"cache": {
"mode": "semantic",
"max_age": 60
},
"retry": {
"attempts": 5,
"on_status_codes": [
429
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"virtual_key": "openai-virtual-key"
}
Binary file added tests/configs/audio/speech.mp3
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"virtual_key": "openai-virtual-key"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"virtual_key": "openai-virtual-key",
"cache": {
"mode": "semantic",
"max_age": 60
},
"retry": {
"attempts": 5,
"on_status_codes": [
429
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"virtual_key": "openai-virtual-key"
}

0 comments on commit 1a3fbf6

Please sign in to comment.