Skip to content

Commit

Permalink
new test cases added to support async calls for sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
csgulati09 committed Feb 8, 2024
1 parent c0a18ee commit b82a9dd
Show file tree
Hide file tree
Showing 19 changed files with 927 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"targets": [
{
"provider": "openai",
"virtual_key": "open-ai-apikey-3368e0"
"virtual_key": "vdkey-ff9e7c"
},
{
"strategy": {
Expand All @@ -17,10 +17,10 @@
},
"targets": [
{
"virtual_key": "anthropic-419f08"
"virtual_key": "vdanthropic-87ad2c"
},
{
"virtual_key": "open-ai-apikey-3368e0"
"virtual_key": "vdkey-ff9e7c"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"targets": [
{
"provider": "openai",
"virtual_key": "open-ai-apikey-3368e0"
"virtual_key": "vdkey-ff9e7c"
},
{
"strategy": {
Expand All @@ -17,10 +17,10 @@
},
"targets": [
{
"virtual_key": "anyscale-c24b93"
"virtual_key": "vdanyscale-354c5b"
},
{
"virtual_key": "open-ai-apikey-3368e0"
"virtual_key": "vdkey-ff9e7c"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"targets": [
{
"provider": "openai",
"virtual_key": "open-ai-apikey-3368e0"
"virtual_key": "vdkey-ff9e7c"
},
{
"strategy": {
Expand All @@ -20,7 +20,7 @@
"virtual_key": "azure-api-key-993da0"
},
{
"virtual_key": "open-ai-apikey-3368e0"
"virtual_key": "vdkey-ff9e7c"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
},
"targets": [
{
"virtual_key": "open-ai-apikey-3368e0"
"virtual_key": "vdkey-ff9e7c"
},
{
"strategy": {
Expand All @@ -16,10 +16,10 @@
},
"targets": [
{
"virtual_key": "cohere-api-key-fffe27"
"virtual_key": "vdcohere-1402b0"
},
{
"virtual_key": "open-ai-apikey-3368e0"
"virtual_key": "vdkey-ff9e7c"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"targets": [
{
"provider": "openai",
"virtual_key": "open-ai-apikey-3368e0"
"virtual_key": "vdkey-ff9e7c"
},
{
"provider": "anthropic",
"virtual_key": "anthropic-419f08"
"virtual_key": "vdanthropic-87ad2c"
}
]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"provider": "openai",
"virtual_key": "open-ai-apikey-3368e0"
"virtual_key": "vdkey-ff9e7c"
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"virtual_key": "open-ai-apikey-3368e0",
"virtual_key": "vdkey-ff9e7c",
"cache": {
"mode": "semantic",
"max_age": 60
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"virtual_key": "open-ai-apikey-3368e0"
"virtual_key": "vdkey-ff9e7c"
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"targets": [
{
"provider": "openai",
"virtual_key": "open-ai-apikey-3368e0"
"virtual_key": "vdkey-ff9e7c"
},
{
"strategy": {
Expand All @@ -17,10 +17,10 @@
},
"targets": [
{
"virtual_key": "anthropic-419f08"
"virtual_key": "vdanthropic-87ad2c"
},
{
"virtual_key": "open-ai-apikey-3368e0"
"virtual_key": "vdkey-ff9e7c"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"targets": [
{
"provider": "openai",
"virtual_key": "open-ai-apikey-3368e0"
"virtual_key": "vdkey-ff9e7c"
},
{
"strategy": {
Expand All @@ -17,10 +17,10 @@
},
"targets": [
{
"virtual_key": "anyscale-c24b93"
"virtual_key": "vdanyscale-354c5b"
},
{
"virtual_key": "open-ai-apikey-3368e0"
"virtual_key": "vdkey-ff9e7c"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"targets": [
{
"provider": "openai",
"virtual_key": "open-ai-apikey-3368e0"
"virtual_key": "vdkey-ff9e7c"
},
{
"strategy": {
Expand All @@ -20,7 +20,7 @@
"virtual_key": "azure-api-key-993da0"
},
{
"virtual_key": "open-ai-apikey-3368e0"
"virtual_key": "vdkey-ff9e7c"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
},
"targets": [
{
"virtual_key": "open-ai-apikey-3368e0"
"virtual_key": "vdkey-ff9e7c"
},
{
"strategy": {
Expand All @@ -16,10 +16,10 @@
},
"targets": [
{
"virtual_key": "cohere-api-key-fffe27"
"virtual_key": "vdcohere-1402b0"
},
{
"virtual_key": "open-ai-apikey-3368e0"
"virtual_key": "vdkey-ff9e7c"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"targets": [
{
"provider": "openai",
"virtual_key": "open-ai-apikey-3368e0"
"virtual_key": "vdkey-ff9e7c"
},
{
"provider": "anthropic",
"virtual_key": "anthropic-419f08"
"virtual_key": "vdanthropic-87ad2c"
}
]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"provider": "openai",
"virtual_key": "open-ai-apikey-3368e0"
"virtual_key": "vdkey-ff9e7c"
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"virtual_key": "open-ai-apikey-3368e0",
"virtual_key": "vdkey-ff9e7c",
"cache": {
"mode": "semantic",
"max_age": 60
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"virtual_key": "open-ai-apikey-3368e0"
"virtual_key": "vdkey-ff9e7c"
}
10 changes: 1 addition & 9 deletions tests/models.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,7 @@
"gpt-4-0613"
],
"text": [
"gpt-3.5-turbo-instruct",
"text-davinci-003",
"text-davinci-002",
"text-curie-001",
"text-babbage-001",
"text-ada-001",
"babbage-002",
"davinci-002",
"text-davinci-001"
"gpt-3.5-turbo-instruct"
]
},
"anyscale": {
Expand Down
Loading

0 comments on commit b82a9dd

Please sign in to comment.